Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2015 01:28:48 -0800
From:      Sergei G <sergeig.public@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: remove all installed packages
Message-ID:  <56825250.9010900@gmail.com>
In-Reply-To: <20151228202833.GA2425@c720-r285885-amd64>
References:  <20151208200303.GA2194@c720-r285885-amd64> <CA%2BtpaK2mfqRUE5_z_waKqK0hgkG_WNL36qV_fotREamCE3KcdQ@mail.gmail.com> <20151228202833.GA2425@c720-r285885-amd64>

next in thread | previous in thread | raw e-mail | index | archive | help
That's my procedure as well:

   pkg delete -a
   pkg remove -f pkg

I also have the following 3rd command (not sure if it matters):

   rm -r /var/db/pkg


On 12/28/15 12:28 PM, Matthias Apitz 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
>
> and all was fine cleared and ready to be re-installed from the ports;
>
> 	matthias
>




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