Thank you very much, Eric.

pkg_chk -g to create the list (/usr/pkgsrc/pkgchk.conf).
pkg_delete \* to remove everything.
Rebuild pkg_chk itself
pkg_chk -a -s

Those work pretty fine.

* Eric Haszlakiewicz ([email protected]) wrote:
> On August 20, 2015 10:45:21 AM EDT, Pongthep Kulkrisada <[email protected]> 
> wrote:
> >* Rhialto ([email protected]) 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
-- 
Pongthep Kulkrisada
 
"Nothing ever exists entirely alone without relativity."

Reply via email to