From owner-freebsd-questions@freebsd.org Tue Dec 29 06:28:51 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89C9DA55423 for ; Tue, 29 Dec 2015 06:28:51 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E4F41377 for ; Tue, 29 Dec 2015 06:28:50 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.139.117] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1aDnm2-0002qW-V5; Tue, 29 Dec 2015 07:28:47 +0100 Received: from localhost.my.domain (c720-r285885-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id tBT6Shhu001752 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 29 Dec 2015 07:28:43 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id tBT6SgZI001751; Tue, 29 Dec 2015 07:28:42 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 29 Dec 2015 07:28:42 +0100 From: Matthias Apitz To: Erich Dollansky Cc: Adam Vande More , FreeBSD Questions Subject: Re: remove all installed packages Message-ID: <20151229062841.GA1723@c720-r285885-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Erich Dollansky , Adam Vande More , FreeBSD Questions References: <20151208200303.GA2194@c720-r285885-amd64> <20151228202833.GA2425@c720-r285885-amd64> <20151229080050.1780e0fc@X220.alogt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20151229080050.1780e0fc@X220.alogt.com> X-Operating-System: FreeBSD 11.0-CURRENT r285885 (amd64) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.139.117 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2015 06:28:51 -0000 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 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