LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-21-2003, 04:58 PM   #1
PeL
LQ Newbie
 
Registered: Apr 2003
Location: Montevideo, Uruguay
Distribution: Redhat 9
Posts: 4

Rep: Reputation: 0
Problem uninstalling a RPM


Hi

I have a problem trying to uninstall the Wine RPM package.

I did an non work install and then, when i tried to uninstalling typing:

rpm -e wine

I get this error:

error: %preun(wine-20030408-1rh8winehq) scriptlet failed, exit status 1

I need to uninstall it first for reinstall it then.

(Sorry for my bad english)

Thanks!
 
Old 04-21-2003, 05:01 PM   #2
onurb
Member
 
Registered: Dec 2002
Posts: 263

Rep: Reputation: 30
reinstall it with rpm -i --force wine
or try rpm -e --force wine
 
Old 04-21-2003, 05:23 PM   #3
PeL
LQ Newbie
 
Registered: Apr 2003
Location: Montevideo, Uruguay
Distribution: Redhat 9
Posts: 4

Original Poster
Rep: Reputation: 0
When i tried with that it seems to freeze and i can do nothing...
i must aborting with CTRL + C

any ideas?
 
Old 04-21-2003, 05:29 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Try doing:

rm -f /var/rpm/lib/__db*
rpm --rebuilddb

The second command may take some time.
 
Old 04-21-2003, 05:33 PM   #5
onurb
Member
 
Registered: Dec 2002
Posts: 263

Rep: Reputation: 30
?????? scratch scratch,
Does RedHat not have a software-manager ?
Or try with Midnight Commander, if you have not got it install it, great tool, all functions under F2 !

Bruno
 
Old 04-21-2003, 05:35 PM   #6
onurb
Member
 
Registered: Dec 2002
Posts: 263

Rep: Reputation: 30
@ Acid:
Your sugestion is better !

Bruno
 
Old 04-21-2003, 05:51 PM   #7
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
redhat has a software manager called redhat-config-package
 
Old 04-21-2003, 11:51 PM   #8
looper
Member
 
Registered: Apr 2003
Posts: 68

Rep: Reputation: 15
Before unistalling you have to check for dependencies. Wine has dependencies.
cl: rpm -q --whatrequires <package>
After that run:
rpm -evv <package>|more
the -vv <> |more shows the output so you will see what was deleted
 
  


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
problem uninstalling rpm packages..... sunnysharma Linux - Newbie 5 02-20-2005 04:35 PM
rpm uninstalling dangerousdave Linux - Newbie 3 02-15-2005 07:04 PM
uninstalling using rpm -e ako Linux - Newbie 1 03-26-2004 06:11 AM
*** uninstalling with rpm *** gary.chan Linux - Software 2 06-29-2003 03:58 AM
Uninstalling a none RPM package Wolf Linux - Newbie 7 07-21-2002 10:30 PM


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