rpm -Va BAD, key ID

Elan Ruusamäe glen at pld-linux.org
Thu Feb 12 10:44:58 CET 2015


On 11.02.2015 19:58, Jeffrey Johnson wrote:
>> i found something weird, if i do rpm -V pkgname, the header verification error is not printed, but rpm -Va shows the error for every package (besides gpg-pubkey) in the system.
>> >
> Shows WHAT error? I'm missing something here: either rpm -Va is silent (as above) or its not (as you say here)?
> Which is it?
i forgot "ps:", as the line starting with "i found something weird" 
started new output with old version where problem was not patched out.

basically "rpm -Va |wc -l" says header errors, while "foreach $packages; 
rpm -Va $package; done | wc -l" says nothing, thus rpm -V $pkgname does 
not emit header errors.

>
> Are you compiling rpm with OPENMP? The --verify code paths are multi-threaded.
>
>> ># for a in `rpm -qa`; do rpm -V $a; done >/dev/null
>> >#
>> >
>> >and:
>> >
>> ># rpm -Va >/dev/null 2>out
>> ># head -n 3 out
>> >error: rpmdb (h#3): Header V4 DSA signature: BAD, key ID e4f1bc2d
>> >error: rpmdb (h#4): Header V4 DSA signature: BAD, key ID e4f1bc2d
>> >error: rpmdb (h#5): Header V4 DSA signature: BAD, key ID e4f1bc2d
>> ># tail -n 3 out
>> >error: rpmdb (h#255): Header V4 DSA signature: BAD, key ID e4f1bc2d
>> >error: rpmdb (h#256): Header V4 DSA signature: BAD, key ID e4f1bc2d
>> >error: rpmdb (h#257): Header V4 DSA signature: BAD, key ID e4f1bc2d
>> ># rpm -qa|wc -l
>> >186
>> ># wc -l out
>> >177 out


-- 
glen



More information about the pld-devel-en mailing list