LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 15
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
 
Old 01-28-2004, 08:22 PM   #2
chii-chan
Member
 
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
Hi

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

Original Poster
Rep: Reputation: 15
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
 
Old 01-28-2004, 08:59 PM   #4
Allen614
Member
 
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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