You are not logged in.

#1 2013-06-10 01:51:21

jkarres
Member
Registered: 2013-06-10
Posts: 8

Installing virtualbox-guest-modules => depmod error

I'm setting up a new system, and I tried following the instructions at https://wiki.archlinux.org/index.php/Vi … nux_guests.

Using "sudo pacman -S virtualbox-guest-utils" gives me an error message:

depmod: ERROR: could not open directory /lib/modules/3.9.4-1-ARCH: No such file or directory
depmod: FATAL: could not search modules: No such file or directory"

I see I do have a 3.9.5-1-ARCH directory, though.

I assume something somewhere needs to be updated.  Is there anything I can do until that happens?

Offline

#2 2013-06-10 01:53:40

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,715

Re: Installing virtualbox-guest-modules => depmod error

Reboot?

Offline

#3 2013-06-10 01:55:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,423

Re: Installing virtualbox-guest-modules => depmod error

Did you update the kernel but not reboot yet?

Offline

#4 2013-06-10 01:57:21

jkarres
Member
Registered: 2013-06-10
Posts: 8

Re: Installing virtualbox-guest-modules => depmod error

karol wrote:

Did you update the kernel but not reboot yet?

I just created a new system (from the instruction at https://wiki.archlinux.org/index.php/Beginners'_Guide).

I also just tried rebooting.  Didn't make any difference.

Offline

#5 2013-06-10 02:01:24

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,715

Re: Installing virtualbox-guest-modules => depmod error

what's the output of "uname -r"?

Offline

#6 2013-06-10 02:02:02

jkarres
Member
Registered: 2013-06-10
Posts: 8

Re: Installing virtualbox-guest-modules => depmod error

Scimmia wrote:

what's the output of "uname -r"?

3.9.5-1-ARCH

Offline

#7 2013-06-10 02:09:43

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,715

Re: Installing virtualbox-guest-modules => depmod error

Wow, I just checked the install file, it's hardcoded to that version. Needs a bug report.

Offline

#8 2013-06-10 02:14:53

jkarres
Member
Registered: 2013-06-10
Posts: 8

Re: Installing virtualbox-guest-modules => depmod error

Scimmia wrote:

Wow, I just checked the install file, it's hardcoded to that version. Needs a bug report.

Thanks for taking a look.  Could you let me know exactly which package?

Offline

#9 2013-06-10 02:23:52

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,715

Re: Installing virtualbox-guest-modules => depmod error

virtualbox-guest-modules

It has been marked out of date, probably for the same reason. The maintainer usually takes care of things like this quickly.

Offline

#10 2013-06-11 16:05:06

pklaus
Member
Registered: 2011-05-03
Posts: 7

Re: Installing virtualbox-guest-modules => depmod error

I'm having the same problem. Installed today in a VirtualBox virtual machine...

(1/1) reinstalling virtualbox-guest-modules            [############################] 100%
depmod: ERROR: could not open directory /lib/modules/3.9.4-1-ARCH: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
error: command failed to execute correctly

The virtualbox-guest-modules package is marked out of date since 2013-06-09. Let's hope this will be fixed soon.

Offline

#11 2013-06-11 16:24:57

jkarres
Member
Registered: 2013-06-10
Posts: 8

Re: Installing virtualbox-guest-modules => depmod error

pklaus wrote:

I'm having the same problem. Installed today in a VirtualBox virtual machine...

(1/1) reinstalling virtualbox-guest-modules            [############################] 100%
depmod: ERROR: could not open directory /lib/modules/3.9.4-1-ARCH: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
error: command failed to execute correctly

The virtualbox-guest-modules package is marked out of date since 2013-06-09. Let's hope this will be fixed soon.

Try running "depmod 3.9.5-1-ARCH" at the command line.  (The package right now is running "depmod 3.9.4-1-ARCH", which is causing the problem.)

Offline

#12 2013-06-11 17:25:53

pklaus
Member
Registered: 2011-05-03
Posts: 7

Re: Installing virtualbox-guest-modules => depmod error

jkarres wrote:

Try running "depmod 3.9.5-1-ARCH" at the command line.  (The package right now is running "depmod 3.9.4-1-ARCH", which is causing the problem.)


Thx! The depmod command did complete.

However, I still had a black screen when starting GDM. In addition to the screen being mostly black it had some colorful fringes on top.
KDM works though. So I think it must be a problem with GDM's graphics mode...

Offline

#13 2013-06-12 06:46:30

Yashka
Member
From: Israel
Registered: 2013-03-26
Posts: 238

Re: Installing virtualbox-guest-modules => depmod error

I think I have a similar problem

Im using Arch as the host and trying to use other OSs as guests in virtualbox.
But when I try to use virtualbox and push start (on XP) it say:

"The VirtualBox Linux kernel driver (vboxdrv) is either not loaded
or there is a permission problem with /dev/vboxdrv. Please
reinstall the kernel module by executing

'pacman -S virtualbox-host-modules'

as root. If you don't use our stock kernel, install
virtualbox-host-source and execute dkms autoinstall."

when I execute: # pacman -S virtualbox-host-modules it say:

(1/1) reinstalling virtualbox-host-modules
depmod: ERROR: could not open directory /lib/modules/3.9.4-1-ARCH: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
In order to use the new version, reload all virtualbox modules manually.

I tryied to execute "depmod 3.9.5-1-ARCH" but in my case it didnt help,
I also running on 3.9.5-1-ARCH.
So basicly there is nothing to do now, but waiting for bug to be fixed?


You do not need to leave your room. Remain sitting at your table and listen.
Do not even listen, simply wait, be quiet, still and solitary.
The world will freely offer itself to you to be unmasked, it has no choice, it will roll in ecstasy at your feet.
                   Franz Kafka

Offline

#14 2013-06-12 16:18:40

roywephy
Member
Registered: 2012-09-25
Posts: 2

Re: Installing virtualbox-guest-modules => depmod error

@Yashka: the depmod (see earlier posts) command is probably sufficient.

You also can fix the package yourself. Get the PKGBUILD and the other needed files from abs (If you use yaourt you can use "yaourt -G virtualbox-host-modules"), edit the *.install files to use the correct kernel version and build with makepkg.

Offline

#15 2013-06-12 16:33:05

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,715

Re: Installing virtualbox-guest-modules => depmod error

package has already been fixed in the -7 version.

Offline

#16 2013-06-12 18:39:16

Baz_
Member
Registered: 2013-06-12
Posts: 6

Re: Installing virtualbox-guest-modules => depmod error

How long does it take before the package is added to the pacman package list?

I've tried pacman -Syu and pacman -Syy to try to force the package list to include the updated package but no dice...

So how long am I likely to have to wait?

Offline

#17 2013-06-12 18:42:18

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,715

Re: Installing virtualbox-guest-modules => depmod error

Depends completely on your mirror. If yours isn't updated, try a more up to date one: https://www.archlinux.org/mirrors/status/

Offline

#18 2013-06-12 19:05:36

Baz_
Member
Registered: 2013-06-12
Posts: 6

Re: Installing virtualbox-guest-modules => depmod error

Brilliant info, thank you very much!

Offline

#19 2013-06-15 03:21:22

Yashka
Member
From: Israel
Registered: 2013-03-26
Posts: 238

Re: Installing virtualbox-guest-modules => depmod error

roywephy wrote:

@Yashka: the depmod (see earlier posts) command is probably sufficient.


It is actualy. I dont know why it didnt worked for the first time.


You do not need to leave your room. Remain sitting at your table and listen.
Do not even listen, simply wait, be quiet, still and solitary.
The world will freely offer itself to you to be unmasked, it has no choice, it will roll in ecstasy at your feet.
                   Franz Kafka

Offline

#20 2013-06-15 04:02:50

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Installing virtualbox-guest-modules => depmod error

If it is working now, please mark the thread as [Solved]

Offline

Board footer

Powered by FluxBB