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

Re: Errors using "apt update"



On Tue, 17 Nov 2020 12:10:08 -0500, Jerry Mellon wrote:
> Gentleman/Ladies
> 
> I have experienced a problem using "apt update". The program appears
> to work, but I end up with the list of errors.
> 
> [...] 
> 

Run the following command: apt-key list --keyid-format LONG, then
Check if you have the correct public key.

For example, for the following error

> W: An error occurred during the signature verification. The repository
> is not updated and the previous index files will be used. GPG error: 
> http://security.debian.org buster/updates InRelease: The following
> signatures couldn't be verified because the public key is not
> available: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A

Normally you should be able to find the following output(contains the
public key ID that is indicated in the error message):

...
/etc/apt/trusted.gpg.d/debian-archive-buster-security-automatic.gpg
-------------------------------------------------------------------
pub   rsa4096/4DFAB270CAA96DFA 2019-04-14 [SC] [expires: 2027-04-12]
      Key fingerprint = 5E61 B217 265D A980 7A23  C5FF 4DFA B270 CAA9
6DFA
uid                 [ unknown] Debian Security Archive Automatic
Signing Key (10/buster) <ftpmaster@debian.org>
sub   rsa4096/112695A0E562B32A 2019-04-14 [S] [expires: 2027-04-12]
...

/etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg
--------------------------------------------------------------------
pub   rsa4096/EDA0D2388AE22BA9 2017-05-22 [SC] [expires: 2025-05-20]
      Key fingerprint = 6ED6 F5CB 5FA6 FB2F 460A  E88E EDA0 D238 8AE2
2BA9
uid                 [ unknown] Debian Security Archive Automatic
Signing Key (9/stretch) <ftpmaster@debian.org>
sub   rsa4096/AA8E81B4331F7F50 2017-05-22 [S] [expires: 2025-05-20]


If you cannot find these public keys, you may need to obtain and import
them manually.

But the problem is that these public keys are included in the debian
distribution by default. If everything was normal before, where did
these public keys go? This may be a problem that you need to check.

-- 
PGP fingerprint: 3C47 5977 4819 267E DD64  C7E4 6332 5675 A739 C74E

Attachment: pgphRGjjCjvCW.pgp
Description: OpenPGP digital signature


Reply to: