Link to home
Start Free TrialLog in
Avatar of Heiden Engineer
Heiden EngineerFlag for United States of America

asked on

Unable to install virtualbox-3.0 on Ubuntu 8.04

I am attempting to install Sun Virtualbox on my Ubuntu laptop.  I am downloading the .deb file from Sun's website.  The install stops and  tells me to check the vbox-install.log file.

** Compiling vboxdrv
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxdrv/3.0.8/source ->
                 /usr/src/vboxdrv-3.0.8

DKMS: add Completed.

Error! Your kernel source for kernel 2.6.24-24-lpia cannot be found at
/lib/modules/2.6.24-24-lpia/build or /lib/modules/2.6.24-24-lpia/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:147: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.

What can I do to fix this and get virtualbox installed?
Avatar of _3mp3ror_
_3mp3ror_
Flag of Thailand image

try:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install linux-headers-generic linux-source
Avatar of ifeatu
ifeatu

if that doesn't work try installing it from source.
Avatar of Heiden Engineer

ASKER

Here is the output from what _3mp3ror_ suggested:

jon@jon:~$ sudo apt-get update
[sudo] password for jon:

Hit http://download.virtualbox.org jaunty Release.gpg
Ign http://download.virtualbox.org jaunty/non-free Translation-en_US
Hit http://download.virtualbox.org jaunty Release

Hit http://dell-mini.archive.canonical.com hardy Release.gpg
Ign http://dell-mini.archive.canonical.com hardy/main Translation-en_US
(deleted other rows of text that didn't apply)

W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/jaunty/Release  Unable to find expected entry  non-free/binary-lpia/Packages in Meta-index file (malformed Release file?)

E: Some index files failed to download, they have been ignored, or old ones used instead.

jon@jon:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

jon@jon:~$ sudo apt-get install linux-headers-generic linux-source
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Couldn't find package linux-headers-generic

What isn't configured or configured incorrectly?  Thanks for your time!
ASKER CERTIFIED SOLUTION
Avatar of _3mp3ror_
_3mp3ror_
Flag of Thailand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks!