Public bug reported:

Ran the command 'sudo apt-get install virtualbox' to install VirtualBox.
I expected this to install VirtualBox without errors and I would be able
to install VMs straight away.

What it actually did was start up Apport and come up with some errors in
Terminal while installing (seems to have installed though)...

When I run 'sudo virtualbox' in Terminal, it says the following:
  Please install the virtualbox-ose-dkms package and the appropriate
  headers, most likely linux-headers-generic.

  You will not be able to start VMs until this problem is fixed.

'linux-headers-generic' is apparently up-to-date and I installed
'virtualbox-ose-dkms'. Still get the same error.

Running:
Ubuntu 12.04.2 LTS "Precise Pangolin" (fully updated)
VirtualBox GUI 4.1.12_Ubuntu r77245

Terminal Install Output:
sudo apt-get install virtualbox
[sudo] password for ads:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libgsoap1 python-central virtualbox-dkms virtualbox-qt
Suggested packages:
  virtualbox-guest-additions-iso vde2
The following NEW packages will be installed
  libgsoap1 python-central virtualbox virtualbox-dkms virtualbox-qt
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.4 MB of archives.
After this operation, 70.0 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libgsoap1 amd64 
2.8.4-2 [507 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/universe 
python-central all 0.6.17ubuntu2 [41.4 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/universe virtualbox 
amd64 4.1.12-dfsg-2ubuntu0.2 [15.6 MB]
Get:4 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/universe 
virtualbox-dkms all 4.1.12-dfsg-2ubuntu0.2 [675 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/universe 
virtualbox-qt amd64 4.1.12-dfsg-2ubuntu0.2 [6,488 kB]
Fetched 23.4 MB in 2min 27s (158 kB/s)
Selecting previously unselected package libgsoap1.
(Reading database ... 342765 files and directories currently installed.)
Unpacking libgsoap1 (from .../libgsoap1_2.8.4-2_amd64.deb) ...
Selecting previously unselected package python-central.
Unpacking python-central (from .../python-central_0.6.17ubuntu2_all.deb) ...
Selecting previously unselected package virtualbox.
Unpacking virtualbox (from .../virtualbox_4.1.12-dfsg-2ubuntu0.2_amd64.deb) ...
Selecting previously unselected package virtualbox-dkms.
Unpacking virtualbox-dkms (from 
.../virtualbox-dkms_4.1.12-dfsg-2ubuntu0.2_all.deb) ...
Selecting previously unselected package virtualbox-qt.
Unpacking virtualbox-qt (from 
.../virtualbox-qt_4.1.12-dfsg-2ubuntu0.2_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for shared-mime-info ...
Processing triggers for menu ...
Processing triggers for hicolor-icon-theme ...
Setting up libgsoap1 (2.8.4-2) ...
Setting up python-central (0.6.17ubuntu2) ...
Setting up virtualbox (4.1.12-dfsg-2ubuntu0.2) ...
 * Stopping VirtualBox kernel modules                                    [ OK ]
 * Starting VirtualBox kernel modules                                           
 * No suitable module for running kernel found
                                                                         [fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.
Processing triggers for python-central ...
Setting up virtualbox-dkms (4.1.12-dfsg-2ubuntu0.2) ...
Loading new virtualbox-4.1.12 DKMS files...
First Installation: checking all kernels...
Building only for 3.5.0-27-generic
Building initial module for 3.5.0-27-generic
Error! Bad return status for module build on kernel: 3.5.0-27-generic (x86_64)
Consult /var/lib/dkms/virtualbox/4.1.12/build/make.log for more information.
 * Stopping VirtualBox kernel modules                                    [ OK ]
 * Starting VirtualBox kernel modules                                           
 * No suitable module for running kernel found
                                                                         [fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.
Setting up virtualbox-qt (4.1.12-dfsg-2ubuntu0.2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for menu ...

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: virtualbox-dkms 4.1.12-dfsg-2ubuntu0.2
ProcVersionSignature: Ubuntu 3.5.0-27.46~precise1-generic 3.5.7.7
Uname: Linux 3.5.0-27-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
DKMSKernelVersion: 3.5.0-27-generic
Date: Sun Apr 14 09:16:37 2013
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 
(20130213)
MarkForUpload: True
PackageArchitecture: all
PackageVersion: 4.1.12-dfsg-2ubuntu0.2
SourcePackage: virtualbox
Title: virtualbox-dkms 4.1.12-dfsg-2ubuntu0.2: virtualbox kernel module failed 
to build
UpgradeStatus: No upgrade log present (probably fresh install)
VirtualBox.ModInfo:

** Affects: virtualbox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package need-duplicate-check precise virtualbox

** Description changed:

  Ran the command 'sudo apt-get install virtualbox' to install VirtualBox.
  I expected this to install VirtualBox without errors and I would be able
  to install VMs straight away.
  
  What it actually did was start up Apport and come up with some errors in
  Terminal while installing (seems to have installed though)...
  
  When I run 'sudo virtualbox' in Terminal, it says the following:
-        Please install the virtualbox-ose-dkms package and the appropriate
-        headers, most likely linux-headers-generic.
+   Please install the virtualbox-ose-dkms package and the appropriate
+   headers, most likely linux-headers-generic.
  
-          You will not be able to start VMs until this problem is fixed.
+   You will not be able to start VMs until this problem is fixed.
+ 
+ 'linux-headers-generic' is apparently up-to-date and I installed
+ 'virtualbox-ose-dkms'. Still get the same error.
  
  Running:
  Ubuntu 12.04.2 LTS "Precise Pangolin" (fully updated)
  VirtualBox GUI 4.1.12_Ubuntu r77245
  
- 
  Terminal Install Output:
  sudo apt-get install virtualbox
- [sudo] password for ads: 
+ [sudo] password for ads:
  Reading package lists... Done
- Building dependency tree       
+ Building dependency tree
  Reading state information... Done
  The following extra packages will be installed:
-   libgsoap1 python-central virtualbox-dkms virtualbox-qt
+   libgsoap1 python-central virtualbox-dkms virtualbox-qt
  Suggested packages:
-   virtualbox-guest-additions-iso vde2
+   virtualbox-guest-additions-iso vde2
  The following NEW packages will be installed
-   libgsoap1 python-central virtualbox virtualbox-dkms virtualbox-qt
+   libgsoap1 python-central virtualbox virtualbox-dkms virtualbox-qt
  0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
  Need to get 23.4 MB of archives.
  After this operation, 70.0 MB of additional disk space will be used.
  Do you want to continue [Y/n]? y
  Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise/universe libgsoap1 amd64 
2.8.4-2 [507 kB]
  Get:2 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/universe 
python-central all 0.6.17ubuntu2 [41.4 kB]
  Get:3 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/universe 
virtualbox amd64 4.1.12-dfsg-2ubuntu0.2 [15.6 MB]
  Get:4 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/universe 
virtualbox-dkms all 4.1.12-dfsg-2ubuntu0.2 [675 kB]
  Get:5 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/universe 
virtualbox-qt amd64 4.1.12-dfsg-2ubuntu0.2 [6,488 kB]
- Fetched 23.4 MB in 2min 27s (158 kB/s)                                        
 
+ Fetched 23.4 MB in 2min 27s (158 kB/s)
  Selecting previously unselected package libgsoap1.
  (Reading database ... 342765 files and directories currently installed.)
  Unpacking libgsoap1 (from .../libgsoap1_2.8.4-2_amd64.deb) ...
  Selecting previously unselected package python-central.
  Unpacking python-central (from .../python-central_0.6.17ubuntu2_all.deb) ...
  Selecting previously unselected package virtualbox.
  Unpacking virtualbox (from .../virtualbox_4.1.12-dfsg-2ubuntu0.2_amd64.deb) 
...
  Selecting previously unselected package virtualbox-dkms.
  Unpacking virtualbox-dkms (from 
.../virtualbox-dkms_4.1.12-dfsg-2ubuntu0.2_all.deb) ...
  Selecting previously unselected package virtualbox-qt.
  Unpacking virtualbox-qt (from 
.../virtualbox-qt_4.1.12-dfsg-2ubuntu0.2_amd64.deb) ...
  Processing triggers for man-db ...
  Processing triggers for ureadahead ...
  ureadahead will be reprofiled on next reboot
  Processing triggers for bamfdaemon ...
  Rebuilding /usr/share/applications/bamf.index...
  Processing triggers for desktop-file-utils ...
  Processing triggers for gnome-menus ...
  Processing triggers for shared-mime-info ...
  Processing triggers for menu ...
  Processing triggers for hicolor-icon-theme ...
  Setting up libgsoap1 (2.8.4-2) ...
  Setting up python-central (0.6.17ubuntu2) ...
  Setting up virtualbox (4.1.12-dfsg-2ubuntu0.2) ...
-  * Stopping VirtualBox kernel modules                                    [ OK 
] 
-  * Starting VirtualBox kernel modules                                         
   * No suitable module for running kernel found
-                                                                          
[fail]
+  * Stopping VirtualBox kernel modules                                    [ OK 
]
+  * Starting VirtualBox kernel modules                                         
   * No suitable module for running kernel found
+                                                                          
[fail]
  invoke-rc.d: initscript virtualbox, action "restart" failed.
  Processing triggers for python-central ...
  Setting up virtualbox-dkms (4.1.12-dfsg-2ubuntu0.2) ...
  Loading new virtualbox-4.1.12 DKMS files...
  First Installation: checking all kernels...
  Building only for 3.5.0-27-generic
  Building initial module for 3.5.0-27-generic
  Error! Bad return status for module build on kernel: 3.5.0-27-generic (x86_64)
  Consult /var/lib/dkms/virtualbox/4.1.12/build/make.log for more information.
-  * Stopping VirtualBox kernel modules                                    [ OK 
] 
-  * Starting VirtualBox kernel modules                                         
   * No suitable module for running kernel found
-                                                                          
[fail]
+  * Stopping VirtualBox kernel modules                                    [ OK 
]
+  * Starting VirtualBox kernel modules                                         
   * No suitable module for running kernel found
+                                                                          
[fail]
  invoke-rc.d: initscript virtualbox, action "restart" failed.
  Setting up virtualbox-qt (4.1.12-dfsg-2ubuntu0.2) ...
  Processing triggers for libc-bin ...
  ldconfig deferred processing now taking place
  Processing triggers for menu ...
  
  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: virtualbox-dkms 4.1.12-dfsg-2ubuntu0.2
  ProcVersionSignature: Ubuntu 3.5.0-27.46~precise1-generic 3.5.7.7
  Uname: Linux 3.5.0-27-generic x86_64
  NonfreeKernelModules: nvidia wl
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: amd64
  DKMSKernelVersion: 3.5.0-27-generic
  Date: Sun Apr 14 09:16:37 2013
  InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 
(20130213)
  MarkForUpload: True
  PackageArchitecture: all
  PackageVersion: 4.1.12-dfsg-2ubuntu0.2
  SourcePackage: virtualbox
  Title: virtualbox-dkms 4.1.12-dfsg-2ubuntu0.2: virtualbox kernel module 
failed to build
  UpgradeStatus: No upgrade log present (probably fresh install)
  VirtualBox.ModInfo:

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1168829

Title:
  'Error! Bad return status for module build on kernel: 3.5.0-27-generic
  (x86_64)'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1168829/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to