Results 1 to 4 of 4

Thread: unable to uninstall Virtualbox

  1. #1
    Join Date
    Jul 2009
    Location
    Norwich, UK
    Beans
    282
    Distro
    Kubuntu 13.10 Saucy Salamander

    unable to uninstall Virtualbox

    Hi all,

    I installed VirtualBox from Oracles site, had a play with AmigaOS 4.1, however did not find AmgiaOS much good, so I want to remove Virtualbox as I will not use it again, when I have tried the following code from virtualbox;

    Code:
    sudo ./VirtualBox.run uninstall
    Code:
    ./VirtualBox.run uninstall
    Code:
    /opt/VirtualBox/uninstall.sh
    I am unable to uninstall virtualbox, here is the output from the terminal on those codes,

    andyandmillie@andyandmillie-Satellite-L300:~$ sudo ./VirtualBox.run uninstall
    [sudo] password for andyandmillie:
    sudo: ./VirtualBox.run: command not found
    andyandmillie@andyandmillie-Satellite-L300:~$ ./VirtualBox.run uninstall
    bash: ./VirtualBox.run: No such file or directory
    andyandmillie@andyandmillie-Satellite-L300:~$ /opt/VirtualBox/uninstall.sh
    bash: /opt/VirtualBox/uninstall.sh: No such file or directory
    andyandmillie@andyandmillie-Satellite-L300:~$


    Any ideas?
    There is no reality, no truth, only a set of social constructs.

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: unable to uninstall Virtualbox

    That is only to uninstall the guest additions.

    You'd just need to purge virtualbox to remove it.

    Code:
    sudo apt-get purge virtualbox-4.1
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Dec 2007
    Location
    howard, wi
    Beans
    2,460
    Distro
    Ubuntu 20.04 Focal Fossa

    Lightbulb Re: unable to uninstall Virtualbox

    note as easy as it looks note error message


    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
    virtualbox-4.1*
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    After this operation, 126 MB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 267289 files and directories currently installed.)
    Removing virtualbox-4.1 ...
    dpkg: error processing virtualbox-4.1 (--purge):
    subprocess installed pre-removal script returned error exit status 1
    Processing triggers for python-central ...
    Errors were encountered while processing:
    virtualbox-4.1
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    ray@ray-GC660AA-ABA-SR5123WM:~$

  4. #4
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: unable to uninstall Virtualbox

    Quote Originally Posted by rburkartjo View Post
    note as easy as it looks note error message


    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
    virtualbox-4.1*
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    After this operation, 126 MB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 267289 files and directories currently installed.)
    Removing virtualbox-4.1 ...
    dpkg: error processing virtualbox-4.1 (--purge):
    subprocess installed pre-removal script returned error exit status 1
    Processing triggers for python-central ...
    Errors were encountered while processing:
    virtualbox-4.1
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    ray@ray-GC660AA-ABA-SR5123WM:~$
    Glad you found a fix to your problem.

    http://ubuntuforums.org/showthread.php?t=1994697

    Wonder why the kernel modules didn't unload automagically..
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

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
  •