Date: Thu, 09 May 2013 09:34:50 +0200 From: Leslie Jensen <leslie@eskk.nu> To: "freebsd-questions@FreeBSD.org" <freebsd-questions@freebsd.org> Subject: Are the procedure with portmaster exactly the same when one is using pkgng Message-ID: <518B519A.5020107@eskk.nu>
next in thread | raw e-mail | index | archive | help
I'm specifically thinking of the directories that has to be emptied or deleted. Thanks /Leslie -------------------------------------------------------------------- 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` ---------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?518B519A.5020107>