Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -U world broke my modutils [solved]
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
9uSt00
n00b
n00b


Joined: 23 Feb 2004
Posts: 24
Location: 59.9.9 ° N

PostPosted: Mon Jun 21, 2004 8:22 am    Post subject: emerge -U world broke my modutils [solved] Reply with quote

Hey all,

this day is not starting well at all; when i woke up this morning, i decided to do a system upgrade on my laptop which already worked fine :? since it had been a little while since i ran an upgrade world. The emerge completed successfully, but the problem posed itself when i got in to the office, and no modules can be loaded.

The problem seems to be in the modutils, although i've tried to recompile it, I get the same error:
Code:
depmod: QM_MODULES : function not implemented

This goes for all of the modutils binaries (depmod, modprobe, insmod, etc).

Could someone please help me on this? I'm very dependent on my laptop for my work, and now i can't get online, i can't do anything! :(

a very sad 9uSt00
_________________
"wild nights! wild nights! were i with thee, wild nights should be our luxury!"
-- emily dickinson
adopt an unanswered post today!


Last edited by 9uSt00 on Mon Jun 21, 2004 1:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
rmalolepszy
Apprentice
Apprentice


Joined: 01 Jan 2004
Posts: 167

PostPosted: Mon Jun 21, 2004 1:36 pm    Post subject: Reply with quote

Usage of -U is depreciated. Use -u instead, therefore if a package that was thought to be acceptible is found to be unstable, it will be downgraded. -U does not allow packages to be downgraded and therefore may cause issues.

try 'emerge -pvuD world' and see what needs to be changed.

Code:
equery belongs depmod
Searching for file 'depmod' in *...
sys-apps/modutils-2.4.25 (/usr/share/man/man8/depmod.8.gz)
sys-apps/modutils-2.4.25 (/sbin/depmod)
sys-apps/module-init-tools-3.0-r2 (/usr/share/man/man8/depmod.old.8.gz)
sys-apps/module-init-tools-3.0-r2 (/sbin/depmod.old)
sys-apps/module-init-tools-3.0-r2 (/usr/share/man/man8/depmod.8.gz)
sys-apps/module-init-tools-3.0-r2 (/sbin/depmod)


depmod seems to belong to both packages. They may be causing your problems. You could also try re-emerging them.
_________________
Cheers,
Ryan


Last edited by rmalolepszy on Mon Jun 21, 2004 1:39 pm; edited 2 times in total
Back to top
View user's profile Send private message
spb
Retired Dev
Retired Dev


Joined: 02 Jan 2004
Posts: 2135
Location: Cambridge, UK

PostPosted: Mon Jun 21, 2004 1:38 pm    Post subject: Reply with quote

Emerge -U is liable to break things. Try an emerge -uDp world, and see if it wants to downgrade anything. If it does, let it; there's a reason for it doing so. If you can get the source tarballs, that is. ;) If you can't connect to the internet, then do an 'emerge -uDpf world', and get the URLs of all the files it would download. Then take that list to another machine, download the files, transfer them to the laptop and put them in /usr/portage/distfiles.
Back to top
View user's profile Send private message
9uSt00
n00b
n00b


Joined: 23 Feb 2004
Posts: 24
Location: 59.9.9 ° N

PostPosted: Mon Jun 21, 2004 1:51 pm    Post subject: Reply with quote

rmalolepszy wrote:
try 'emerge -pvuD world' and see what needs to be changed.

Code:
equery belongs depmod
Searching for file 'depmod' in *...
sys-apps/modutils-2.4.25 (/usr/share/man/man8/depmod.8.gz)
sys-apps/modutils-2.4.25 (/sbin/depmod)
sys-apps/module-init-tools-3.0-r2 (/usr/share/man/man8/depmod.old.8.gz)
sys-apps/module-init-tools-3.0-r2 (/sbin/depmod.old)
sys-apps/module-init-tools-3.0-r2 (/usr/share/man/man8/depmod.8.gz)
sys-apps/module-init-tools-3.0-r2 (/sbin/depmod)


depmod seems to belong to both packages. They may be causing your problems. You could also try re-emerging them.

Ok... I re-emerged the latter package, and things seem to be fine.. Why are there several packages for module utilities?

thebell wrote:
Emerge -U is liable to break things. Try an emerge -uDp world, and see if it wants to downgrade anything. If it does, let it; there's a reason for it doing so. If you can get the source tarballs, that is. If you can't connect to the internet, then do an 'emerge -uDpf world', and get the URLs of all the files it would download. Then take that list to another machine, download the files, transfer them to the laptop and put them in /usr/portage/distfiles.

Ya i did get online; what i did was to make a kernel with all of my drivers compiled in. I bloated it, allright.. but at least i everything up. ;)

Ok... so the lesson learned is that I shouldn't be so *harsh* on not letting packages be downgraded. But the reason for why i've used the -U before has been when i've emerged a development package with ACCEPT_KEYWORDS="~x86" emerge <PACKAGE>, and then ran emerge -u world, a bunch of packages got downgraded. And i wanted them to stay! what to do? :)

thanks both for your tips!
9uSt00
_________________
"wild nights! wild nights! were i with thee, wild nights should be our luxury!"
-- emily dickinson
adopt an unanswered post today!
Back to top
View user's profile Send private message
spb
Retired Dev
Retired Dev


Joined: 02 Jan 2004
Posts: 2135
Location: Cambridge, UK

PostPosted: Mon Jun 21, 2004 1:55 pm    Post subject: Reply with quote

9uSt00 wrote:
Ok... so the lesson learned is that I shouldn't be so *harsh* on not letting packages be downgraded. But the reason for why i've used the -U before has been when i've emerged a development package with ACCEPT_KEYWORDS="~x86" emerge <PACKAGE>, and then ran emerge -u world, a bunch of packages got downgraded. And i wanted them to stay! what to do? :)

/etc/portage/package.keywords. It allows you to use different KEYWORDS settings for different packages. For example, if you want to use the unstable versions of Firefox and Thunderbird, then you'd want
Code:
net-www/mozilla-firefox ~x86
mail-client/mozilla-thunderbird ~x86

The syntax is: <DEPEND atom> <KEYWORDS>. Usually the depend atom is just a package category/name, but you can be more specific, for example:
Code:
=sys-devel/gcc-3.4* -*
to use -* masked version of gcc 3.4, without any newer versions.

For more info on it, see 'man portage'.
Back to top
View user's profile Send private message
spb
Retired Dev
Retired Dev


Joined: 02 Jan 2004
Posts: 2135
Location: Cambridge, UK

PostPosted: Mon Jun 21, 2004 1:56 pm    Post subject: Reply with quote

Oh, and chances are that /etc/portage doesn't exist yet. Don't worry, it's quite safe to create it.
Back to top
View user's profile Send private message
9uSt00
n00b
n00b


Joined: 23 Feb 2004
Posts: 24
Location: 59.9.9 ° N

PostPosted: Mon Jun 21, 2004 5:17 pm    Post subject: Reply with quote

ok, thanks a lot! :D

i've now made a list over the packages i want to be "unstable" 8)

9uSt00
_________________
"wild nights! wild nights! were i with thee, wild nights should be our luxury!"
-- emily dickinson
adopt an unanswered post today!
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