[Cialug] Hosed Virtualbox Install - Looking for suggestions

Kyle Hamilton khamil8686 at gmail.com
Wed Nov 2 09:49:26 CDT 2016


To be sure you removed those files that the package installed to the 
machine you can do 'rpm -ql <PKG_NAME> | xargs -I X sudo rm X' next 
time. Some machines may need to replace '-I X' with '--replace=X', and 
PKG_NAME is the name of your installed package. This will list every 
file the package installed to your machine, and delete each file one at 
a time. Then, just reinstall! I've only done this once though, when I 
ran into issues with a package not cleanly removing.


Kyle


On 11/02/2016 09:37 AM, c wrote:
> I ended up taking the road of last resort and basically deleting every file
> with 'vbox' and 'virtualbox' from the machine, rebooting, and then
> installing fresh. I was lucky even that worked.
>
> I'm going to start regularly exporting my VMs and backing them up so I can
> recover from this better in the future.
>
> Purcell
>
> On Tue, Nov 1, 2016 at 10:50 PM, Jared Brees <fromj2sitsme at msn.com> wrote:
>
>> I've borked my VBos install several times. The only stable way I've found
>> is a clean install.
>>
>>
>> Migrate over the data, Vdisks, and pray.
>>
>>
>> Jared Brees<http://me.relatedtotechnology.org/> - Squirrel Photographer<
>> http://squirrels.relatedtotechnology.org/>
>>
>>
>> ________________________________
>> From: cialug-bounces at cialug.org <cialug-bounces at cialug.org> on behalf of
>> c <cbpurcell at gmail.com>
>> Sent: Monday, October 24, 2016 9:30 AM
>> To: Central Iowa Linux Users Group
>> Subject: Re: [Cialug] Hosed Virtualbox Install - Looking for suggestions
>>
>> I have rebooted multiple times since installing them. I didn't reboot after
>> uinstalling or right after installing.
>>
>> On Mon, Oct 24, 2016 at 9:11 AM, David Champion <dchamp1337 at gmail.com>
>> wrote:
>>
>>> Silly question: did you reboot after you installed the new kernel
>> packages?
>>> -dc
>>>
>>> On Mon, Oct 24, 2016 at 6:45 AM, Kyle H <khamil8686 at gmail.com> wrote:
>>>
>>>> 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
>>>>>
>>>> _______________________________________________
>>>> Cialug mailing list
>>>> Cialug at cialug.org
>>>> http://cialug.org/mailman/listinfo/cialug
>>>>
>>> _______________________________________________
>>> Cialug mailing list
>>> Cialug at cialug.org
>>> http://cialug.org/mailman/listinfo/cialug
>>>
>>
>>
>> --
>> Darkness spoons with you.
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
>>
>
>



More information about the Cialug mailing list