public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Marc Joliet <marcec@gmx.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Portage wants to re-emerge old kernel sources
Date: Fri, 23 Feb 2007 00:51:20 +0100	[thread overview]
Message-ID: <1172188280.22948.8.camel@marcec.huntemann.uni-oldenburg.de> (raw)
In-Reply-To: <49bf44f10702221530r4439bcbbq8a51865f60a86906@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]

Am Donnerstag, den 22.02.2007, 15:30 -0800 schrieb Grant:
> > > On one of my Gentoo systems, portage wants to re-emerge
> > > hardened-sources-2.6.16-r10 and hardened-sources-2.6.14-r7 because of
> > > (-doc%).  I'm currently using hardened-sources-2.6.18-hardened, but
> > > whenever new kernel sources are emerged, I just manually rm -rf the
> > > old sources in /usr/src.  I guess portage wants to re-emerge the old
> > > sources because it thinks they are still installed.
> > >
> > > How can I let portage know that those old sources aren't installed anymore?
> >
> > By unmerging them ?
> >
> > # emerge -Cva =hardened-sources-2.6.16-r10 =hardened-sources-2.6.14-r7
> 
> How can I see which versions of hardened-sources portage thinks are
> currently installed?  I guess I should manually unmerge old sources as
> above instead of using rm -rf.
> 
> - Grant

Yes, you can:

$ equery list --duplicates [<searchstring>]

In your case <searchstring> should be 'sources'. Without <searchstring>
it looks for all duplicates, installed in so-called slots.

'man equery' for more info. The tool is in the gentoolkit package.

P.S.: Hi gentoo-user! YAN - Yet Another Newbie!
-- 
HTH,
Marc Joliet

[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-02-23  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-22 14:16 [gentoo-user] Portage wants to re-emerge old kernel sources Grant
2007-02-22 15:59 ` Bo Ørsted Andresen
     [not found]   ` <49bf44f10702221530r4439bcbbq8a51865f60a86906@mail.gmail.com>
2007-02-22 23:51     ` Marc Joliet [this message]
2007-02-23  0:54       ` Neil Bothwick
2007-02-23  7:20         ` Alan McKinnon
2007-02-23 17:49       ` Grant
2007-02-23 18:48         ` Neil Bothwick
2007-02-23 19:55         ` Bo Ørsted Andresen
2007-02-23 22:46           ` Grant
2007-02-23 22:58             ` [gentoo-user] " Harm Geerts
2007-02-23 23:28               ` Marc Joliet
2007-02-25  2:27               ` Grant
2007-02-22 23:54     ` Harm Geerts

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=1172188280.22948.8.camel@marcec.huntemann.uni-oldenburg.de \
    --to=marcec@gmx.de \
    --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