Lines 24-30
Link Here
|
24 |
.\" |
24 |
.\" |
25 |
.\" $FreeBSD$ |
25 |
.\" $FreeBSD$ |
26 |
.\" |
26 |
.\" |
27 |
.Dd December 12, 2011 |
27 |
.Dd June 18, 2014 |
28 |
.Dt PORTMASTER 8 |
28 |
.Dt PORTMASTER 8 |
29 |
.Os |
29 |
.Os |
30 |
.Sh NAME |
30 |
.Sh NAME |
Lines 835-854
Link Here
|
835 |
.Pp |
835 |
.Pp |
836 |
Using |
836 |
Using |
837 |
.Nm |
837 |
.Nm |
838 |
to do a complete reinstallation of all your ports: |
838 |
to do a complete reinstallation of all ports: |
839 |
.Dl "1. portmaster --list-origins > ~/installed-port-list" |
839 |
.Dl "1. portmaster --list-origins > ~/installed-port-list" |
840 |
.Dl "2. Update your ports tree" |
840 |
.Dl "2. Update the ports tree" |
841 |
.Dl "3. portmaster -ty --clean-distfiles" |
841 |
.Dl "3. portmaster -ty --clean-distfiles" |
842 |
.Dl "4. portmaster --check-port-dbdir" |
842 |
.Dl "4. portmaster -Faf" |
843 |
.Dl "5. portmaster -Faf" |
843 |
.Dl "5. pkg_delete -afy" |
844 |
.Dl "6. pkg_delete -a" |
844 |
.Dl "6. rm -rf /usr/local/lib/compat/pkg" |
845 |
.Dl "7. rm -rf /usr/local/lib/compat/pkg" |
845 |
.Dl "7. Back up any files in /usr/local you wish to save," |
846 |
.Dl "8. Back up any files in /usr/local you wish to save," |
|
|
847 |
.Dl " such as configuration files in /usr/local/etc" |
846 |
.Dl " such as configuration files in /usr/local/etc" |
848 |
.Dl "9. Manually check /usr/local and /var/db/pkg" |
847 |
.Dl "8. Manually check /usr/local and /var/db/pkg" |
849 |
.Dl " to make sure that they are really empty" |
848 |
.Dl " to make sure that they are really empty" |
850 |
.Dl "10. Re-install portmaster" |
849 |
.Dl "9. Install ports-mgmt/pkg and then ports-mgmt/portmaster." |
851 |
.Dl "11. portmaster `cat ~/installed-port-list`" |
850 |
.Dl " Remove both from ~/installed-port-list." |
|
|
851 |
.Dl "10. portmaster --no-confirm `cat ~/installed-port-list`" |
852 |
.Pp |
852 |
.Pp |
853 |
You probably want to use the -D option for the installation |
853 |
You probably want to use the -D option for the installation |
854 |
and then run --clean-distfiles [-y] again when you are done. |
854 |
and then run --clean-distfiles [-y] again when you are done. |