Fedora Linux Support Community & Resources Center
  #1  
Old 28th November 2011, 05:40 PM
input Offline
Registered User
 
Join Date: Nov 2010
Posts: 231
linuxfedorafirefox
rpm -e is not working

i want to remove the package lexmark/z600cups-1.0-1.i386.rpm but it sys that it is not installed.
What else can I do to remove the package.

Thanks
Reply With Quote
  #2  
Old 28th November 2011, 05:48 PM
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 7,334
linuxfirefox
Re: rpm -e is not working

how you remove it would depend upon how you installed it.

If you install it from the tar.gz file, then it won't be in the rpm database.

If you installed it with rpm or yum, then you can remove it with rpm or yum.

try this to remove it:

Code:
su -
(root password)

yum remove z600cups
Reply With Quote
  #3  
Old 29th November 2011, 12:00 PM
input Offline
Registered User
 
Join Date: Nov 2010
Posts: 231
linuxfedorafirefox
Re: rpm -e is not working

lexmark]# yum remove z600cups-1.0-1.i386.rpm
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Remove Process
No Match for argument: z600cups-1.0-1.i386.rpm
No Packages marked for removal
Reply With Quote
  #4  
Old 29th November 2011, 12:05 PM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: rpm -e is not working

Run the command given ( you broke the last suggestion by adding .rpm to it).

Code:
su
yum remove z600cups\*
Reply With Quote
  #5  
Old 29th November 2011, 09:04 PM
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 4,218
linuxfirefox
Re: rpm -e is not working

right.

what's going on here is that both rpm and yum commands act on rpm's database of packages that are installed: they don't act on a file. otherwise, you couldn't delete a .rpm file after you'd installed it: you'd have to keep every .rpm file you'd ever installed around somewhere in order to be able to remove them. which would be a bit silly.

so you can't do an rpm removal operation on a file, exactly. that's just...not how the system works. you're removing something that's listed in rpm's database of installed files; which is a package name, not a filename with a .rpm extension.

i'd expect 'yum remove z600cups', 'rpm -e z600cups', 'yum remove z600cups-1.0-1.i386', 'rpm -e z600cups-1.0-1.i386' would all work. but not the commands you tried.
__________________
Adam Williamson | awilliam AT redhat DOT com
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
Reply

Tags
rpm, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fingerprint reader mysteriously stopped working (hardware detected, but not working) THEcreationist Hardware & Laptops 0 16th November 2010 02:58 PM
F8: Mic not working, sound not working, pulseaudio IS working... garbagio7 Hardware & Laptops 0 5th April 2008 11:06 PM
after working fine for a year, server stops working & displays weird symptoms. nkoplm Servers & Networking 3 5th May 2007 11:42 PM
Fedora 5 - amsn not working, flash not working, java not working =*> try this snecci Using Fedora 6 27th April 2006 12:38 PM
Fedora 5 - amsn not working, flash not working, java not working =*> try this snecci Using Fedora 0 5th April 2006 07:50 AM


Current GMT-time: 16:15 (Wednesday, 26-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Liwonde Travel Photos - Supaul Photos on Instagram - Padre Bernardo Photos on Instagram