Hello,

i have a problem with "apt update", everytime i execute the command, i get the following error messages:

Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48,0 kB]
Get:2 http://deb.debian.org/debian bookworm InRelease [193 kB]
Err:1 http://security.debian.org/debian-security bookworm-security InRelease  The following signatures were invalid: BADSIG 112695A0E562B32A Debian Security Archive Automatic Signing Key (10/buster) <ftpmas...@debian.org>
Err:2 http://deb.debian.org/debian bookworm InRelease
 The following signatures were invalid: BADSIG 648ACFD622F3D138 Debian Archive Automatic Signing Key (10/buster) <ftpmas...@debian.org>
Fetched 241 kB in 0s (507 kB/s)
Reading package lists... Done
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/debian-security bookworm-security InRelease: The following signatures were invalid: BADSIG 112695A0E562B32A Debian Security Archive Automatic Signing Key (10/buster) <ftpmas...@debian.org> W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian bookworm InRelease: The following signatures were invalid: BADSIG 648ACFD622F3D
138 Debian Archive Automatic Signing Key (10/buster) <ftpmas...@debian.org>
W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease  The following signatures were invalid: BADSIG 648ACFD622F3D138
Debian Archive Automatic Signing Key (10/buster) <ftpmas...@debian.org>
W: Failed to fetch http://security.debian.org/debian-security/dists/bookworm-security/InRelease  The following signatures were invalid: BADSIG 112695A0E562B32A Debian Security Archive Automatic Signing Key (10/buster) <ftpmas...@debian.org> W: Some index files failed to download. They have been ignored, or old ones used instead.

I use Debian 12. The only changes i did before the problem occurred, were the installation of apt-cacher-ng and i ran "mach bootstrap" in a chroot. I don't think, the last thing would change this much the operating system, although it was a stupid idea. Even more stupid, since the solution for my problem  was the installation of "sudo" in the chroot. 🙁 So maybe the first one is responsible for the problem.

So far I tried the following configurations for apt-cacher-ng, to resolve the problem:

Acquire::http::proxy "http://localhost:3142";;
Acquire::https::proxy "https://";;

and

Acquire::http {Proxy "http://127.0.0.1:3142";; };
Acquire::https {Proxy "https://";; };

but none solved it.

I hope someone can help me with my problem. Thank you in advance.

Best Regards
Dennis

Reply via email to