Hello,
During major upgrade from 9.3-RELEASE-p49 to 10.4-RELEASE-p3, I want to "rebuild all third-party applications" using indications in examples of portmaster():
but as the ports were not upgraded since more than 1 year, during execution of
My question is: as the next step is
And is there another way to rebuild all ports more efficiently in this situation of "not uptodate" port tree?
During major upgrade from 9.3-RELEASE-p49 to 10.4-RELEASE-p3, I want to "rebuild all third-party applications" using indications in examples of portmaster():
Code:
Using portmaster to do a complete reinstallation of all ports:
1. portmaster --list-origins > ~/installed-port-list
2. Update the ports tree
3. portmaster -ty --clean-distfiles
4. portmaster -Faf
5. pkg delete -afy
6. rm -rf /usr/local/lib/compat/pkg
7. Back up any files in /usr/local you wish to save,
such as configuration files in /usr/local/etc
8. Manually check /usr/local and /var/db/pkg
to make sure that they are really empty
9. Install ports-mgmt/pkg and then ports-mgmt/portmaster.
Remove both from ~/installed-port-list.
10. portmaster --no-confirm `cat ~/installed-port-list`
portmaster -Faf
, I meet many problems (sommes ports moved, perl version has changed, etc).My question is: as the next step is
pkg delete -afy
, is it important that the step 4 goes to the end?And is there another way to rebuild all ports more efficiently in this situation of "not uptodate" port tree?