pld rpm 5.4.17

Jakub Bogusz qboosh at pld-linux.org
Thu Feb 23 21:36:13 CET 2017


On Thu, Feb 23, 2017 at 01:43:14PM -0500, Jeffrey Johnson wrote:
> This one is left though:
> 
> > error: db3: header #187105280 cannot be loaded -- skipping.
> > error: db3: header #4127850496 cannot be loaded -- skipping.
> 
> How to check what these "headers" mean?
> (old, unsupported keys? some old packages with missing fields which are
> now required?)
> The error message is printed on a headerCopyLoad() failure.
> 
> The failure is usually an indication of header damage of some sort, not missing fields now required.
> 
> The numbers  are  primary keys into Packages printed in in decimal.
> 
> The values appear to be in the wrong-endian order when converted to hex
> 	0xB270000
> 	0xF60A0000
> 
> You can try finding the header by doing, say, rpm -q ???querybynumber 0xB270000
> (or its reverse: its unclear what order).

Same result for bigger values, no result after swapping bytes:

-bash-4.4# rpm -q --querybynumber 0xF60A0000
error: rpmdb: header #4127850496 cannot be loaded -- skipping.
-bash-4.4# rpm -q --querybynumber 0x00000AF6
-bash-4.4# rpm -q --querybynumber 0xB270000
error: rpmdb: header #187105280 cannot be loaded -- skipping.
-bash-4.4# rpm -q --querybynumber 0x0000270B
-bash-4.4#


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list