View previous topic :: View next topic |
Author |
Message |
SlashGentoo n00b
Joined: 29 Jun 2003 Posts: 62 Location: Warsaw, Poland
|
Posted: Thu Sep 04, 2003 9:23 am Post subject: emerge -e world compiles uninstalled packages |
|
|
Hi, I have a question. For example I try to compile nvidia kernels and they download kernel 2.6.0-test4. Currently I use 2.4.22. I once tried to compile under 2.6.0 and since then it always has it as a dependancy. I also have the same problem with some other programs. For instance lirc is emerged when i unemerged it a long time ago. How do I fix this? |
|
Back to top |
|
|
GuidoJ Guru
Joined: 24 Dec 2002 Posts: 444 Location: Netherlands
|
Posted: Thu Sep 04, 2003 10:20 am Post subject: |
|
|
My guess would be that it is a header thing. You might want to check the symlink /usr/src/linux, which should refer to your 2.4.22 kernel. Another thing you should check is the version of kernel-headers that you have installed, for 2.4.22 it should be some 2.4.x (2.4.19 or higher), not a 2.5.x or 2.6.x version.
Generally you seem to have some unsatisfied dependancies. If you run 'emerge -puvD world' , you will probably see that some "unwanted" packages will be installed. This depends on both the packages in your world file and your USE variable setting. |
|
Back to top |
|
|
hook Veteran
Joined: 23 Oct 2002 Posts: 1398 Location: Ljubljana, Slovenia
|
Posted: Thu Sep 04, 2003 4:50 pm Post subject: |
|
|
don't emerge -e world unless you need to ... "-e" emerges ALL the packages that are installed, even those that are not in the world file.
but i don't see what's that got to do with your actual question.
why don't you just
Code: | emerge nvidia-kernel nvidia-glx | instead?!? ...it works like that, you know[/code] _________________ tea+free software+law=hook
(deep inside i'm still a tux's little helper) |
|
Back to top |
|
|
SlashGentoo n00b
Joined: 29 Jun 2003 Posts: 62 Location: Warsaw, Poland
|
Posted: Thu Sep 04, 2003 10:53 pm Post subject: |
|
|
i know, but i want to recompile EVERYTHING. I just gave nvidia-kernel and nvidia-glx as an example |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Fri Sep 05, 2003 1:44 am Post subject: |
|
|
Okay. You have two problem files here. Check out:
Code: | /var/cache/edb/world
/var/cache/edb/virtuals |
Editing the two of these must be done as root. You will probably find "sys-kernel/development-sources" or "sys-kernel/mm-sources" listed in world - this should be removed. You will also find it in virtuals - you want to remove any instances of this and replace it with "sys-kernel/vanilla-sources" which is what I assume you're using now. This is due to the (understandably) buggy way that portage handles its world file when dealing with kernels.
Also, if you emerge "gentoolkit" and then do "qpkg --help" you should find out how to work out what packages depend on lirc. emerge --depclean could be your friend here too. Let us know how you get on! (Alternatively, you can PM me if you want - either is fine.) |
|
Back to top |
|
|
GuidoJ Guru
Joined: 24 Dec 2002 Posts: 444 Location: Netherlands
|
Posted: Fri Sep 05, 2003 10:04 am Post subject: |
|
|
I can't believe it! As of today I'm experiencing almost the same problem. |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Fri Sep 05, 2003 12:03 pm Post subject: |
|
|
You could also try running "revdep-rebuild" as root - this will recompile any packages with broken dependencies and should generally fix things for you. |
|
Back to top |
|
|
|