Install problem on Ubuntu 8.10

Discussions related to using VirtualBox on Linux hosts.
Post Reply
pundip44
Posts: 1
Joined: 25. Jan 2009, 03:39

Install problem on Ubuntu 8.10

Post by pundip44 »

Distribution: Ubuntu 8.10
Kernel : 2.6.24-23-generic
I am trying to install VirtualBox 2.1.2 on my machine (previously 1.66 was working but suddenly host networking hence the reinstall) I get the folloling error. I have installed the kernel headers, build-essential and DKMS but i get the follwing error in the log file. Tried running sudo apt-get install virtualbox-ose virtualbox-ose-source virtualbox-ose-modules-2.6.24-23-generic but get this error: E: Couldn't find package virtualbox-ose-modules-2.6.24-23-generic
NO idea what to do so any advice would be helpful. Also my knowledge of Linux is somewhat limited.

Code: Select all

Error! Your kernel source for kernel 2.6.24-23-generic cannot be found at
/lib/modules/2.6.24-23-generic/build or /lib/modules/2.6.24-23-generic/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:143: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Completely remove VirtualBox from your system. Open Synaptic and purge the packages (complete removal). Then, after you've done this, do a reboot so the module is also unloaded and no remnants are in your memory.
Install the linux-headers-generic package. Update your apt headers first, mark all upgrade, select the linux-headers-generic meta package, which should also mark the latest build. After all that is installed, you might need to reboot to a new kernel.
Now install the PUEL version from the website. It should install without any errors. Be sure to have the build-essentials too, in case you didn't have that yet.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply