[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gpg errors NO_PUBKEY after aptitude update



severity 647001 important
thanks

Hi,

Valery Mamonov <valerymamonov@gmail.com> writes:
> 2014-10-01 3:30 GMT+04:00 Ansgar Burchardt <ansgar@43-1.org>:
>> Valery Mamonov <valerymamonov@gmail.com> writes:
>> > I'm experiencing some troubles with updating my debian machine.
>> > After aptitude update i'm having multiple errors like these:
>> >
>> > W: GPG error: http://deb.ianod.es unstable InRelease: The following
>> > signatures couldn't be verified because the public key is not available:
>> > NO_PUBKEY 498F1DF0598C5C38
>>
>> Hmm, all the keys APT complains about come from /etc/apt/trusted.gpg?
>> What happens if you move them to a file in /etc/apt/trusted.gpg.d?
>>
> After moving trusted.gpg from /etc/apt to  /etc/apt/trusted.gpg.d all keys
> were missing.
> I have manually added keys, but after 'aptitude update' I've got same
> result - all keys not found.
> The size of new /etc/apt/trusted.gpg was 0 kb.
> The size of new /etc/apt/trusted.gpg.d/trusted.gpg was ~106 kb.

Are you using apt from experimental?

With apt_1.1~exp3 I could reproduce the issue: /etc/apt/trusted.gpg is
not world-readable and apt now uses a _apt user for some tasks. So it
cannot access the public keys for verification.

Please try making the keyring world-readable (chmod a+r ...).

Ansgar


Reply to: