[NTLUG:Discuss] RPM confused question

Jack Snodgrass jack at jacksnodgrass.com
Sun Jan 4 09:56:20 CST 2004


On Sun, 2004-01-04 at 09:45, Ted wrote:
> I'm trying to install ProFTP and I'm having trouble with installing a 
> prerequisite package "openssl.vers.rpm".
> 
> If I enter <rpm -U openssl.vers.rpm> the system returns "The package is 
> already installed", yet PROftp believes it is not.
> If I enter <rpm -ql openssl.vers.rpm> the system returns "The package is 
> not installed".  Same if I try to uninstall the package using <rpm -e 
> openssl.vers.rpm>
> 

rpm is the file extension... not part of the package name... do 
rpm -ql openssl 
instead. ( I've see this error often enough to think that RPM should 
be smart enought to strip off the .rpm extension if someone supplies
it witha -q option. ) 

also... ProFTP may use one method to see if openssl is installed
but not be using the same methoed that the openssl.rpm package
uses to show that it's installed. ( if you use RPM packages from
different people, sometimes they don't detected each other well. ) 
Some rpm install things check the rpm database ( I guess ) but I 
know that some check to see if a file is in a certain place on the
file system. you may have openssl installed in /usr/local and the 
ProFTP expects it to be installed in /usr. The ProFTP author probably
isn't testing this on your distribution.


if your sure that openssl is installed then do 
rpm --nodeps -Uhv ProFTP.file.name.rpm
and it will install even if it thinks that openssl is not
installed. 


> Is there a way to rebuild the packages database to show what is actually 
> installed, or to modify the database so that the package will reinstall?
yes... but I don't think that that will help. 


> 
> Thanks, Ted
> 
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 




More information about the Discuss mailing list