remove all installed packages

Brian W. brian at brianwhalen.net
Tue Dec 8 20:45:02 UTC 2015


Do a cd to /var/db/pkg and then pkg_del * should work if it is the old pkg
system.
On Dec 8, 2015 12:29 PM, "Matthias Apitz" <guru at unixarea.de> wrote:

> El día Tuesday, December 08, 2015 a las 12:21:54PM -0800, Brian W.
> escribió:
>
> > That /usr/local rm is gross overkill. If you have the old pkg system an
> ls
> > of /var/db/pkg with the results sent to pkg_del would work.
>
> Sorry, I was asking to remove completely all ports installed with
> pkg(8), and this in a fast way w/o going through all dependencies; just
> to prepare for a complete fresh installation.
>
>         matthias
> --
> Matthias Apitz, ✉ guru at unixarea.de, 🌐 http://www.unixarea.de/> +49-176-38902045
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list