Web Hosting Talk







View Full Version : Problems removing an rpm that isn't really installed.


DSD
08-21-2003, 10:19 AM
I'd like to install netpbm, so I found the right rpm for my cpanel 7.3 system. I run the install, and get this:



Retrieving ftp://ftp.rpmfind.net/linux/redhat/updates/7.3/en/os/i386/netpbm-9.24-9.73.2.i386.rpm
Preparing... ########################################### [100%]
package netpbm-9.24-9.80.2 (which is newer than netpbm-9.24-9.73.2) is already installed
root@myserver [~]#



looks like netpbm for redhat 8.0 to me...
So, I try this:



root@myserver [~]# rpm -e ftp://ftp.rpmfind.net/linux/redhat/updates/8.0/en/o
m-9.24-9.80.2.i386.rpm
error: package ftp://ftp.rpmfind.net/linux/redhat/updates/8.0/en/os/i386/net
0.2.i386.rpm is not installed



Any ideas on how to either get the old rpm out, or possibly force the install of the new rpm?

Thanks,
Terry

MattF
08-21-2003, 10:42 AM
When using -e you don't specify the url.

Just try

rpm -e netpbm-9.24-9.80.2

chirpy
08-22-2003, 12:55 PM
Indeed. If MattF's suggestion doesn't work, just get the correct name from rpm first:

rpm -qa | grep netpbm