Stan Goodman wrote:
My VirtualBox program has become corrupted, and I wish to remove it and start over again from scratch. At the moment, it won't start at all. I find that reinstalling over what is there is not permitted, because there is a locked file. How can I unlock this file?
This is not the ose version of the program, I downloaded it from the VBox site.
This is what happens when I try to uninsstall: # rpm -e VirtualBox* error: package VirtualBox-3.1-3.1.4_57640_openSUSE111-1.x86_64.rpm is not installed
You are trying this in the directory where you have the rpm, do you? Thus, the shell expands it to the full name of the rpm, which rpm doesn't like. 'rpm -e VirtualBox' or 'rpm -e VirtualBox-3.1' should work.
On the other hand, here is what happens when I try to reinstall: # rpm -U VirtualBox* warning: VirtualBox-3.1-3.1.4_57640_openSUSE111-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 6dfbcbae package VirtualBox-3.1-3.1.4_57640_openSUSE111-1.x86_64 is already installed #
Yup. (but this is different from VirtualBox-3.1-3.1.4_57640_openSUSE111-1.x86_64.rpm)
When I try to reinstall from the user prompt, the response is: rpm -U VirtualBox* warning: VirtualBox-3.1-3.1.4_57640_openSUSE111-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 6dfbcbae error: can't create transaction lock on /var/lib/rpm/__db.000
Hmm, that's some other rpm action going on. Maybe a database refresh in background?
How can I remove VirtualBox from the system completely, so that I can install a clean program?
See above, or try zypper install -f VirtualBox-3.1-3.1.4_57640_openSUSE111-1.x86_64.rpm (or use the --force switch for rpm) Pit -- Dr. Peter "Pit" Suetterlin http://www.astro.su.se/~pit Institute for Solar Physics Tel.: +34 922 405 590 (Spain) P.Suetterlin@royac.iac.es +46 8 5537 8507 (Sweden) Peter.Suetterlin@astro.su.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org