View previous topic :: View next topic |
Author |
Message |
9uSt00 n00b
Joined: 23 Feb 2004 Posts: 24 Location: 59.9.9 ° N
|
Posted: Mon Jun 21, 2004 8:22 am Post subject: emerge -U world broke my modutils [solved] |
|
|
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 |
|
|
rmalolepszy Apprentice
Joined: 01 Jan 2004 Posts: 167
|
Posted: Mon Jun 21, 2004 1:36 pm Post subject: |
|
|
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 |
|
|
spb Retired Dev
Joined: 02 Jan 2004 Posts: 2135 Location: Cambridge, UK
|
Posted: Mon Jun 21, 2004 1:38 pm Post subject: |
|
|
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 |
|
|
9uSt00 n00b
Joined: 23 Feb 2004 Posts: 24 Location: 59.9.9 ° N
|
Posted: Mon Jun 21, 2004 1:51 pm Post subject: |
|
|
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 |
|
|
spb Retired Dev
Joined: 02 Jan 2004 Posts: 2135 Location: Cambridge, UK
|
Posted: Mon Jun 21, 2004 1:55 pm Post subject: |
|
|
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 |
|
|
spb Retired Dev
Joined: 02 Jan 2004 Posts: 2135 Location: Cambridge, UK
|
Posted: Mon Jun 21, 2004 1:56 pm Post subject: |
|
|
Oh, and chances are that /etc/portage doesn't exist yet. Don't worry, it's quite safe to create it. |
|
Back to top |
|
|
9uSt00 n00b
Joined: 23 Feb 2004 Posts: 24 Location: 59.9.9 ° N
|
Posted: Mon Jun 21, 2004 5:17 pm Post subject: |
|
|
ok, thanks a lot!
i've now made a list over the packages i want to be "unstable"
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 |
|
|
|
|
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
|
|