[Cialug] Hosed Virtualbox Install - Looking for suggestions

Kyle H khamil8686 at gmail.com
Mon Oct 24 06:45:29 CDT 2016


when you have it reinstalled, try dpkg-L <pkg name> to see every file it
installed, then do apt-get purge, and make sure every thing it installed is
gone when un installed

On Oct 23, 2016 8:26 PM, "c" <cbpurcell at gmail.com> wrote:

> Posted this on the virtualbox forums, but thought I would try here in case
> anyone has an idea.
>
> I have completely hosed my virtualbox install. I am trying to completely
> uninstall it so I can then install and get it working again. This is
> running on ubuntu 16.04 with mate for the desktop.
>
> I uninstalled the 5.0 virtualbox with apt-get remove. I tried to install
> virtualbox 5.1 series using dpkg. As soon as I installed 5.1, I got the an
> error that I couldn't start any of my VMs and to recompile the kernel. That
> didn't work. So I thought I would just uninstall 5.1 and try to return to
> 5.0 that used to work. I cannot seem to unisntall virtualbox now
>
> I have the following installed on my system:
> - virtualbox-5.1 5.1.8-111374~U 5.1.8-111374~U
> - virtualbox-ext-pack 5.0.24-0ubuntu 5.0.24-0ubuntu
>
>
> When I try to uninstall I get following error message
>>   │ Running VMs found
>>>>   │ VirtualBox is currently running. Please close it and try again. Please
>>   │ note that it can take up to ten seconds for VirtualBox (in particular
>>   │ the VBoxSVC daemon) to finish running.
>
> But I ps and grep or pgrep and there are no virtualbox processes running
> before I start the remove.
>
> When I click ok, I return to terminal with this output:
>
> ---------------------
> root at purcell-shinybeast:/etc/apt# sudo apt-get remove --purge
> virtualbox-5.1
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
>   libgsoap8 libvncserver1 virtualbox virtualbox-dkms virtualbox-qt
> Suggested packages:
>   vde2 virtualbox-guest-additions-iso
> The following packages will be REMOVED:
>   virtualbox-5.1*
> The following NEW packages will be installed:
>   libgsoap8 libvncserver1 virtualbox virtualbox-dkms virtualbox-qt
> 0 upgraded, 5 newly installed, 1 to remove and 0 not upgraded.
> Need to get 0 B/22.5 MB of archives.
> After this operation, 61.6 MB disk space will be freed.
> Do you want to continue? [Y/n] y
> Selecting previously unselected package virtualbox-dkms.
> (Reading database ... 494499 files and directories currently installed.)
> Preparing to unpack
> .../virtualbox-dkms_5.0.24-dfsg-0ubuntu1.16.04.1_all.deb ...
> Unpacking virtualbox-dkms (5.0.24-dfsg-0ubuntu1.16.04.1) ...
> Selecting previously unselected package libgsoap8:amd64.
> Preparing to unpack .../libgsoap8_2.8.28-1_amd64.deb ...
> Unpacking libgsoap8:amd64 (2.8.28-1) ...
> Selecting previously unselected package libvncserver1:amd64.
> Preparing to unpack .../libvncserver1_0.9.10+dfsg-3build1_amd64.deb ...
> Unpacking libvncserver1:amd64 (0.9.10+dfsg-3build1) ...
> Processing triggers for libc-bin (2.23-0ubuntu3) ...
> dpkg: virtualbox-5.1: dependency problems, but removing anyway as you
> requested:
>  virtualbox-ext-pack depends on virtualbox (>= 5.0) | virtualbox-5.0 |
> virtualbox-5.1; however:
>   Package virtualbox is not installed.
>   Package virtualbox-5.1 which provides virtualbox is to be removed.
>   Package virtualbox-5.0 is not installed.
>   Package virtualbox-5.1 is to be removed.
>  virtualbox-ext-pack depends on virtualbox (>= 5.0) | virtualbox-5.0 |
> virtualbox-5.1; however:
>   Package virtualbox is not installed.
>   Package virtualbox-5.1 which provides virtualbox is to be removed.
>   Package virtualbox-5.0 is not installed.
>   Package virtualbox-5.1 is to be removed.
>
> (Reading database ... 494802 files and directories currently installed.)
> Removing virtualbox-5.1 (5.1.8-111374~Ubuntu~xenial) ...
> dpkg: error processing package virtualbox-5.1 (--purge):
>  subprocess installed pre-removal script returned error exit status 1
> /var/lib/dpkg/info/virtualbox-5.1.postinst: 95:
> /var/lib/dpkg/info/virtualbox-5.1.postinst:
> /usr/lib/virtualbox/prerm-common.sh: not found
> /var/lib/dpkg/info/virtualbox-5.1.postinst: 96:
> /var/lib/dpkg/info/virtualbox-5.1.postinst:
> /usr/lib/virtualbox/postinst-common.sh: not found
> Errors were encountered while processing:
>  virtualbox-5.1
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> root at purcell-shinybeast:/etc/apt#
> ------------------------------------------------------------
> ---------------
>
> Any ideas would be much appreciated.
>
> Purcell
>
> --
> Darkness spoons with you.
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>


More information about the Cialug mailing list