remove all installed packages

Brian W. brian at brianwhalen.net
Tue Dec 8 20:21:56 UTC 2015


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.

Brian
On Dec 8, 2015 12:03 PM, "Matthias Apitz" <guru at unixarea.de> wrote:

>
> Hello,
>
> Is it enough to remove all installed packages, just doing
>
> # rm -f /usr/local/*
> # rm -f /var/db/pkg/*
>
> Anything else?
>
> Thanks
>
>         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