Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2012 18:04:11 +0100
From:      Kurt Jaeger <lists@opsec.eu>
To:        freebsd-ports@freebsd.org
Subject:   Re: portupgrade -> portmaster after freebsd-update
Message-ID:  <20120303170411.GL44287@home.opsec.eu>
In-Reply-To: <4F521BB8.1040102@glemsk.net>
References:  <4F521BB8.1040102@glemsk.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> What is the proper portmaster commands in relation to freebsd-update?
[...]

The portmaster man page lists the following list of commands in the
EXAMPLES section:

     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`

-- 
pi@opsec.eu            +49 171 3101372                         8 years to go !



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