remove all installed packages

Erich Dollansky erichsfreebsdlist at alogt.com
Tue Dec 29 00:01:04 UTC 2015


Hi,

On Mon, 28 Dec 2015 21:28:33 +0100
Matthias Apitz <guru at unixarea.de> wrote:

> El día Tuesday, December 08, 2015 a las 02:25:55PM -0600, Adam Vande
> More escribió:
> 
> > Much depends on what is exactly installed but in general that looks
> > like a pretty terrible idea.  If you're willing to going that far,
> > just recreate the whole system.
> > 
> > Otherwise pkg delete -a  
> 
> At the end of the day, I used this 'pkg delete -a', followed by an
> additional 
> 
> # pkg delete -f pkg
> 
did you take a look at /use/local?

It should be empty if you did not install own software.

> and all was fine cleared and ready to be re-installed from the ports;
> 
This is what has to be expected.

Erich


More information about the freebsd-questions mailing list