Opened 8 years ago
#16942 new defect
removing the deb package should also remove the systemd service
Reported by: | LocutusOfBorg | Owned by: | |
---|---|---|---|
Component: | installer | Version: | VirtualBox 5.1.24 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
As said, a lot of people remove virtualbox-4.2 virtualbox-5.0 virtualbox-5.1, and they try to install the Ubuntu version.
The problem is that without a --purge, your virtualbox package doesn't remove the systemd services, leading to install errors https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1705940
DKMS: install completed. Configurando virtualbox (5.0.40-dfsg-0ubuntu1.16.04.1) ... insserv: script virtualbox: service vboxdrv already provided! insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: error al procesar el paquete virtualbox (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 1
dpkg: problemas de dependencias impiden la configuración de virtualbox-qt:
virtualbox-qt depende de virtualbox (= 5.0.40-dfsg-0ubuntu1.16.04.1); sin embargo: El paquete `virtualbox' no está configurado todavía.
El paquete `virtualbox-4.2' que provee virtualbox no está instalado.
so, please remove your files when virtualbox is removed :)
thanks