1 |
On Thu, 2 Aug 2007 19:37:59 +0200, Arnau Bria wrote: |
2 |
|
3 |
> > Kernel sources are slotted, so each time you install a new version, |
4 |
> > the old one remains. |
5 |
|
6 |
> so how my system determines which is the version it must use for |
7 |
> calculating dependencies? |
8 |
|
9 |
It uses all of them, because all installed packages need their |
10 |
dependencies. |
11 |
|
12 |
> Cause I did not have that source in /usr/src and I did have just my |
13 |
> current one... and emerge says: |
14 |
> |
15 |
> Installed versions: 2.6.18(2.6.18)(02:42:26 PM 11/22/2006)(-build |
16 |
> -symlink -ultra1) 2.6.19-r1(2.6.19-r1)(01:11:30 PM 01/11/2007)(-build |
17 |
> -symlink -ultra1) 2.6.22(2.6.22)(03:14:16 AM 07/31/2007)(-build |
18 |
> -symlink) |
19 |
|
20 |
It looks like you deleted the source directory without letting portage |
21 |
know what you'd done. |
22 |
|
23 |
> > You can unmerge the unwanted ones, but you'll also have to remove the |
24 |
> > directories from /usr/src. In fact, it is faster if you remove the |
25 |
> > directories before unmerging. |
26 |
|
27 |
> In fact, as it's my laptop and I have no much space, I only keep |
28 |
> current kernel source (for modules buid)... |
29 |
|
30 |
In that case "emerge --prune --ask gentoo-sources" will do what you |
31 |
need, but you still need to remove the directories from /usr/src manually |
32 |
because emerge only removes the files it installed, not any that were |
33 |
created or modified by you, like when you compiled the kernel. |
34 |
|
35 |
|
36 |
-- |
37 |
Neil Bothwick |
38 |
|
39 |
One-seventh of your life is spent on Monday. |