LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem uninstalling a RPM (https://www.linuxquestions.org/questions/linux-software-2/problem-uninstalling-a-rpm-56144/)

PeL 04-21-2003 03:58 PM

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!

onurb 04-21-2003 04:01 PM

reinstall it with rpm -i --force wine
or try rpm -e --force wine

PeL 04-21-2003 04:23 PM

When i tried with that it seems to freeze and i can do nothing...
i must aborting with CTRL + C

any ideas? :confused:

Crashed_Again 04-21-2003 04:29 PM

Try doing:

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

The second command may take some time.

onurb 04-21-2003 04:33 PM

?????? 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

onurb 04-21-2003 04:35 PM

@ Acid:
Your sugestion is better ! ;)

Bruno

nakkaya 04-21-2003 04:51 PM

redhat has a software manager called redhat-config-package

looper 04-21-2003 10:51 PM

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 09:07 AM.