LinuxQuestions.org
Visit Jeremy's Blog.
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, 04: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, 04: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, 04: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, 06: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, 07: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, 01:01 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

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

Last edited by reddazz; 03-01-2005 at 01:31 AM.
 
Old 02-28-2005, 10: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, 01:31 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
kool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:24 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 01:44 AM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 10:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 08:19 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 05:55 PM


All times are GMT -5. The time now is 08:02 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration