LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-12-2003, 06:50 PM   #1
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
rpm -e not working?


This should be a simple thing (atleast I'm hoping, very new here), although it's giving me quite a bit of trouble. I installed my modem drivers and then found out I did not have setserial. Before I knew it'd be as easy as it was to download and install it, I was getting an error message on boot about setserial not found etc etc, so I deleted the file it was talking about from rc.d, just so I wouldn't get that message any longer. Now I wish to reinstall the driver, so it will now try to do setserial on boot, and do whatever it is it's trying to do..

if I type rpm -i packagename.rpm it says package already installed.

If I type rpm -e packagename.rpm it says package not installed.

I'm very stumped here, and have been trying to get this modem up for a while now and believe I MAY be on the right track, but I haven't been able to find anything online about what to do for this. Thanks in advance!
 
Old 08-12-2003, 08:22 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
u should do:

rpm -e package-name

ex.

rpm -i /var/cache/apt/archives/redhat-config-samba_1.0.4-1_noarch.rpm
package redhat-config-samba-1.0.4-1 is already installed

to remove:

rpm -e redhat-config-samba
 
Old 08-12-2003, 08:36 PM   #3
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
the filename is LNUX_3ComMdm-1.0-1.i386.rpm

I put in rpm -e LNUX_3ComMdm-1.0-1.i386.rpm and I get the response saying "package is not installed" or something of the like, but if I try to install it it says it already is..

Are you saying I would just put rpm -i LNUX

I'm assuming this because you put rpm -e redhat-config-samba, and stopped at the first underscore.. Thanks for the reply muchly!
 
Old 08-12-2003, 09:26 PM   #4
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
when removing you can't use the yada.yada.rpm at the end,(it's no longer an rpm, it's been unpacked and installed) just use the packagename.

rpm -e LNUX_3comMdm

Last edited by rshaw; 08-12-2003 at 09:29 PM.
 
Old 08-13-2003, 03:53 PM   #5
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
alright, I figured it out, and thanks everyone. One last question, though. Is there a command to see everything that is installed? Also installing the modem drivers didn't seem to help my modem any. I'm lost on how to fix the thing.
 
Old 08-13-2003, 04:28 PM   #6
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
To display the list of installed RPMs, type:
Code:
rpm -qa | less
Use PageUp and PageDown to scroll and q to quit.

In alphabetic order:
Code:
rpm -qa | sort | less
This one may take a few seconds to display... ... be patient...


As for the modem, I don't know.
You can post a thread in Linux - Hardware

Last edited by Mathieu; 08-13-2003 at 04:30 PM.
 
  


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
rpm isn't working, why? terry.trent Linux - Newbie 6 08-07-2004 09:36 PM
RPM not working properly kprocter Linux - General 3 03-25-2003 06:13 AM
rpm not working obli Linux - General 4 02-12-2003 01:54 PM
rpm (linuxconf) not working granny Linux - Newbie 4 12-27-2002 12:19 AM
RPM not working tristan_vdv Linux - General 2 07-23-2002 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:51 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
Open Source Consulting | Domain Registration