f496
![]() |
|
|
|
|
|||||||
| Installing & Upgrading Installing and upgrading FreeBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi
I'm running FreeBSD 8.2-RELEASE-p3, and now I'm trying to upgrade all programs installed via ports on my system. I have done portsnap fetch && portsnap update without problem. When I try to run portupgrade -aPc I eventually get this error: Code:
---> Checking for the latest package of 'security/openvpn' ---> Fetching the package(s) for 'openvpn-2.2.1_1' (security/openvpn) ---> Fetching openvpn-2.2.1_1 fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/openvpn-2.2.1_1.tbz: Syntax error, command unrecognized ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/openvpn-2.2.1_1.tbz fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/openvpn-2.2.1_1.txz: Syntax error, command unrecognized ** The command returned a non-zero exit status: 1 Browsing ftp.freebsd.org I find the binary package that portupgrade is looking for in: /pub/FreeBSD/ports/i386/packages-9-current/All I then try to set both PACKAGESITE and PKG_PATH to: ftp://ftp.freebsd.org//pub/FreeBSD/p...-9-current/All but this doesn't change anything. Portupgrade still looks in 8.2 directory. Is my ports directory somehow synced to the version 9 of FreeBSD? Can I sync it back to 8.2? Or can I somehow make portupgrade look in the version 9 directory? Thanks in advance. Last edited by DutchDaemon; October 15th, 2011 at 21:16. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#2
|
||||
|
||||
|
You don't want to run FreeBSD 9 packages on a FreeBSD 8 system. They're compiled against system libraries you don't have.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
| The Following User Says Thank You to DutchDaemon For This Useful Post: | ||
RogerRoger (October 15th, 2011) | ||
|
#3
|
|||
|
|||
|
Makes sense.
Any idea how to downgrade the port tree to version 8.2? I looked through the man page for portsnap and /etc/portsnap.conf but couldn't find any info on changing versions. Last edited by DutchDaemon; October 16th, 2011 at 00:06. |
|
#4
|
||||
|
||||
|
The ports tree is the same for every version of FreeBSD, i.e. there is only one. Since ports are compiled, you're compiling them on the FreeBSD you currently have. against the libraries you currently have, which is why the ports tree itself can be "version-less". In other words, a
portsnap fetch extract will check out and installl a perfectly usable ports tree, and portsnap fetch update will keep it up to date thereafter.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
| The Following User Says Thank You to DutchDaemon For This Useful Post: | ||
RogerRoger (October 16th, 2011) | ||
|
#5
|
|||
|
|||
|
Does that mean that two packages (.tbz files) can be different because they are compiled on different BSD versions but still have the same version number and thus the exact same name?
|
|
#6
|
||||
|
||||
|
Yes.
E.g. ftp://ftp.freebsd.org/pub/FreeBSD/po...nd98-9.8.1.tbz ftp://ftp.freebsd.org/pub/FreeBSD/po...nd98-9.8.1.tbz
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
| The Following User Says Thank You to DutchDaemon For This Useful Post: | ||
RogerRoger (October 16th, 2011) | ||
![]() |
| Tags |
| ports, portsnap, portupgrade, upgrade |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't find Asterisk packages in 7 and 8 stable. | bfm | Installation and Maintenance of FreeBSD Ports or Packages | 5 | March 31st, 2011 01:56 |
| [Solved] Where to find ports & packages for FreeBSD | andy8 | Installation and Maintenance of FreeBSD Ports or Packages | 4 | October 27th, 2010 00:14 |
| Problems with portupgrade and getting the most recent packages | atarahas | Installation and Maintenance of FreeBSD Ports or Packages | 2 | April 22nd, 2010 01:37 |
| [Solved] [PCBSD] Problem using portupgrade with Cmake and some KDE Packages | randy | Installation and Maintenance of FreeBSD Ports or Packages | 3 | March 1st, 2010 06:42 |
| portupgrade xorg-server failed ! | fch | Installation and Maintenance of FreeBSD Ports or Packages | 2 | January 28th, 2009 16:20 |