public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] broken dependencies?¿
  @ 2007-08-02 20:14 99%         ` Neil Bothwick
  0 siblings, 0 replies; 1+ results
From: Neil Bothwick @ 2007-08-02 20:14 UTC (permalink / raw
  To: gentoo-user

[-- 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 --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
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 99%         ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox