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 1HsOXC-0004IT-Ec for garchives@archives.gentoo.org; Sun, 27 May 2007 19:36:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4RJYuLd010014; Sun, 27 May 2007 19:34:56 GMT Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4RJS0cT001179 for ; Sun, 27 May 2007 19:28:00 GMT Received: by an-out-0708.google.com with SMTP id c8so381897ana for ; Sun, 27 May 2007 12:27:59 -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=TLRvjDuKoXPq0RwghpkA7gqXc4OKvVYCLycENCzcOmSdI08kcWVaAsFe9c2J1oGV8a0b6PDwyZn9KJlbUWobtOgv55vc/7buVtgZ1j20WShvkHjeVFgWU+cgUXKOdE25Jb8HKIMbWVRWtsObulj47xE/1pcKa0CD7APfB8JL8I0= 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=mFoUW3IKAhTcdhQ8o/FXgRifvJ7AbPYldbLnhixjGU1v+L9PPgzEBkHjbEx5ZNwEhnoYPgdAeBfEDlana9Z4xrMGVxRwXTqyEMQ8aCFVH8GuzWIW7WGGpcpYSVehq314F5TugEGmqXn9/DghnM5+Ls9D196QaaH0bhPLNzN6dO8= Received: by 10.100.59.20 with SMTP id h20mr4119423ana.1180294079715; Sun, 27 May 2007 12:27:59 -0700 (PDT) Received: by 10.100.37.16 with HTTP; Sun, 27 May 2007 12:27:59 -0700 (PDT) Message-ID: <9acccfe50705271227i4dbaf9banb00aee6fb9c6f777@mail.gmail.com> Date: Sun, 27 May 2007 12:27:59 -0700 From: "Kevin O'Gorman" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: Cleaning /var/lib/portage/packages -- a big mistake? In-Reply-To: <9acccfe50705271225g7875e993v4b7373ffdd5c4791@mail.gmail.com> 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> X-Archives-Salt: ac8903d0-0a53-4358-b62d-004d365b7df2 X-Archives-Hash: 0a8cd7a1d2db8afe2ae9b9a969eaa73c Another oops: make that directory /usr/portage/packages. ++ kevin On 5/27/07, I wrote: > I'm trying to clean up my hard drive to make it feasible to back up > the root partition. I cleaned out /usr/portage/disfiles (10 GB) with > no problem. But... > > 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. > > 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. > !!! Invalid binary package: '/usr/portage/packages/All/lsof-4.76.tbz2' > !!! This binary package is not recoverable and should be deleted. > !!! Invalid binary package: '/usr/portage/packages/All/rsync-2.6.8-r2.tbz2' > !!! This binary package is not recoverable and should be deleted. > !!! Invalid binary package: '/usr/portage/packages/All/man-pages-2.31.tbz2' > !!! This binary package is not recoverable and should be deleted. > Traceback (most recent call last): > File "/usr/bin/emerge", line 5530, in ? > retval = emerge_main() > File "/usr/bin/emerge", line 5487, in emerge_main > action_sync(settings, trees, mtimedb, myopts, myaction) > File "/usr/bin/emerge", line 4207, in action_sync > if portage.global_updates(settings, trees, mtimedb["updates"]): > File "/usr/lib/portage/pym/portage.py", line 8163, in global_updates > trees["/"]["bintree"].move_slot_ent(update_cmd) > File "/usr/lib/portage/pym/portage.py", line 6413, in move_slot_ent > self.populate() > File "/usr/lib/portage/pym/portage.py", line 6570, in populate > mycat = mytbz2.getfile("CATEGORY") > File "/usr/lib/portage/pym/xpak.py", line 345, in getfile > a=open(self.file,"r") > IOError: [Errno 2] No such file or directory: > '/usr/portage/packages/All/perl-cleaner-1.03.tbz2' > > portage # > > Pointers, please... > > ++ kevin -- Kevin O'Gorman, PhD -- gentoo-user@gentoo.org mailing list