LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-27-2007, 07:23 PM   #1
rturney
Member
 
Registered: Mar 2005
Distribution: SUSE 10.2
Posts: 33

Rep: Reputation: 15
Question Can't uninstall VMware-server


I have gotten myself into a dilema with VMware. I can't uninstall VMware-server. I had installed it with YaST (running SUSE 10.2) and wanted to redo the install because I followed the wrong instructions on the post-install. When I try to remove with YaST it fails with the following messaage:
Quote:
---
/var/tmp/rpm-tmp.11626: line 34: /etc/vmware/installer.sh: No such file or directory

error: %preun(VMware-server-1.0.1-29996.i386) scriptlet failed, exit status 127

2007-02-27 18:59:13 VMware-server-1.0.1-29996.i386 remove failed
rpm output:
/var/tmp/rpm-tmp.73235: line 34: /etc/vmware/installer.sh: No such file or directory

error: %preun(VMware-server-1.0.1-29996.i386) scriptlet failed, exit status 127
Trying "rpm -qa | grep vmware" returned no results. In desperation I tried "rpm -e VMware-server-1.0.1-29996.i386" which returned:
Quote:
/var/tmp/rpm-tmp.70447: line 34: /etc/vmware/installer.sh: No such file or directory

error: %preun(VMware-server-1.0.1-29996.i386) scriptlet failed, exit status 127
Then I deleted all the vmware directories and went back to YaST expecting the VMware-server to be gone, but it was still listed in YaST as "installed"! I retried uninstalling it in YaST but got the same error.

At this point I tried reinstalling it by right-clicking on the rpm and selecting "Open with | Install software". I got this result:

Quote:
Transaction failed: Transaction preparation failed: Package VMware-server-1.0.1-29996 is already installed.
I would welcome any ideas on this.

Thanks,
-Bob
 
Old 02-27-2007, 08:47 PM   #2
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Code:
chris@ubuntu:~$ vmware (hit tab twice to see all of these)
vmware/              vmware-config.pl     vmware-serverd
vmware-authd         vmware-loop          vmware-uninstall.pl
vmware-authtrusted   vmware-mount.pl      vmware-vdiskmanager
vmware-cmd           vmware-ping          
chris@ubuntu:~$ vmware
Run it as root.
 
Old 02-27-2007, 09:37 PM   #3
rturney
Member
 
Registered: Mar 2005
Distribution: SUSE 10.2
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks, but the vmware-uninstall.pl file is nowhere to be found, even in the trash. I have tried everything I know (which isn't that much - ha,ha) to remove it. As I mentioned, I even tried to reinstall it and that fails saying its already installed. There must be a way to remove it or at least make YaST think its gone. Why does YaST think it is still installed?
 
Old 03-01-2007, 11:20 AM   #4
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
You want to redo the install because you messed up on the post install. Did you mess up after running vmware-config.pl? If so, just run it again, and it probably needs to be ran as root. I am not familar with the package manager of Suse, but I know dpkg and apt of Debian/Ubuntu and a little of rpm/yum of Redhat/Fedora. Are you sure you were not supposed to type this?

rpm -e VMware-server-1.0.1-29996

Instead of this

rpm -e VMware-server-1.0.1-29996.i386

What happens when you try to install the rpm using the rpm -i command? It sounds like your package manager is broke. If you can't resolve the problem, you might want to use a different package manager next time such as apt, but that would mean switching to either Debian or Ubuntu. You can also install vmware server from a package with a script that you run that is downloaded from the vmware website instead of using the rpm package. The install is probably more complicated and involves compiling a kernel module, but it worked for me, and that's how I have vmware server running under Ubuntu 6.10.

Last edited by fakie_flip; 03-01-2007 at 11:26 AM.
 
Old 03-01-2007, 06:28 PM   #5
rturney
Member
 
Registered: Mar 2005
Distribution: SUSE 10.2
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Are you sure you were not supposed to type this?

rpm -e VMware-server-1.0.1-29996

Instead of this

rpm -e VMware-server-1.0.1-29996.i386

What happens when you try to install the rpm using the rpm -i command?
# rpm -e VMware-server-1.0.1-29996
/var/tmp/rpm-tmp.73247: line 34: /etc/vmware/installer.sh: No such file or directory
error: %preun(VMware-server-1.0.1-29996.i386) scriptlet failed, exit status 127

# rpm -i VMware-server-1.0.1-29996.i386
error: open of VMware-server-1.0.1-29996.i386 failed: No such file or directory

# rpm -i VMware-server-1.0.1-29996.i386.rpm
package VMware-server-1.0.1-29996 is already installed

# rpm -e VMware-server-1.0.1-29996.i386.rpm
error: package VMware-server-1.0.1-29996.i386.rpm is not installed

Last edited by rturney; 03-01-2007 at 06:30 PM.
 
Old 03-02-2007, 11:28 PM   #6
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Quote:
Trying "rpm -qa | grep vmware" returned no results. In desperation I tried "rpm -e VMware-server-1.0.1-29996.i386" which returned...
If the name has captial letters in it, then you need to do this instead, but I thought all packages had lowercase letters in their names. Your distro might be different. You package manager seems broken. Your should try apt. It's been my favorite of all.

Code:
rpm -qa|grep -i vmware

Last edited by fakie_flip; 03-02-2007 at 11:30 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vmware server install error, The VMware VmPerl Scripting API was not installed. fakie_flip Linux - Software 4 12-28-2008 04:49 AM
Cannot uninstall VMWare Workstation from winXP SP2 greeting General 4 10-06-2006 11:59 PM
LXer: VMware Introduces Free VMware Server LXer Syndicated Linux News 0 02-07-2006 08:46 AM
Uninstall VMWare apachedude Slackware 2 03-19-2005 10:39 PM
Uninstall VMware israel Linux - Software 4 05-01-2004 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration