Results 1 to 5 of 5

Thread: Help with uninstalling Oracle VM VirtualBox

  1. #1
    Join Date
    Apr 2020
    Beans
    2

    Help with uninstalling Oracle VM VirtualBox

    I installed Oracle VM VirtualBox from its website using a .deb file and now I don't want it I cannot find a way to uninstall it. When I look in Ubuntu Software in the Installed tab, it is not there. I have tried "sudo apt-get remove virtualbox" and it just returns, "Package 'virtualbox' is not installed, so not removed." I've tried right clicking on it and going to "Show Details" put it just opens up Ubuntu Software and searches for virtualbox, which outputs no relevant results.

  2. #2
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: Help with uninstalling Oracle VM VirtualBox

    Typically virtualbox will install via a specific version name.
    Try something like
    Code:
    dpkg -l | grep virtualbox
    it should give you the proper package name, then run the apt remove command to remove it.

    My own guess is if it is the latest then it's probably virtualbox-6.1.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  3. #3
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Help with uninstalling Oracle VM VirtualBox

    VirtualBox images from the Oracle site have version numbers attached so they don't interfere with the version in the repositories which is called simply "virtualbox." Try using "sudo apt remove virtualbox-6.1" which is the most recent release.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  4. #4
    Join Date
    Apr 2020
    Beans
    2

    Re: Help with uninstalling Oracle VM VirtualBox

    Yes, it is virtualbox-6.1. But it still didn't uninstall it! This is what the output was: (I have no idea what any of it means)

    Code:
    debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
    (Reading database ... 207513 files and directories currently installed.)
    Removing virtualbox-6.1 (6.1.4-136177~Ubuntu~bionic) ...
    debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
    dpkg: error processing package virtualbox-6.1 (--remove):
     installed virtualbox-6.1 package pre-removal script subprocess returned error exit status 1
    debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
    vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
    
    
    There were problems setting up VirtualBox.  To re-start the set-up process, run
      /sbin/vboxconfig
    as root.  If your system is using EFI Secure Boot you may need to sign the
    kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
    them. Please see your Linux system's documentation for more information.
    Errors were encountered while processing:
     virtualbox-6.1
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Last edited by deadflowr; April 3rd, 2020 at 03:55 AM. Reason: code tags

  5. #5
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: Help with uninstalling Oracle VM VirtualBox

    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •