|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
cvsup upgrading/updating ports tree
i run in ports directory
i run cd /usr/ports make update fetchindex cd /usr/src make update make buildworld make buildkernel make installkernel fastboot mergemaster -p make installworld mergemaster fastboot portsfile Code:
*default host=cvsup3.nl.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress ports-all Code:
*default host=cvsup4.nl.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7_0 *default delete use-rel-suffix *default compress src-all |
|
|||
All you're doing to the ports tree in the above is updating the makefiles from the repository. To actually upgrade/update the packages you've installed from the ports tree is to use portupgrade or portmaster or another tool such as that.
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident! |
|
|||
The output of make update is just that it adds edits removes files from /usr/ports .. afterwards i do make fetchindex, ..
Yes but when i have to update kernel and such i would want it to work, i shouldn't have to run portupgrade afterwards, of course I'm aware of portupgrade, I'm also aware of portsnap fetch update .. |
|
|||
The kernel/world are completely seperate from ports. Updating kernel/world won't update ports, and vice-versa. Building the "world" only builds the base operating system. Anything you install from ports is 3rd party and not part of the base operating system.
So yes, you do have to use some other method to manage your ports installations. I'd recommend portmaster as it's a simple shell script, nothing fancy that requires a heavy depend. like ruby (*cough* portupgrade *cough*).
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident! |
|
||||
updating kernel and world updates the userland and kernel.
ports == third party packages outside of FreeBSD source tree that's why it doesn't work the same way ;-)
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is the source tree frozen until Nov 1st? | lionsong | OpenBSD General | 6 | 7th October 2009 07:22 PM |
STABLE ports tree has returned.. | BSDfan666 | OpenBSD Packages and Ports | 2 | 26th July 2009 07:36 PM |
CVSup src-all update and relevant ports | vigol | FreeBSD Installation and Upgrading | 5 | 20th November 2008 06:34 AM |
Upgrading and rebuilding ALL packages/ports | chill | FreeBSD Ports and Packages | 8 | 16th June 2008 04:55 AM |
Upgrading /usr/ports | ClaptonOrient | FreeBSD Installation and Upgrading | 11 | 12th May 2008 10:17 AM |