Glen Lee Edwards wrote:
> I recently re-installed 6.1, and now the system isn't keeping accurate
> track of installed rpms.  Yesterday I installed mod_ssl.  I just tried to
> uninstall it and received the following message:
> 
> $ rpm -e mod_ssl-2.6.0_1.3.12-1.i586.rpm
> error: package mod_ssl-2.6.0_1.3.12-1.i586.rpm is not installed
> 
> But if I try to install it:
> 
> $ rpm -i mod_ssl-2.6.0_1.3.12-1.i586.rpm
> package mod_ssl-2.6.0_1.3.12-1 is already installed
> 
> 1) I need to remove the package (it is installed).  What do I do?
> 2) How do I fix the rpm database so it knows what's installed and what
> isn't? I've tried rpm --rebuilddb but that didn't work.

It's a quirk of the RPM system.  

This won't ever work:

rpm -e mod_ssl-2.6.0_1.3.12-1.i586.rpm

But this will:

rpm -e mod_ssl

and this should as well:

rpm -i mod_ssl-2.6.0_1.3.12-1

The -i option will take a filename, but the -e option will not.  The -e
option will only take a package name (version optional).

-W-

 Heghlu'meH QaQ jajvam 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to