Bug 91867
Summary: | rpmdbAdd fails with Sha1 digest mismatch on freshly grenerated package from rpm-build | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Joe Christy <joe.christy> | ||||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Mike McLean <mikem> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 8.0 | CC: | joe.christy | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i686 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-02-21 18:53:17 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: | |||||||||
Attachments: |
|
Description
Joe Christy
2003-05-29 03:27:29 UTC
Created attachment 92044 [details]
log from rpmbuild -ba -vv nagios.spec 2>&1 | tee /tmp/nagios-rpmbuild.out
I refer to this as Attachment 0 in the original report.
Created attachment 92045 [details] log from rpm -i -vv ../RPMS/i386/nagios-1.0-1.i386.rpm 2>&1 | tee /tmp/nagios-rpm-install.out I refer to this as attachment 1 [details] in the original report It would be terrific to have a list of rpm error messages and their interpretations without reading the rpm source! This just in from Karl DeBisschop (apparently the bug is in the spec file, but my comments wrt documentation still apply): On Fri, 2003-05-23 at 23:33, Joe Christy wrote: >> Karl >> >> I see that you are the latest person to touch nagios.spec. >> >> I would like to install nagios on several RedHat-8.0 systems. >> However, when I install from the RPM, either built locally from the spec >> file in nagios-1.0.tar.gz or downloaded from >> http://nagiosplug.sourceforge.net/, while it installs, it gooks up my >> rpmdb (which kind of defeats the purpose of using rpm). >> >> Specifically I see: >> >> [root@moby SPECS]# rpm -ivh ../RPMS/i386/nagios-1.0-2.i386.rpm >> Preparing... ########################################### [100%] >> uid=101(nagios) gid=102(nagios) groups=102(nagios) >> warning: group %{cmdgrp} does not exist - using root >> ... >> 1:nagios ########################################### [100%] >> error: rpmdbAdd: skipping h# 1374 Header SHA1 digest: BAD Expected(6b8dab03ea2d0d18d60cf3f17afc27c8f2039aba) != (6f2ff64643c3a9cf18485d68743fc27572a5cfdc) >> >> >> and rpm -q nagios is a NOP. Do you have any suggestions about what this >> all means, or how to fix it? I have now been able to reproduce. I am quite surprised to report that it does involve the failure to make the cmdgrp. I'm working on the fix, but I'm just too tired to comtemplate finishing the work tonight. I'll keep you posted. It turns out that once the spec was fixed to create the cmdgrp, the error went away. Upon reflection, it does seem like rpm whould be moving in a direction such that such an error would cause the install to be backed out. Of course I know how fiendishly difficult that can be to implement. I'd now call this bug a documentation bug a/o feature request. *** This bug has been marked as a duplicate of 97727 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |