Uninstalling rpm's
Hello.
I have problems uninstalling rpm's packages. I installed a package.rpm using this command: rpm -i package.rpm all went smooth. Now, i'd like to uninstall it. I tried using rpm -e package.rpm , but the answer was: package.rpm is not installed ?? What am i doing wrong? (btw: i'm using FC2). 10x 4 help! |
"What am i doing wrong?"
When you install you use the complete file name in the rpm -i command. rpm -i package-xx-xx.rpm When you uninstall you use just the package name in the rpm -e command. Try: rpm -e package If you don't know the exact spelling of the package name use: rpm -qa | sort | less to get an alphabetical list of your package names. ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
rpm -e rpmname dont add the .rpm at the end leave it out.
|
10x guys!!
|
Same problem unistalling java
I am having a very similar problem. I am trying to unistall the package j2re-1_4_2_04-linux-i586.rpm . The RPM -i command tells me the package is installed. Yet using rpm -e j2re-1_4_2_04-linux-i586 will not remove it, saying the package is not installed. I have also tried rpm -e --force -nodps j2re-1_4_2_04-linux-i586. Any other ideas how to remove and rpm that is there but the comptuer thinks is not? I am using FCII, fully updated
|
Me too, it will not allow me to query or anything, yet when I try to install it after I try to uninstall it, it tells me package is already installed. I know there is a system log that keeps track of all the rpms installed on the system, maybe it needs to reference to that and its getting the wrong location. But I never changed that before and it worked at one time. Anyone know what's going on?
|
The package name might not be exactly the same as the filename minus the .rpm end. Try to find it in a gui package manager, or try some variation like j2re-1_4_2_04.
|
All times are GMT -5. The time now is 03:24 AM. |