pkg db

Matthew Seaman matthew at FreeBSD.org
Mon Apr 17 12:50:21 UTC 2017


On 16/04/2017 10:19, Baho Utot wrote:
> I rebuilt world using 11.0-p8 source and issued make package to build
> packages.  I put them into a repository and installed them. Now I would
> like to remove them from the pkg database so I can rebuild world using
> the old method as in the manual.  How can I remove the entries in the
> pkg database and not remove the installed packages?   I don't want to
> remove the installed packages and have a non-bootable system.

You want to remove FreeBSD-base packages from your pkgdb, leaving
everything else?

Move aside your current pkgdb, initialize a new one and then reinstall
any ports.

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170417/fb2d5b7c/attachment.sig>


More information about the freebsd-questions mailing list