LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Uninstalling RPM always fails on FC4 (https://www.linuxquestions.org/questions/linux-newbie-8/uninstalling-rpm-always-fails-on-fc4-383622/)

dimsh 11-16-2005 06:33 AM

Uninstalling RPM always fails on FC4
 
Hi,

On FC4 I install RPMs with "rpm -ivh" after working with the installed software I try to uninstall it with "rpm -e" and I got error message telling that the package is not installed.

"error: package webmin-1.220-1.2.fc4.rf.noarch.rpm is not installed"

when I do "rpm -qa | grep webmin", i get: "webmin-1.220-1.2.fc4.rf"

This issue is for all RPM packages , and I have it on my local FC4 server and other 2 remote servers also.

What is the problem? and how can I solve this.

perfect_circle 11-16-2005 08:17 AM

try:
Code:

rpm -e webmin
or
Code:

rpm -e webmin-1.220

dimsh 11-16-2005 09:18 AM

many thanks

the second one works :) :D

perfect_circle 11-16-2005 09:30 AM

My first command had a copy-past error. Sorry. I've corrected it.
Anyway, you remove a package by reffering to the package name. Not the rpm file name used to install the package.
Code:

rpm -e webmin
should also work.

dimsh 11-16-2005 09:47 AM

I was so :newbie: that i was typing the RPM's file name.

Thanks again.


All times are GMT -5. The time now is 12:38 PM.