Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -e world compiles uninstalled packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
SlashGentoo
n00b
n00b


Joined: 29 Jun 2003
Posts: 62
Location: Warsaw, Poland

PostPosted: Thu Sep 04, 2003 9:23 am    Post subject: emerge -e world compiles uninstalled packages Reply with quote

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
View user's profile Send private message
GuidoJ
Guru
Guru


Joined: 24 Dec 2002
Posts: 444
Location: Netherlands

PostPosted: Thu Sep 04, 2003 10:20 am    Post subject: Reply with quote

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
View user's profile Send private message
hook
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1398
Location: Ljubljana, Slovenia

PostPosted: Thu Sep 04, 2003 4:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
SlashGentoo
n00b
n00b


Joined: 29 Jun 2003
Posts: 62
Location: Warsaw, Poland

PostPosted: Thu Sep 04, 2003 10:53 pm    Post subject: Reply with quote

i know, but i want to recompile EVERYTHING. I just gave nvidia-kernel and nvidia-glx as an example :)
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Fri Sep 05, 2003 1:44 am    Post subject: Reply with quote

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
View user's profile Send private message
GuidoJ
Guru
Guru


Joined: 24 Dec 2002
Posts: 444
Location: Netherlands

PostPosted: Fri Sep 05, 2003 10:04 am    Post subject: Reply with quote

I can't believe it! As of today I'm experiencing almost the same problem. :oops:
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Fri Sep 05, 2003 12:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum