Bug 6040

Summary: rpm is not updating the installed database
Product: [Retired] Red Hat Linux Reporter: cormacj
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-10-19 19:32:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description cormacj 1999-10-18 11:42:07 UTC
I have been trying to update apache and php to accept mysql.
I have to install the sources and recompile with the
switches for mysql.

rpm doesn't seem to update the installed database once
source has been installed. As a result I'm getting a failure
on php because rpm can't determine that a srpm package has
been installed.

eg:
[root@dns SRPMS]# rpm --version
RPM version 3.0.3
[root@dns SRPMS]# rpm -ivh  apache-1.3.9-4.src.rpm
apache
##################################################
[root@dns SRPMS]# rpm -ivh  apache-1.3.9-4.src.rpm
apache
##################################################
[root@dns SRPMS]# rpm -ivh  apache-1.3.9-4.src.rpm
apache
##################################################
[root@dns SRPMS]# rpm -q  apache-1.3.9-4.src.rpm
package apache-1.3.9-4.src.rpm is not installed
[root@dns SRPMS]#

Comment 1 Jeff Johnson 1999-10-19 19:32:59 UTC
Source rpm's are never installed in the rpm database. You probably
are failing to build because of a build dependency on a binary
rpm.