LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-09-2004, 02:16 PM   #1
fzx1
Member
 
Registered: Apr 2004
Posts: 31

Rep: Reputation: 15
How do you uninstall a rpm?


Using Fedora Core 1
 
Old 04-09-2004, 02:19 PM   #2
kosta22
LQ Newbie
 
Registered: Apr 2004
Posts: 24

Rep: Reputation: 15
RTFM
 
Old 04-09-2004, 02:22 PM   #3
fzx1
Member
 
Registered: Apr 2004
Posts: 31

Original Poster
Rep: Reputation: 15
so in terminal

rtfm filename.rpm?
 
Old 04-09-2004, 02:25 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
rpm -e filename.rpm for further reading

man rpm
 
Old 04-09-2004, 02:27 PM   #5
fzx1
Member
 
Registered: Apr 2004
Posts: 31

Original Poster
Rep: Reputation: 15
[root@localhost jeff]# rpm -e wine-20040309-1fc1winehq.i386.rpm
error: package wine-20040309-1fc1winehq.i386.rpm is not installed

it is for sure installed. any ideas?
 
Old 04-09-2004, 02:33 PM   #6
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
don't put the file extension on. the blah.i386.rpm part, it's installed,its not an rpm anylonger. rpm -e wine
 
Old 04-09-2004, 02:35 PM   #7
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
kosta22, if all you have to say is rtfm, don't post at all.
 
Old 04-09-2004, 02:35 PM   #8
fzx1
Member
 
Registered: Apr 2004
Posts: 31

Original Poster
Rep: Reputation: 15
tyvm!
 
Old 04-09-2004, 02:37 PM   #9
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
my apologies indeed for the syntax error, i don't use rpms frequently. sorry.
 
Old 04-09-2004, 02:42 PM   #10
fzx1
Member
 
Registered: Apr 2004
Posts: 31

Original Poster
Rep: Reputation: 15
[root@localhost jeff]# rpm -e wine
error reading information on service wine: No such file or directory
error: %preun(wine-20040309-1fc1winehq) scriptlet failed, exit status 1

any ideas?
 
Old 04-09-2004, 02:51 PM   #11
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
ok, try the whole name (all but the .i386.rpm bit.)
rpm -e wine-20040309-1fc1winehq
 
Old 04-09-2004, 02:52 PM   #12
fzx1
Member
 
Registered: Apr 2004
Posts: 31

Original Poster
Rep: Reputation: 15
same error.

you guys are right it is

rpm -e wine

its just being ghey.

Last edited by fzx1; 04-09-2004 at 02:55 PM.
 
Old 04-09-2004, 03:05 PM   #13
fzx1
Member
 
Registered: Apr 2004
Posts: 31

Original Poster
Rep: Reputation: 15
ok im going to reinstall it because it looks like it removed alot of the files but left the directories.

i do

[root@localhost jeff]# rpm -i wine-20040309-1fc1winehq.i386.rpm --replacepkgs

should i get a response right away? right now it just goes to the next line with a blinking cursor.
 
  


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
uninstall an rpm csvke Linux - Newbie 3 01-28-2004 08:59 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 01:50 AM.

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