Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2015 14:25:55 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        Matthias Apitz <guru@unixarea.de>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: remove all installed packages
Message-ID:  <CA%2BtpaK2mfqRUE5_z_waKqK0hgkG_WNL36qV_fotREamCE3KcdQ@mail.gmail.com>
In-Reply-To: <20151208200303.GA2194@c720-r285885-amd64>
References:  <20151208200303.GA2194@c720-r285885-amd64>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 8, 2015 at 2:03 PM, Matthias Apitz <guru@unixarea.de> wrote:

>
> Hello,
>
> Is it enough to remove all installed packages, just doing
>
> # rm -f /usr/local/*
> # rm -f /var/db/pkg/*
>
> Anything else?
>

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

-- 
Adam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK2mfqRUE5_z_waKqK0hgkG_WNL36qV_fotREamCE3KcdQ>