Comment 28 for bug 303199

Revision history for this message
HughBranes (hughbranes) wrote :

Using module-assistant auto-install isn't working with the current virtualbox-ose-source package.

Auto-install is expecting to find the virtualbox sources under /usr/src and doesn't, so fails. The file list reveals that the sources are not being placed where auto-install expects them:

http://packages.ubuntu.com/intrepid/all/virtualbox-ose-source/filelist

Here is the output I get:

# *** start output
Updated infos about 1 packages
Getting source for kernel version: 2.6.27-9-generic
Kernel headers available in /usr/src/linux-headers-2.6.27-9-generic
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done!
unpack
The source tarball could not be found!
Package virtualbox-ose-source not installed?
Running "m-a -f get virtualbox-ose-source" may help.
"/usr/share/modass/packages/default.sh" build KVERS=2.6.27-9-generic KSRC=/usr/src/linux KDREV=2.6.27-9.19 kdist_image
find: `/usr/src/modules/virtualbox*': No such file or directory
# *** end output

There's an ncurses dialogue in the middle somewhere, allowing me to view a build log, which only has an entry telling me logging is being started in /var/cache/modass/virtualbox-ose-source.buildlog.2.6.27-9-generic.1230206467. I selected "Continue" in this case.

Something seems wrong here. Is there a safe workaround if a proper fix is not simple?