You are not logged in.

#1 2011-07-31 14:18:52

samrat94
Member
Registered: 2011-01-07
Posts: 29

error installing virtualbox-4.1 on Arch

I'm trying to install Virtualbox 4.1 from the .run file since Pacman had the 4.0 version only. But when I try installing the file using sh filelocation/filename.run, it gives me the following error-

Please install the build and header files for your current Linux kernel. The current kernel version is 2.6.38-ARCH

I also tried installing the kernel26-headers package(as suggested here- http://unix.stackexchange.com/questions … 1-on-arch), but it still shows the same problem.

How do I fix this?

Offline

#2 2011-07-31 14:28:59

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: error installing virtualbox-4.1 on Arch

4.1 is the version in the repositories so it sounds like your mirrors are not up-to-date.  If you do wish to install the older version edit the PKGBUILD accordingly and then use pacman to install it.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2011-07-31 14:31:39

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

Re: error installing virtualbox-4.1 on Arch

Grab a fresh mirrorlist, run 'pacman -Syyu' and try again http://www.archlinux.org/mirrorlist/

Offline

#4 2011-07-31 15:44:56

samrat94
Member
Registered: 2011-01-07
Posts: 29

Re: error installing virtualbox-4.1 on Arch

got the 4.1 from AUR.. Thanks!!

Offline

#5 2011-07-31 15:52:18

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

Re: error installing virtualbox-4.1 on Arch

samrat94 wrote:

got the 4.1 from AUR.. Thanks!!

Good, but you should keep your system up to date, so please make sure you figure out why do you only see VirtualBox 4.0 when http://www.archlinux.org/packages/commu … irtualbox/ version 4.1 is already there.

Offline

#6 2011-07-31 18:48:26

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: error installing virtualbox-4.1 on Arch

samrat94 wrote:

got the 4.1 from AUR.. Thanks!!

No need to use aur:
http://www.archlinux.org/packages/commu … irtualbox/


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB