Subject: Re: removing pkgs
To: None <>
From: Wolfgang S. Rupprecht <>
List: netbsd-users
Date: 08/15/2005 13:50:44
Rick Kelly <> writes:
> Is there a clean way to remove all the packages on a system?

    cd /var/db/pkg
    pkg_delete *

I've seen cases where you have to repeat the last step once.

For yucks and grinds a find run over /usr/pkg will then find
everything that was either modified or wasn't registered correctly.

Wolfgang S. Rupprecht      
      Microsoft Vista - because "Virus Installer" was too long.