From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HsQap-0004mR-Iu for garchives@archives.gentoo.org; Sun, 27 May 2007 21:48:04 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4RLklk9018421; Sun, 27 May 2007 21:46:47 GMT Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4RLgaIw013783 for ; Sun, 27 May 2007 21:42:36 GMT Received: by an-out-0708.google.com with SMTP id c8so386422ana for ; Sun, 27 May 2007 14:42:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DrzowcVlCEWDSral2Lafotcndtah0TBmxKHBi5UL0UzRrGZCtuxIRU/OHXArnG1esflvwIFdzEYwqHHTD7dz2/m0V8jupVQdj197gwjvy3WTLKegejLCkdW7NwpaSpLh9GvAEnjJTxBoJzF+qaYFK7cU49yOb3zfbFF2sbvfNbk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=B92wUIvTCTCtehcKHG8pyc/HfgpgSsGQj68SslKX6jfjm1LG5D9YNGqQ4fFRWbjO23AW/8y33emeHtVLSx7FRkWEXj9XyrrsBcxiknZkGSFxbfHnJq/kvL4uZybvhbJIQKfE5SDLNieL8LbsVXq6KaQPjGfIBwbXIrCCLZQph9M= Received: by 10.100.250.7 with SMTP id x7mr4171799anh.1180302156147; Sun, 27 May 2007 14:42:36 -0700 (PDT) Received: by 10.100.37.16 with HTTP; Sun, 27 May 2007 14:42:36 -0700 (PDT) Message-ID: <9acccfe50705271442k262726f4g46077eae7fdd9a94@mail.gmail.com> Date: Sun, 27 May 2007 14:42:36 -0700 From: "Kevin O'Gorman" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Cleaning /var/lib/portage/packages -- a big mistake? In-Reply-To: <20070527204606.7724cb08@krikkit.digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9acccfe50705271225g7875e993v4b7373ffdd5c4791@mail.gmail.com> <20070527204606.7724cb08@krikkit.digimed.co.uk> X-Archives-Salt: cc12cc68-478e-4b1d-ba6f-348ab9f3d0d5 X-Archives-Hash: 87a9855a834287fd0fc462b169aa46b4 On 5/27/07, Neil Bothwick wrote: > Hello Kevin O'Gorman, > > > I also cleaned out /usr/portage/packages (10 GB) but now emerge --sync > > is complaining about a large number of them, and apparently cannot > > update its cache. I just moved them to another partition, they're not > > really gone, but I'd like to not be carrying around so many of them. > > > > I've been running with FEATURES="buildpkg" on in /etc/make.conf, so > > I've accumulated a lot of > > these things. How do I now clean up my act? If there's a way, I'd > > like to keep building them, but be able to manage them without ruining > > portage. > > You shouldn't be able to damage portage with this, because it doesn't > need any binary packages, they are purely for your convenience. > > > Most of the messages said the package "should be deleted". This > > mystifies my as in effect > > that's what I already did. What does it want me to do? > > > > The emerge --sync died eventually. Maybe one or more of the packages > > is more vital than most. So there may be packages I should not > > manage. Here's the tail end of the output: > > > > > > !!! Invalid binary package: '/usr/portage/packages/All/less-394.tbz2' > > !!! This binary package is not recoverable and should be deleted. > > !!! Invalid binary package: > > '/usr/portage/packages/All/pycrypto-2.0.1-r5.tbz2' > > !!! This binary package is not recoverable and should be deleted. > > I suspect you deleted the packages in /usr/portage/packages/All/ but not > the symlinks in /usr/portage/packages/cate-gory. emerge symlinks and do > symlinks -r -d /usr/portage/packages to get rid of them. > > In future, it may be safer to use eclean to remove your binary packages. Thanks. I wasn't aware of 'eclean'. I'll be sure to use it next time. ++ kevin -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list