LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   uninstall an rpm (https://www.linuxquestions.org/questions/linux-newbie-8/uninstall-an-rpm-139789/)

csvke 01-28-2004 08:18 PM

uninstall an rpm
 
Hi,
I was so stupid that i typed in this to install opera:
# rpm -Uvh opera-7.23-20031119.5-shared-qt.i386-en.rpm

And now I want to uninstall it, i tried
# rpm -evh opera-7.23-20031119.5-shared-qt.i386-en.rpm

it says
package opera-7.23-20031119.5-shared-qt.i386-en.rpm is not installed

I tried to put the parameter -i to 'properly' install that rpm but it says
package opera-7.23-20031119.5 is already installed

apparently, i went back to put -e and tried to uninstall it and it gave me the same error message
package opera-7.23-20031119.5-shared-qt.i386-en.rpm is not installed

Innit a bit stpuid?
But most importantly how can I uninstall this?
Thanks

chii-chan 01-28-2004 08:22 PM

Hi

Try use "rpm -ivh --force opera-7.23-20031119.5-shared-qt.i386-en.rpm"

csvke 01-28-2004 08:32 PM

instead.
i just used
#rpm -evh --nodeps opera

and it seems ok..

got nothing related to Opera when i type
#locate opera

and i manually removed /usr/lib/opera and /usr/share/opera

hope it's ok

Thanks man

Allen614 01-28-2004 08:59 PM

rpm -e does not take the full package name. Only the program name. That's why it worked the second time.


All times are GMT -5. The time now is 12:31 PM.