public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] broken dependencies?¿
Date: Thu, 2 Aug 2007 21:14:00 +0100	[thread overview]
Message-ID: <20070802211400.3a26c9a1@zaphod.digimed.co.uk> (raw)
In-Reply-To: <20070802193759.7b579f9e@pataki.bogus.net>

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

On Thu, 2 Aug 2007 19:37:59 +0200, Arnau Bria wrote:

> > Kernel sources are slotted, so each time you install a new version,
> > the old one remains. 
 
> so how my system determines which is the version it must use for
> calculating dependencies?

It uses all of them, because all installed packages need their
dependencies.

> Cause I did not have that source in /usr/src and I did have just my
> current one... and emerge says:
> 
> Installed versions:  2.6.18(2.6.18)(02:42:26 PM 11/22/2006)(-build
> -symlink -ultra1) 2.6.19-r1(2.6.19-r1)(01:11:30 PM 01/11/2007)(-build
> -symlink -ultra1) 2.6.22(2.6.22)(03:14:16 AM 07/31/2007)(-build
> -symlink)

It looks like you deleted the source directory without letting portage
know what you'd done.

> > You can unmerge the unwanted ones, but you'll also have to remove the
> > directories from /usr/src. In fact, it is faster if you remove the
> > directories before unmerging.  

> In fact, as it's my laptop and I have no much space, I only keep
> current kernel source (for modules buid)...

In that case "emerge --prune --ask gentoo-sources" will do what you
need, but you still need to remove the directories from /usr/src manually
because emerge only removes the files it installed, not any that were
created or modified by you, like when you compiled the kernel.


-- 
Neil Bothwick

One-seventh of your life is spent on Monday.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-08-02 20:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-02 11:51 [gentoo-user] broken dependencies?¿ Arnau Bria
2007-08-02 14:01 ` Alan McKinnon
2007-08-02 16:00   ` Arnau Bria
2007-08-02 17:58     ` Neil Bothwick
2007-08-02 17:37       ` Arnau Bria
2007-08-02 20:14         ` Neil Bothwick [this message]
2007-08-03  9:16           ` Arnau Bria

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=20070802211400.3a26c9a1@zaphod.digimed.co.uk \
    --to=neil@digimed.co.uk \
    --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