Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2015 08:50:21 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: remove all installed packages
Message-ID:  <20151209075021.GA1746@c720-r285885-amd64>
In-Reply-To: <20151208232227.GA65909@neutralgood.org>
References:  <20151208200303.GA2194@c720-r285885-amd64> <CADV=szWo+GWqaPV_yia=9hCUt0-b-EB-QC_QW0w3y6nRzC21wQ@mail.gmail.com> <20151208202917.GA2269@c720-r285885-amd64> <20151208232227.GA65909@neutralgood.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
El día Tuesday, December 08, 2015 a las 06:22:27PM -0500, kpneal@pobox.com escribió:

> On Tue, Dec 08, 2015 at 09:29:17PM +0100, Matthias Apitz wrote:
> > El día Tuesday, December 08, 2015 a las 12:21:54PM -0800, Brian W. escribió:
> > 
> > > 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.
> > 
> > Sorry, I was asking to remove completely all ports installed with
> > pkg(8), and this in a fast way w/o going through all dependencies; just
> > to prepare for a complete fresh installation.
> 
> It also deletes any customized configuration files in "/usr/local/etc".
> 
> If you must go this route then make a point of not accidentally deleting
> something you'll have wanted to keep.

I maintain a list of all modified or added files below /usr/local, and
based on this backups of them;

thanks for all hints, yours and others;

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/  ☎ +49-176-38902045



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20151209075021.GA1746>