Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2013 02:12:36 GMT
From:      Ken <mobilecs@shaw.ca>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/176022: Portmaster man page - wrong instructions order
Message-ID:  <201302110212.r1B2CaBQ031971@red.freebsd.org>
Resent-Message-ID: <201302110220.r1B2K15W082792@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302110212.r1B2CaBQ031971>