public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kevin O'Gorman" <kogorman@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cleaning /var/lib/portage/packages -- a big mistake?
Date: Sun, 27 May 2007 14:42:36 -0700	[thread overview]
Message-ID: <9acccfe50705271442k262726f4g46077eae7fdd9a94@mail.gmail.com> (raw)
In-Reply-To: <20070527204606.7724cb08@krikkit.digimed.co.uk>

On 5/27/07, Neil Bothwick <neil@digimed.co.uk> 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



      reply	other threads:[~2007-05-27 21:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-27 19:25 [gentoo-user] Cleaning /var/lib/portage/packages -- a big mistake? Kevin O'Gorman
2007-05-27 19:27 ` [gentoo-user] " Kevin O'Gorman
2007-05-27 19:46 ` [gentoo-user] " Neil Bothwick
2007-05-27 21:42   ` Kevin O'Gorman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9acccfe50705271442k262726f4g46077eae7fdd9a94@mail.gmail.com \
    --to=kogorman@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox