[Resolved] How to remove vbox test build?

Discussions related to using VirtualBox on Linux hosts.
Locked
bmaring
Posts: 38
Joined: 7. Jan 2017, 00:48

[Resolved] How to remove vbox test build?

Post 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?
Last edited by socratis on 15. Dec 2019, 12:44, edited 2 times in total.
Reason: Marked as [Resolved].
bmaring
Posts: 38
Joined: 7. Jan 2017, 00:48

Re: How to remove vbox test build?

Post by bmaring »

Found shell script for uninstall in opt/virtualbox. Remove successful.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: How to remove vbox test build?

Post 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... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
123Line
Posts: 1
Joined: 8. Apr 2021, 14:36

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

Post 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.
Locked