View Full Version : [Solved] rebuild all installed ports
ccc
August 12th, 2009, 16:19
hi
I'd like to rebuild all installed packages on my freeBSD 7.2.
Is it:portmaster -aF more effective than:
portupgrade -farR
DutchDaemon
August 12th, 2009, 16:30
Both do nothing with your ports tree. See portsnap.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-portsnap.html
ccc
August 12th, 2009, 16:43
sorry, I mean rebuild the portsystem.
SirDice
August 12th, 2009, 16:53
Read /usr/ports/UPDATING before you do anything.
DutchDaemon
August 12th, 2009, 16:56
portmaster -Raf should do fine. To speed things up, you could add flags like -BCd. See portmaster for their meaning. If you currently have any ports with warnings (from portaudit), set DISABLE_VULNERABILITIES=yes in the environment first to prevent the run from aborting when it encounters a port listed as unsafe. And yes, what SirDice said. Handle ports mentioned there separately before you do the entire run.
xiaoj
August 13th, 2009, 01:12
portupgrade -af
fender0107401
August 13th, 2009, 02:52
1.
cd /usr/src
make update
2.
cd /usr/ports/ports-mgmt/portupgrade
make deinstall
make install clean
3.
portupgrade -af
I think you shold do this, if you upgrade from one release to another.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.