Page 1 of 1

[Resolved] How to remove vbox test build?

Posted: 13. Dec 2019, 15:53
by bmaring
I recently (12/7) installed a test build of VirtualBox on Mint 19.2 host, which works perfectly. Now that 6.1 has released, I am attempting to uninstall the test build before installing 6.1. About virtualbox shows the following:

Code: Select all

Version 6.0.15 r135299 (Qt5.6.1)
Attempting to remove virtualbox:

Code: Select all

bmaring@bmaring-HP-Notebook:~$ sudo apt-get remove --purge virtualbox
[sudo] password for bmaring:         
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'virtualbox' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Code: Select all

sudo dpkg -l | grep virtualbox
returns nothing

Software Manager does not indicate that virtualbox is installed.
Aptitude shows the following

Code: Select all

bmaring@bmaring-HP-Notebook:~$ aptitude search virtualbox\*
p   boinc-virtualbox                                 - metapackage for virtualbox-savvy projects                  
p   boinc-virtualbox:i386                            - metapackage for virtualbox-savvy projects                  
p   unity-scope-virtualbox                           - VirtualBox scope for Unity                                 
p   virtualbox                                       - x86 virtualization solution - base binaries                
p   virtualbox:i386                                  - x86 virtualization solution - base binaries                
p   virtualbox-dkms                                  - x86 virtualization solution - kernel module sources for dkm
p   virtualbox-ext-pack                              - extra capabilities for VirtualBox, downloader.             
p   virtualbox-guest-additions-iso                   - guest additions iso image for VirtualBox                   
p   virtualbox-guest-dkms                            - x86 virtualization solution - guest addition module source 
v   virtualbox-guest-dkms:i386                       -                                                            
p   virtualbox-guest-dkms-hwe                        - x86 virtualization solution - guest addition module source 
v   virtualbox-guest-modules                         -                                                            
v   virtualbox-guest-modules:i386                    -                                                            
p   virtualbox-guest-source                          - x86 virtualization solution - guest addition module source 
p   virtualbox-guest-source-hwe                      - x86 virtualization solution - guest addition module source 
p   virtualbox-guest-utils                           - x86 virtualization solution - non-X11 guest utilities      
p   virtualbox-guest-utils:i386                      - x86 virtualization solution - non-X11 guest utilities      
p   virtualbox-guest-utils-hwe                       - x86 virtualization solution - non-X11 guest utilities      
p   virtualbox-guest-utils-hwe:i386                  - x86 virtualization solution - non-X11 guest utilities      
p   virtualbox-guest-x11                             - x86 virtualization solution - X11 guest utilities          
p   virtualbox-guest-x11:i386                        - x86 virtualization solution - X11 guest utilities          
p   virtualbox-guest-x11-hwe                         - x86 virtualization solution - X11 guest utilities          
p   virtualbox-guest-x11-hwe:i386                    - x86 virtualization solution - X11 guest utilities          
v   virtualbox-modules                               -                                                            
p   virtualbox-qt                                    - x86 virtualization solution - Qt based user interface      
p   virtualbox-qt:i386                               - x86 virtualization solution - Qt based user interface      
p   virtualbox-source                                - x86 virtualization solution - kernel module source  
What is the magic command line needed to remove the test build version?

Re: How to remove vbox test build?

Posted: 13. Dec 2019, 20:45
by bmaring
Found shell script for uninstall in opt/virtualbox. Remove successful.

Re: How to remove vbox test build?

Posted: 15. Dec 2019, 12:43
by socratis
bmaring wrote: Remove successful.
Thanks for reporting back with a solution. Marking as [Resolved].
bmaring wrote:Found shell script for uninstall in opt/virtualbox.
That, or you could re-run the 6.0.15 r135299 installer with the "uninstall" flag. Like:
  • 
    sudo VirtualBox-6.0.15-135299-Linux_amd64.run uninstall
Beats searching around the filesystem... ;)

Re: [Resolved] How to remove vbox test build?

Posted: 8. Apr 2021, 14:41
by 123Line
If you still need to understand then this will make it easier.

Find out what version you have by typing

[sudo dpkg -l | grep virtualbox]

Then use this command to remove the version

[sudo apt-get remove --purge virtualbox-6.1]

sudo apt-get remove --purge virtualbox-6.1 (example)

Replace the underline version with your version.