Hi everyone,
I downloaded the latest edition of VirtualBox from the website and installed it. I’ve had nothing but issues with it, so I’d like to fully uninstall it. I’ve tried everything I can. I’ve tried running the installer with the “uninstall” command and get Permission Denied. I’d like to start fresh, with what’s found in the repositories, but cannot get 4.3 removed. Please help!
Thanks in advance!
Mike
On Sat, 13 Sep 2014 03:36:01 +0000, mikejazzfan wrote:
> I downloaded the latest edition of VirtualBox from the website
Two questions:
-
Which website?
-
What version of openSUSE are you using?
Additionally, rather than describing what you see, if you post the
commands you’re executing with the output you receive, that will be much
more useful for anyone helping you figure out what’s going wrong.
Chances are you’re not running the uninstallation process with root
permissions and they’re needed. But until you show us exactly what
you’re doing and what the error messages are, that’s just a guess.
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C
Hi all,
Yeah, I didn’t provide much info. I apologize about that. I’m also still very, very new in Linux, with almost all of my experience in Windows. So, here we go:
[ol]
[li]I downloaded VirtualBox from here: https://www.virtualbox.org/wiki/Linux_Downloads[/li][LIST=1]
[li]Note: I did try the repository version first, but never got to the interface to run. Unfortunately, I installed this version first, and then uninstalled the repository version. I’m wondering if that is part of the problem.[/li][/ol]
[li]I’m running openSUSE 13.1[/li][/LIST]
I’ve logged into the computer as root, and I’ve tried using SU commands. Here’s what I’ve done:
[ul]
[li]from this site (https://www.virtualbox.org/manual/ch02.html) I’ve run this both ways (root and su) from various folders:[/li][LIST]
[li]/opt/VirtualBox/uninstall.sh[/li][li]./VirtualBox.run uninstall[/li][li]Each result is: No such file or directory[/li][/ul]
[li]I’ve tried this (in Terminal both as root and as su): ./VirtualBox-4.3-4.3.16_95972_openSUSE123-1.i586.rpm uninstall. Got permission denied.[/li][/LIST]
That’s where I’m at. Any assistance would be most welcome!
Thanks,
Mike
They are the same.
So installing the manually downloaded version did not actually do anything, and uninstalling it (how did you actually uninstall it?), removed it completely.
I’ve logged into the computer as root, and I’ve tried using SU commands. Here’s what I’ve done:
- from this site (https://www.virtualbox.org/manual/ch02.html) I’ve run this both ways (root and su) from various folders:
[LIST]
- /opt/VirtualBox/uninstall.sh
- ./VirtualBox.run uninstall
- Each result is: No such file or directory
[/LIST]
Of course. As you uninstalled it already, its files are not present any more.
Although I’m not sure whether the .rpm package even includes an “uninstall.sh” file…
And you do not have an VirtualBox.run file in the current directory either, as you didn’t download the generic installer but the .rpm package apparently.
- I’ve tried this (in Terminal both as root and as su): ./VirtualBox-4.3-4.3.16_95972_openSUSE123-1.i586.rpm uninstall. Got permission denied.
That’s to be expected.
You cannot “run” a .rpm file.
So as it looks, you do not have virtualbox installed any more.
Please post the output of this to be sure:
zypper se -s virtualbox
To install it from the repo, just search for “virtualbox” in YaST and install “virtualbox-qt”, or use zypper:
sudo zypper in virtualbox-qt
Hi,
Thanks for your reply! VirtualBox is actually installed. I have a large output from the command you requested, and have it in an attachment, but I do not have the rights to post an attachment. Here’s part of it:
Thanks,
Mike
S | Name | Type | Version | Arch | Repository
–±-----------------------------±-----------±---------------------------±-------±--------------------
i | VirtualBox-4.3 | package | 4.3.16_95972_openSUSE123-1 | i586 | (System Packages)
| python-virtualbox | package | 4.2.18-2.18.1 | x86_64 | openSUSE-13.1-Update
| python-virtualbox | package | 4.2.18-2.15.2 | x86_64 | openSUSE-13.1-Update
| python-virtualbox | package | 4.2.18-2.12.1 | x86_64 | openSUSE-13.1-Update
| python-virtualbox | package | 4.2.18-2.9.1 | x86_64 | openSUSE-13.1-Update
| python-virtualbox | package | 4.2.18-2.5.1 | x86_64 | openSUSE-13.1-Update
| python-virtualbox | package | 4.2.18-2.2.10 | x86_64 | openSUSE-13.1-Oss
| python-virtualbox | package | 4.2.18-2.18.1 | i586 | openSUSE-13.1-Update
| python-virtualbox | package | 4.2.18-2.15.2 | i586 | openSUSE-13.1-Update
| python-virtualbox | package | 4.2.18-2.12.1 | i586 | openSUSE-13.1-Update
| python-virtualbox | package | 4.2.18-2.9.1 | i586 | openSUSE-13.1-Update
| python-virtualbox | package | 4.2.18-2.5.1 | i586 | openSUSE-13.1-Update
| python-virtualbox | package | 4.2.18-2.2.10 | i586 | openSUSE-13.1-Oss
| virtualbox | package | 4.2.18-2.18.1 | x86_64 | openSUSE-13.1-Update
| virtualbox | package | 4.2.18-2.15.2 | x86_64 | openSUSE-13.1-Update
| virtualbox | package | 4.2.18-2.12.1 | x86_64 | openSUSE-13.1-Update
| virtualbox | package | 4.2.18-2.9.1 | x86_64 | openSUSE-13.1-Update
| virtualbox | package | 4.2.18-2.5.1 | x86_64 | openSUSE-13.1-Update
| virtualbox | package | 4.2.18-2.2.10 | x86_64 | openSUSE-13.1-Oss
| virtualbox | package | 4.2.18-2.18.1 | i586 | openSUSE-13.1-Update
| virtualbox | package | 4.2.18-2.15.2 | i586 | openSUSE-13.1-Update
| virtualbox | package | 4.2.18-2.12.1 | i586 | openSUSE-13.1-Update
| virtualbox | package | 4.2.18-2.9.1 | i586 | openSUSE-13.1-Update
| virtualbox | package | 4.2.18-2.5.1 | i586 | openSUSE-13.1-Update
| virtualbox | package | 4.2.18-2.2.10 | i586 | openSUSE-13.1-Oss
| virtualbox | srcpackage | 4.2.18-2.18.1 | noarch | openSUSE-13.1-Update
| virtualbox | srcpackage | 4.2.18-2.15.2 | noarch | openSUSE-13.1-Update
It is not possible here to add attachments. But you can use a site like http://susepaste.org/ to provide larger text.
And if you do post computer output here directly, please use CODE tags (button ‘#’ in the toolbar) in the future…
S | Name | Type | Version | Arch | Repository
–±-----------------------------±-----------±---------------------------±-------±--------------------
i | VirtualBox-4.3 | package | 4.3.16_95972_openSUSE123-1 | i586 | (System Packages)
You’re right, the package is still installed.
But apparently (at least) some files are missing.
I re-read your first post again, and I think now this is what happened:
- you installed virtualbox from the standard openSUSE repos, but you couldn’t get it to start (I suppose you installed vboxgtk, which doesn’t work really, but that’s a different matter)
- then you downloaded and installed the RPM from the virtualbox.org site
- afterwards you uninstalled the openSUSE packages
Is that what you did? I understood it a bit different when first reading it…
So at least the kernel module is missing now. Maybe just running “sudo /etc/init.d/vboxdrv setup” would fix it already, but there might be other files missing now as well.
So I’d suggest to remove the Oracle version again:
sudo rpm -e VirtualBox-4.3
Afterwards you can either install that one again, or the version included in openSUSE.
In the latter case, please select exactly those 3 packages:
virtualbox, virtualbox-qt, virtualbox-host-kmp-desktop
(provided that you use kernel-desktop, use “uname -a” to check)
Hi again,
Thank you so very much!!! We can conclude this as resolved!! I followed your suggested commands, wolfi323, and I now have VirtualBox running with a virtual machine running! Thanks again so very, very much!
Best regards,
Mike
On Sun, 14 Sep 2014 01:56:01 +0000, mikejazzfan wrote:
> Hi again,
>
> Thank you so very much!!! We can conclude this as resolved!! I
> followed your suggested commands, wolfi323, and I now have VirtualBox
> running with a virtual machine running! Thanks again so very, very
> much!
Glad to hear you got it sorted out. 
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C