Dnia poniedziałek, 31 marca 2014 16:38:39 Александр Бурмашев pisze:
> Use of uninitialized value in split at
> /usr/lib/perl5/vendor_perl/5.16.3/x86_64-linux-thread-multi/URPM/Signature.p
> m line 32.
> No wonder key is not added :)
> 

Sorry to say but above is not an issue :) Intializing $p->description //'' 
silences this warning

I've debugged a little bit.

First pubkey is being downloaded to /var/cache/urpmi/partial/pubkey by 
function _download_pubkey from media.pm

Then _read_cachedir_pubkey is being started which examines the pubkey and 
finally URPM::import_needed_pubkeys_from_file($db,"$urpm-
>{cachedir}/partial/pubkey", tries to import /var/cache/urpmi/partial/pubkey 

and  function import_needed_pubkeys_from_file  perl-URPM/URPM/Signature.pm is 
called which returns 1 when pubkey matches gpg-pubkey from parse_pubkeys_
$db->traverse_tag('name', [ 'gpg-pubkey' ],

I think there is some issue with getting gpg-key from RPM db.


rpm -q gpg-pubkey|sort
gpg-pubkey-bf81de15-51817942

Removed all gpg-keys
rpm -e --allmatches gpg-key




-- 
Cheers
TPG

Attachment: signature.asc
Description: This is a digitally signed message part.



Reply via email to