[Pkg-virtualbox-devel] Bug#693731: Fails to install if virtualbox-4.3 is not purged
Dominique Dumont
dod at debian.org
Tue Jun 30 09:04:10 UTC 2015
Hello
I faced a similar issue while upgrading virtualbox:
dpkg: error processing package virtualbox-qt (--configure):
dependency problems - leaving unconfigured
Processing triggers for systemd (221-1) ...
Errors were encountered while processing:
virtualbox
virtualbox-dkms
virtualbox-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up virtualbox (4.3.28-dfsg-1+b1) ...
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-qt:
virtualbox-qt depends on virtualbox (= 4.3.28-dfsg-1+b1); however:
Package virtualbox is not configured yet.
Package virtualbox-4.3 which provides virtualbox is not installed.
The following page gave a hint as the origin of the problem:
http://ubuntuforums.org/showthread.php?t=2253862&page=2
I indeed had a leftover file after purging virtualbox:
# ll /etc/init.d/vboxdrv
-rwxr-xr-x 1 root root 12680 Oct 10 2014 /etc/init.d/vboxdrv
# dlocate /etc/init.d/vboxdrv
virtualbox-4.3: /etc/init.d/vboxdrv
# apt-get purge virtualbox-4.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
virtualbox-4.3*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 400124 files and directories currently installed.)
Removing virtualbox-4.3 (4.3.18-96516~Debian~wheezy) ...
Purging configuration files for virtualbox-4.3 (4.3.18-96516~Debian~wheezy)
...
Once virtual-box-4.3 is purged, the following command works fine:
# apt-get install virtualbox-qt virtualbox-dkms
All the best
--
https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org
More information about the Pkg-virtualbox-devel
mailing list