You are not logged in.
I have these problems with virtualbox.
Ran pacman -Syu and got these errors/notices during upgrade
Building virtualbox modules for 3.3.3-1-ARCH kernel...
:: Unloading VirtualBox kernel modules [BUSY] [FAIL]
error: `/lib/modules/3.3.3-1-ARCH/build' does not appear to be a valid kernel build directory.
:: Reloading VirtualBox kernel modules [BUSY] [FAIL]
Ok.
Building virtualbox modules for 3.3.3-1-ARCH kernel...
:: Unloading VirtualBox kernel modules [BUSY] [FAIL]
error: `/lib/modules/3.3.3-1-ARCH/build' does not appear to be a valid kernel build directory.
:: Reloading VirtualBox kernel modules [BUSY] [FAIL]
Ok.I knew i had virtualbox-hook installed and that was suppose to take care of this, as i understood.
So i tried the following.
[root@wlan username]# pacman -Rns virtualbox virtualbox-source
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: virtualbox-hook: requires virtualbox-source
[root@wlan username]# pacman -S virtualbox-source
warning: virtualbox-source-4.1.12-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): virtualbox-source-4.1.12-1
Total Installed Size: 8.74 MiB
Net Upgrade Size: 0.00 MiB
Proceed with installation? [Y/n] y
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
(1/1) upgrading virtualbox-source [######################] 100%
===> To recompile the modules do /usr/bin/vboxbuild
[root@wlan username]# /usr/bin/vboxbuild
:: Unloading VirtualBox kernel modules [DONE]
error: `/lib/modules/3.3.3-1-ARCH/build' does not appear to be a valid kernel build directory.
:: Reloading VirtualBox kernel modules [DONE]
[root@wlan username]# As i read that, it still gives out an error if i reinstall it so im not sure the aur package is to blame..
Any idea how to fix the problem ?
Last edited by DoYouSpeakWak (2012-04-26 09:52:18)
Offline
/lib/modules/3.3.3-1-ARCH/build is part of the "linux-headers" package. Double check to make sure it's up to date.
PS: You've also rebooted after the kernel upgrade I take it?
Burninate!
Offline
Moved to Newbie Forum
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
/lib/modules/3.3.3-1-ARCH/build is part of the "linux-headers" package. Double check to make sure it's up to date.
PS: You've also rebooted after the kernel upgrade I take it?
Thx. linux-headers wasnt even installed. So after it was installed i ran pacman -S virtualbox-source and the modules were upgraded as intended.
Offline
why don't you use virtualbox-modules? this package contains precompiled modules for our stock kernel
Give what you have. To someone, it may be better than you dare to think.
Offline
why don't you use virtualbox-modules? this package contains precompiled modules for our stock kernel
If you use the virtualbox-modules package you don't have to automatically recompile after each kernel update right????
Also in the case you need to recompile is there a way of doing it with systemd?? Make it sence when there us a kernel update and have a service recompile whatever is needed???
Offline
wonder wrote:why don't you use virtualbox-modules? this package contains precompiled modules for our stock kernel
If you use the virtualbox-modules package you don't have to automatically recompile after each kernel update right????
NO
Also in the case you need to recompile is there a way of doing it with systemd?? Make it sence when there us a kernel update and have a service recompile whatever is needed???
It is the same but i have to fix the script.
Give what you have. To someone, it may be better than you dare to think.
Offline
Sorry got confused with the plain no.
You are telling that you have to recompile as described in the wiki: https://wiki.archlinux.org/index.php/Vi … nel_update
Offline
you do not have to recompile any modules if you use virtualbox-modules since package includes precompiled modules, like nvidia.
Give what you have. To someone, it may be better than you dare to think.
Offline
No, if you have the modules you don't have to recompile because you have the modules. This if you use the stock kernel from the repo.
Edit: *rats, a little too slow*
Last edited by stryder (2012-07-01 00:19:15)
Offline
OK got it thanks.
![]()
Offline