Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3395

[Solved] Apt invalid signatures

$
0
0
Hi. Sorry if I can't express myself very well in English as it's not my primary language, I'll do my best. I've installed Debian 12.5 XFCE some days ago. Yesterday, when I ran

Code:

sudo apt update
I got...

Code:

Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]Hit:2 http://deb.debian.org/debian bookworm InReleaseGet:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]Err:1 http://security.debian.org/debian-security bookworm-security InRelease  At least one invalid signature was encountered.Err:2 http://deb.debian.org/debian bookworm InRelease  At least one invalid signature was encountered.Err:3 http://deb.debian.org/debian bookworm-updates InRelease  At least one invalid signature was encountered.Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneAll packages are up to date.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: At least one invalid signature was encountered.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: At least one invalid signature was encountered.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-updates InRelease: At least one invalid signature was encountered.W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease  At least one invalid signature was encountered.W: Failed to fetch http://security.debian.org/debian-security/dists/bookworm-security/InRelease  At least one invalid signature was encountered.W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease  At least one invalid signature was encountered.W: Some index files failed to download. They have been ignored, or old ones used instead.
with this

Code:

sources.list
(the default one, and with no third party repositories)...

Code:

deb cdrom:[Debian GNU/Linux 12.0.0 _Bookworm_ - Official amd64 NETINST with firmware 20230610-10:21]/ bookworm main non-free-firmwaredeb http://deb.debian.org/debian/ bookworm main non-free-firmwaredeb-src http://deb.debian.org/debian/ bookworm main non-free-firmwaredeb http://security.debian.org/debian-security bookworm-security main non-free-firmwaredeb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware# bookworm-updates, to get updates before a point release is made;# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backportsdeb http://deb.debian.org/debian/ bookworm-updates main non-free-firmwaredeb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware# This system was installed using small removable media# (e.g. netinst, live or single CD). The matching "deb cdrom"# entries were disabled at the end of the installation process.# For information about how to configure apt package sources,# see the sources.list(5) manual.
And running

Code:

sudo apt-key list
I get...

Code:

create_gpg_home:trap:14: undefined signal: ABRT
So I reinstalled Debian yesterday but today it happened the exact same problem again. I can't find any solution. The only thing that made apt work again was:

Code:

sudo apt update --allow-unauthenticated --allow-insecure-repositories
(I ran it before reinstalling it), but I don't thing is a good solution. Is there any reason of why it's happening and any solution to this problem or any important resource to read?

I don't know if it's related, but my motherboard doesn't have the BIOS battery. The time gets always updated at startup. (In Manjaro I didn't have any problems). I'd used Debian in the same PC before (Debian 10 and 11) for one year without any problems at all. And I've been using Debian in another PC since 2021 with no problems either. So I guess it no Debian's problem, but something very specific to my PC

Just in case, I put the output of inxi right here

Code:

System:  Host: Deb-PC Kernel: 6.1.0-18-amd64 arch: x86_64 bits: 64 Desktop: i3    v: 4.22 Distro: Debian GNU/Linux 12 (bookworm)Machine:  Type: Desktop Mobo: Intel model: DG41RQ v: AAE54511-203    serial: <superuser required> BIOS: Intel v: RQG4110H.86A.0013.2009.1223.1136    date: 12/23/2009CPU:  Info: dual core Pentium E5200 [MCP] speed (MHz): avg: 2500Graphics:  Device-1: Intel 4 Series Integrated Graphics driver: i915 v: kernel  Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting    unloaded: fbdev,vesa dri: crocus gpu: i915 resolution: 1440x900~60Hz  API: OpenGL v: 2.1 Mesa 22.3.6 renderer: Mesa Intel G41 (ELK)Network:  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet    driver: r8169Drives:  Local Storage: total: 223.57 GiB used: 59.81 GiB (26.8%)Info:  Processes: 145 Uptime: 53m Memory: 2.86 GiB used: 1.49 GiB (52.0%)  Shell: Zsh inxi: 3.3.26
Thank you very much. Greetings!

Statistics: Posted by PepeRodo — 2024-02-25 21:23 — Replies 5 — Views 130



Viewing all articles
Browse latest Browse all 3395

Trending Articles