From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: Question: purging a package from the store Date: Wed, 8 Jun 2016 13:14:40 +0200 Message-ID: <20160608111440.GA19980@thebird.nl> References: <20160608092923.GA19390@thebird.nl> <87eg88q8xh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAbUJ-0005Bc-3X for guix-devel@gnu.org; Wed, 08 Jun 2016 07:17:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAbUF-0004zy-Rp for guix-devel@gnu.org; Wed, 08 Jun 2016 07:17:31 -0400 Content-Disposition: inline In-Reply-To: <87eg88q8xh.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Roel Janssen Cc: guix-devel@gnu.org On Wed, Jun 08, 2016 at 12:19:54PM +0200, Roel Janssen wrote: > > Our caching server gives a consistent failure for one package. It > > exists in the store and 'guix gc checks' pass. > > > > guix substitute: error: download from > > 'http://guix.genenetwork.org:8080/nar/sqd3q1xq5fsbga00bwhghi9shi7xdaac-gtk+-3.18.2' > > failed: 404, "Not Found" > > > > Now I want to purge it without running a full gc. Next reinstall it > > and see if it gets fixed. > > > > What is the suggested method for fully purging a package from the store? > > > > Pj. > > What about: > guix gc --delete /gnu/store/...-gtk+-3.18.2/ > > (add the specific package path after --delete). > > A package can only be purged when it is not installed in any profile. Hmmm. It is a running server that actually uses that package. I wonder if it is the same problem we saw before on the substitute servers (hits missing). How did we resolve those? What was the real problem? A rebuild merely reinstates the profile on this machine. It actually appears to be fine. Even so the nar server gives an error for this package. Only for this package - all others are served. I guess I have to read some source code. Pj.