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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-24-2003, 08:09 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 16
Rep:
|
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
|
|
|
07-24-2003, 08:26 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
07-24-2003, 08:30 AM
|
#3
|
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337
Rep:
|
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.
|
|
|
07-24-2003, 08:31 AM
|
#4
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
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 08:33 AM.
|
|
|
07-24-2003, 09:06 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
07-25-2003, 12:41 AM
|
#6
|
LQ Newbie
Registered: Jul 2003
Posts: 16
Original Poster
Rep:
|
Thanks a lot
as you suspected a newbie mistake...i was using the file name and not the package name
|
|
|
All times are GMT -5. The time now is 01:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|