the update-modules command is deprecated and should not be used

Asked by Bob Pearson

I want to load the kqemu module as I am running Windows as a virtual machine on my hardy desktop. The command sudo update-modules which worked fine on gutsy now gives the error message "the update-modules command is deprecated and should not be used". What command should I now use?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Bob Pearson
Solved:
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1

Hello bob:

try

sudo dpkg --configure -a

and try

If it doesnt work please report a bug here:

https://bugs.edge.launchpad.net/ubuntu/+source/kqemu/

Regards

Bhavani Shankar.

Revision history for this message
Bob Pearson (admin-bpcsbromyard) said :
#2

Thanks Bhavani, but that doesn't help. I am trying to follow the tutorial at:
https://help.ubuntu.com/community/WindowsXPUnderQemuHowTo
which worked fine in Gutsy. The problem occurs when I get to step 7. Before I report a bug please see the output of 'man update-modules' below and also my comments at the end:

NAME
       update-modules - obsolete command

SYNOPSIS
       update-modules

DESCRIPTION
       update-modules is an obsolete command which does nothing. Any program
       calling it should be fixed.

       Note that the file /etc/modprobe.conf is not the exact equivalent of
       /etc/modules.conf. It is not required for module-init-tools and is not
       generated any more. In fact, most people should not create that file
       since /etc/modprobe.d/* would be ignored in this case but Debian pack‐
       ages store their additional configuration files in /etc/modprobe.d/.

SEE ALSO
       depmod(1) modprobe(8) modprobe.conf(5)

BUGS
       This program should be removed after modutils will have been removed
       from the distribution and no package will try to use it anymore.

My comments: What commands should I now use in step 7?

Revision history for this message
Bhavani Shankar (bhavi) said :
#3

Hello

Sorry for late reply as I m down with ill health... use the depmod command..

sudo depmod -a

You have to wait for sometime until the command executes as it probes all the modules...

More on depmod

man depmod -a

Bhavani Shankar.

Revision history for this message
Bob Pearson (admin-bpcsbromyard) said :
#4

Sorry to hear you are ill Bhavani, I wish you a speedy recovery and thanks for your help. I have been unable to reply as our telephone line has been out of order for over a week and only just been repaired. I have now discovered that Hardy has Virt-Manager and KVM built in to it and our new machine (AMD Athlon64 dual core) supports this, so we'll probably not bother trying to use QEmu on the old (reserve) machine, we'll just leave it as dual boot, so the problem is effectively solved.