LinuxQuestions.org
Visit Jeremy's Blog.
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 07-24-2003, 07:09 AM   #1
jaina2
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Rep: Reputation: 0
cannot uninstall rpm


Hi

I am running rh9 and am a total newbie (1 week old)

I am trying to install the drivers for my conexant hsfi v92 minipci modem

Initially i installed an rpm that did not seem to work with the modem, so I downloaded a new package from linuxant.com

Now I am trying to uninstall the old package using
rpm -e package name

but i get the message that the package is not present

when i try to intall the new package i get error messages saying that there is some conflict due to the old package

I went into System log and checked the rpms and found the old package listed..and thus it was not removed in the first place

I have checked my typing a number of times with rpm -e ..but still cant get to uninstall the package

I would appreciate some help

thanks
 
Old 07-24-2003, 07:26 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Make sure packagename is all one work, assuming it was driver.1.2.3.4.i386.rpm then:
rpm -e driver.1.2.3.4
Should do it, but replace "driver" with the name of the package.

Cool
 
Old 07-24-2003, 07:30 AM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Hi jaina2!!!

Welcome to LQ and Linux too. Well, I would like to ask which distro you are using, because there're plenty of tools for plenty of differents distro to help with installing/uninstalling of rpm's packages.

Anyway, try running

Code:
rpm -Uvh <package name here>
It should, instead of remove or install the previous package, update to the other one.

You can also run at the console:

Code:
whereis <package name here>
To see where it's installed.

Good luck.
 
Old 07-24-2003, 07:31 AM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Try leaving off everything past the dot (.) in the rpm name. If you post the actual downloaded file's name, I could be more specific.

You could also add the --force flag...

Maximum RPM

Last edited by fancypiper; 07-24-2003 at 07:33 AM.
 
Old 07-24-2003, 08:06 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
you are presum,ably usinfg the *FILE* name and not the package name. drop the .i386.rpm or similar from the name you are using.
 
Old 07-24-2003, 11:41 PM   #6
jaina2
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks a lot

as you suspected a newbie mistake...i was using the file name and not the package name
 
  


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
uninstall an rpm csvke Linux - Newbie 3 01-28-2004 08:59 PM
RPM uninstall hamish Linux - Newbie 2 09-05-2003 03:36 PM


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