Bug 6040 - rpm is not updating the installed database
Summary: rpm is not updating the installed database
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 6.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-10-18 11:42 UTC by cormacj
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-10-19 19:32:42 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.