LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2005, 03:50 PM   #1
tgreiner
LQ Newbie
 
Registered: Jan 2005
Posts: 20

Rep: Reputation: 0
Help with rpm


I don't think I'm using rpm correctly. I've got RedHat 9 and I've tried to install wine and a trial version of VMwareWorkstation -- following the directions as closely as I could.

Each install had problems, and ended up with a partial installation -- I got dependecy error messages during the installations -- but that's a question for another time.

Right now I want to uninstall both packages. I am operating as the superuser. When I input rpm -q I get the response that both packages are installed. When I try to uninstall them I get an error message. I provide the following dialog with my computer as an example:

# rpm -q VMWareWorkstation
WMwareWorkstation-4.5.2-8848
# rpm -e WMwareWorkstation-4.5.2-8848
error: %preun(VMwareWorkstation-4.5.2-8848) scriplet failed, exit status 127
#

So what does this mean? And, what do I do about it?

Thanks,
 
Old 02-25-2005, 03:52 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
IIRC, you just specify the name, not the version, to uninstall...i.e.:

rpm -e VMWareWorkstation

but it's been a LONG time since I last used deadrat package manager.
 
Old 02-25-2005, 03:57 PM   #3
tgreiner
LQ Newbie
 
Registered: Jan 2005
Posts: 20

Original Poster
Rep: Reputation: 0
When I do that (rpm -e <just the name>) I get the same response for trying to uninstall VMwareWorkstation as I mentioned above. When I type rpm -e wine I get:

-bash: rpm: command not found
 
Old 02-25-2005, 05:17 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally posted by tgreiner
When I do that (rpm -e <just the name>) I get the same response for trying to uninstall VMwareWorkstation as I mentioned above. When I type rpm -e wine I get:

-bash: rpm: command not found
You need to be root...
 
Old 02-25-2005, 06:32 PM   #5
tgreiner
LQ Newbie
 
Registered: Jan 2005
Posts: 20

Original Poster
Rep: Reputation: 0
I am doing this as root.
 
Old 02-26-2005, 12:01 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Since its a broken package try removing it using "rpm -e --noscripts packagename"

Last edited by reddazz; 03-01-2005 at 12:31 AM.
 
Old 02-28-2005, 09:37 AM   #7
tgreiner
LQ Newbie
 
Registered: Jan 2005
Posts: 20

Original Poster
Rep: Reputation: 0
rpm -e --noscritps <name>
successfully removed the package.

Thanks
 
Old 03-01-2005, 12:31 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
kool
 
  


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
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 12:44 AM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:43 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