wblock@
Developer
This is the updated procedure to rebuild all ports with ports-mgmt/portmaster:
1.
2. Update the ports tree
3.
4.
5.
6.
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.
This is, in fact, faster and less likely to have problems than
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`
This is, in fact, faster and less likely to have problems than
portmaster -af
.