Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2015 07:28:42 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Erich Dollansky <erichsfreebsdlist@alogt.com>
Cc:        Adam Vande More <amvandemore@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: remove all installed packages
Message-ID:  <20151229062841.GA1723@c720-r285885-amd64>
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
El día Tuesday, December 29, 2015 a las 08:00:50AM +0800, Erich Dollansky escribió:

> Hi,
> 
> On Mon, 28 Dec 2015 21:28:33 +0100
> Matthias Apitz <guru@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?

Yes, I did even a backup:

# cd /usr/local
# tar cf etc.tar etc
# mv poudiere poudiere.saved    (contains all my jails)

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

No, it should not and it wasn't. The deletion did not removed config
files in /usr/local/etc, for example.

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

Yes. I svn updated /usr/ports and 'make installed' only two ports:

ports-mgmt/pkg
ports-mgmt/poudriere-devel

and tested my old poudriere jail; it worked fine.

	matthias

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



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