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?
Enrique MalacareSystems EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

_3mp3ror_Commented:
try:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install linux-headers-generic linux-source
ifeatuCommented:
if that doesn't work try installing it from source.
Enrique MalacareSystems EngineerAuthor Commented:
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!
_3mp3ror_Commented:
sudo apt-cache search linux-headers
sudo apt-get install linux-headers-generic
sudo apt-cache search linux-source
sudo apt-get install linux-source

sorry for the confusion.

you an also use synaptic package manager
 
Regards.
linux.png
linux2.png

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Enrique MalacareSystems EngineerAuthor Commented:
Thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.