Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-28-2004, 09:18 PM   #1
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Rep: Reputation: 15
uninstall an rpm

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?
Old 01-28-2004, 09:22 PM   #2
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30

Try use "rpm -ivh --force opera-7.23-20031119.5-shared-qt.i386-en.rpm"
Old 01-28-2004, 09:32 PM   #3
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
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
Old 01-28-2004, 09:59 PM   #4
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

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


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
how to uninstall an rpm???? caleb star Fedora 1 09-04-2004 02:03 PM
rpm uninstall wedgeworth Linux - Newbie 1 05-21-2004 12:08 PM
How do you uninstall a rpm? fzx1 Linux - Newbie 12 04-09-2004 04:05 PM
rpm uninstall mikemrh9 Linux - Newbie 1 11-26-2003 09:56 PM
RPM uninstall hamish Linux - Newbie 2 09-05-2003 04:36 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration