ports/176022: Portmaster man page - wrong instructions order
Ken
mobilecs at shaw.ca
Mon Feb 11 02:20:01 UTC 2013
>Number: 176022
>Category: ports
>Synopsis: Portmaster man page - wrong instructions order
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 11 02:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Ken
>Release: 7.4+
>Organization:
Mobile Computer Service
>Environment:
FreeBSD localhost.localdomain 7.4-RELEASE-p3 FreeBSD 7.4-RELEASE-p3 #0: Tue Sep 27 15:04:44 UTC 2011 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Is it not too late to do step #8 - since step #6 has already deleted all of that information?
Using portmaster to do a complete reinstallation of all your ports:
1. portmaster --list-origins > ~/installed-port-list
2. Update your ports tree
3. portmaster -ty --clean-distfiles
4. portmaster --check-port-dbdir
5. portmaster -Faf
6. pkg_delete -a
7. rm -rf /usr/local/lib/compat/pkg
8. Back up any files in /usr/local you wish to save, such as configuration files in /usr/local/etc
9. Manually check /usr/local and /var/db/pkg to make sure that they are really empty
10. Re-install portmaster
11. portmaster `cat ~/installed-port-list`
>How-To-Repeat:
>Fix:
I feel step #6 and #8 need to be switched around.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list