Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2015 06:23:08 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Erich Dollansky <erichsfreebsdlist@alogt.com>
Cc:        Matthias Apitz <guru@unixarea.de>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: remove all installed packages
Message-ID:  <20151229062308.ebd637b9.freebsd@edvax.de>
In-Reply-To: <20151229080050.1780e0fc@X220.alogt.com>
References:  <20151208200303.GA2194@c720-r285885-amd64> <CA%2BtpaK2mfqRUE5_z_waKqK0hgkG_WNL36qV_fotREamCE3KcdQ@mail.gmail.com> <20151228202833.GA2425@c720-r285885-amd64> <20151229080050.1780e0fc@X220.alogt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Dec 2015 08:00:50 +0800, Erich Dollansky wrote:
> Hi,
>=20
> On Mon, 28 Dec 2015 21:28:33 +0100
> Matthias Apitz <guru@unixarea.de> wrote:
>=20
> > El d=EDa Tuesday, December 08, 2015 a las 02:25:55PM -0600, Adam Vande
> > More escribi=F3:
> >=20
> > > 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.
> > >=20
> > > Otherwise pkg delete -a =20
> >=20
> > At the end of the day, I used this 'pkg delete -a', followed by an
> > additional=20
> >=20
> > # pkg delete -f pkg
> >=20
> did you take a look at /use/local?
>=20
> It should be empty if you did not install own software.

If I remember correctly, the system installer does create some
directory structure in /usr/local, so it won't be entirely empty
when the OS has been installed; /etc/mtree/BSD.local.dist should
give some information. This file is also handy for preparing a
new ports installation "from scratch" when /usr/local has been
entirely deleted manually.


--=20
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151229062308.ebd637b9.freebsd>