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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-21-2003, 03:58 PM
|
#1
|
LQ Newbie
Registered: Apr 2003
Location: Montevideo, Uruguay
Distribution: Redhat 9
Posts: 4
Rep:
|
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!
|
|
|
04-21-2003, 04:01 PM
|
#2
|
Member
Registered: Dec 2002
Posts: 263
Rep:
|
reinstall it with rpm -i --force wine
or try rpm -e --force wine
|
|
|
04-21-2003, 04:23 PM
|
#3
|
LQ Newbie
Registered: Apr 2003
Location: Montevideo, Uruguay
Distribution: Redhat 9
Posts: 4
Original Poster
Rep:
|
When i tried with that it seems to freeze and i can do nothing...
i must aborting with CTRL + C
any ideas? 
|
|
|
04-21-2003, 04:29 PM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
Try doing:
rm -f /var/rpm/lib/__db*
rpm --rebuilddb
The second command may take some time.
|
|
|
04-21-2003, 04:33 PM
|
#5
|
Member
Registered: Dec 2002
Posts: 263
Rep:
|
?????? 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
|
|
|
04-21-2003, 04:35 PM
|
#6
|
Member
Registered: Dec 2002
Posts: 263
Rep:
|
@ Acid:
Your sugestion is better !
Bruno
|
|
|
04-21-2003, 04:51 PM
|
#7
|
LQ Guru
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
|
redhat has a software manager called redhat-config-package
|
|
|
04-21-2003, 10:51 PM
|
#8
|
Member
Registered: Apr 2003
Posts: 68
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 11:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|