hash changed for external rpm

Mike Bonnet mikeb at redhat.com
Tue Mar 23 21:12:08 UTC 2010


On 03/23/2010 04:41 PM, Connie Sieh wrote:
> I recently installed koji and had successfully built rpms from src.rpm's 
> for Fedora 12 and Scientific Linux(RHEL 5 rebuild).
> 
> I then started getting "hash changed for external rpm" errors while trying 
> to build a different src.rpm for the Scientific Linux repository.
> 
> -----------------------------------------------------------------------
> 5329 build (dist-sl5, bash-3.2-24.el5.src.rpm): open (sl6) -> FAILED: 
> GenericError: hash changed for external rpm: 
> termcap-5.5-1.20060701.1.noarch at dist-sl5-external-repo-base 
> (dbb20448cc979898c065cc4e551a926c -> 586d659bf4699215a13ba57a4422bb34)
> -------------------------------------------------------------------------
> 
> [root@]# rpm -qp --queryformat "%{name}\t%{sigmd5}\n" termcap-5.5-1.20060701.1.noarch.rpm
> termcap dbb20448cc979898c065cc4e551a926c
> 
> ----------------------------------------------------------------------------
> I do not understand where the "586d659bf4699215a13ba57a4422bb34" hash is 
> coming from.  How do I fix this?

dbb204 is the hash of the rpm previously recorded in the database, and
586d65 is the hash of the rpm used for this build.  I would check the
pkgorigins file in the latest repo directory to see where the termcap
rpm is coming from, and check the sigmd5 of that rpm.


More information about the buildsys mailing list