package virtualbox 4.3.26-dfsg-2ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1459891 reported by Ashwin
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

something went wrong while updating.

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: virtualbox 4.3.26-dfsg-2ubuntu2
ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
Uname: Linux 3.19.0-18-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
Date: Fri May 29 08:06:20 2015
DuplicateSignature: package:virtualbox:4.3.26-dfsg-2ubuntu2:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2015-05-21 (7 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
RelatedPackageVersions:
 dpkg 1.17.25ubuntu1
 apt 1.0.9.7ubuntu4
SourcePackage: virtualbox
Title: package virtualbox 4.3.26-dfsg-2ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ashwin (ashwin-siqi) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

rc virtualbox-4.3 4.3.28-100309~Ubuntu~raring amd64 Oracle VM VirtualBox
iU virtualbox-dkms 4.3.26-dfsg-2ubuntu2 all x86 virtualization solution - kernel module sources for dkms
iU virtualbox-qt 4.3.26-dfsg-2ubuntu2 amd64 x86 virtualization solution - Qt based user interface

You have both the official one and the Debian/Ubuntu one.

Invalid.

Changed in virtualbox (Ubuntu):
status: New → Invalid
Revision history for this message
John Peacock (jpeacock) wrote :

> You have both the official one and the Debian/Ubuntu one.

> Invalid.

Totally useless response. Thanks very much!

How about telling the affected people HOW to fix the problem? For example, I just upgraded from 14.04 to 15.04, but I had long since stopped running the relatively ancient Ubuntu package in favor of the official Oracle package. But now I am stuck in a loop.

Removing the official version is not sufficient. I cannot install the Ubuntu package because I still get:

insserv: script virtualbox: service vboxdrv already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package virtualbox (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of virtualbox-dkms:
 virtualbox-dkms depends on virtualbox (>= 4.3.26-dfsg-2ubuntu2); however:
  Package virtualbox is not configured yet.
  Package virtualbox-4.3 which provides virtualbox is not installed.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

install synaptic or whatever, search the virtualbox-* packages and do a purge, or look e.g. to the ton of similar bug reports here, and you will find a solution for sure :)

cheers,

G.

Revision history for this message
Damian Svampa (damiansvampa) wrote :
Download full text (4.1 KiB)

Como soluciono este problema. Necesito usar virtualbox

Preparing to unpack .../libgsoap5_2.8.17-1_amd64.deb ...
Unpacking libgsoap5:amd64 (2.8.17-1) ...
Selecting previously unselected package libvncserver0:amd64.
Preparing to unpack .../libvncserver0_0.9.9+dfsg-6.1_amd64.deb ...
Unpacking libvncserver0:amd64 (0.9.9+dfsg-6.1) ...
Selecting previously unselected package virtualbox.
Preparing to unpack .../virtualbox_4.3.26-dfsg-2ubuntu2_amd64.deb ...
Unpacking virtualbox (4.3.26-dfsg-2ubuntu2) ...
Selecting previously unselected package dkms.
Preparing to unpack .../dkms_2.2.0.3-2ubuntu3.3_all.deb ...
Unpacking dkms (2.2.0.3-2ubuntu3.3) ...
Selecting previously unselected package virtualbox-dkms.
Preparing to unpack .../virtualbox-dkms_4.3.26-dfsg-2ubuntu2_all.deb ...
Unpacking virtualbox-dkms (4.3.26-dfsg-2ubuntu2) ...
Selecting previously unselected package virtualbox-qt.
Preparing to unpack .../virtualbox-qt_4.3.26-dfsg-2ubuntu2_amd64.deb ...
Unpacking virtualbox-qt (4.3.26-dfsg-2ubuntu2) ...
Processing triggers for systemd (219-7ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.1+15.04.20150202-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for hicolor-icon-theme (0.14-0ubuntu1) ...
Setting up libgsoap5:amd64 (2.8.17-1) ...
Setting up libvncserver0:amd64 (0.9.9+dfsg-6.1) ...
Setting up virtualbox (4.3.26-dfsg-2ubuntu2) ...
insserv: script virtualbox: service vboxdrv already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package virtualbox (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up dkms (2.2.0.3-2ubuntu3.3) ...
dpkg: dependency problems prevent configuration of virtualbox-dkms:
 virtualbox-dkms depends on virtualbox (>= 4.3.26-dfsg-2ubuntu2); however:
  Package virtualbox is not configured yet.
  Package virtualbox-4.2 which provides virtualbox is not installed.

dpkg: error processing package virtualbox-dkms (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-qt:
 virtualbox-qt depends on virtualbox (= 4.3.26-dfsg-2ubuntu2); however:
  Package virtualbox is not configured yet.
  Package virtualbox-4.2 which provides virtualbox is not installed.

dpkg: error processing package virtualbox-qt (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.21-0ubuntu4) ...
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for systemd (219-7ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Error in function:
Setting up virt...

Read more...

Revision history for this message
Damian Svampa (damiansvampa) wrote :

primero:

sudo apt-get --purge remove virtualbox-*

Despues:

sudo apt-get autoremove

Pero de todas maneras no puedo instalar virtualbox amd64, solo me instala de 32 bits

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

install synaptic and search for virtualbox. there should be some virtualbox package that hasn't been cleaned.

BTW how did you install the official virtualbox? by deb file or .run? in the latter case I guess you need to clean it manually
(this might include remove vboxdrv from /etc/* and lib/*

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.