How to uninstall pkgng

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Jun 9 18:03:29 UTC 2012


On 09/06/2012 18:46, Marcin Wisnicki wrote:
> I've made a mistake of installing pkgng on 9.0-amd64 but since there is no 
> up-to-date repository I want to remove it.
> 
> What would be the correct procedure to achieve that ?
> 
> Invoking `pkg delete -a` still leaves some files including /usr/sbin/pkg.

Not easy.  You'ld have to delete the pkg port, undo any additional
configuration you may have added to eg. /etc/make.conf (ie. remove
WITH_PKGNG settings), undo any patches to portmaster (if you're using
that) and then reinstall all your ports using the original package tools
to rebuild /var/db/pkg/ contents.

/usr/sbin/pkg is part of base nowadays.  You don't want to delete that.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120609/bb89dee8/signature.pgp


More information about the freebsd-ports mailing list