NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Necessity of rebuilding pkgsrc after updating the system



On August 20, 2015 10:45:21 AM EDT, Pongthep Kulkrisada <ptkrisada%gmail.com@localhost> wrote:
>* Rhialto (rhialto%falu.nl@localhost) wrote:
>> and after removing everything, pkg_chk -a would rebuild them.
>How to remove everything (i.e. remove pkgs listed in
>/usr/pkgsrc/pkgchk.conf)?
>I have checked pkg_chk(8) man page. But I didn't find it.
>
>Thank you,

This should do it:
pkg_delete \*

Or you can try rm -rf on /usr/pkg and /var/db/pkg, but that might leave droppings around in other places, and will of course erase any config (or other) files you have in /usr/pkg/etc.

Eric



Home | Main Index | Thread Index | Old Index