[SOLVED] GPG error - The following signatures were invalid

Jan 31, 2019
36
2
13
54
Hi,

I get a GPG error when I use apt update

Code:
apt update
Hit:1 http://ftp.at.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org bullseye-security InRelease
Hit:3 http://download.proxmox.com/debian/ceph-luminous buster InRelease
Hit:4 http://ftp.at.debian.org/debian bullseye-updates InRelease
Hit:5 http://download.proxmox.com/debian/pve bullseye InRelease
Ign:6 http://ftp.de.debian.org/debian jessie InRelease
Hit:7 https://apt.iteas.at/iteas stretch InRelease
Get:8 http://ftp.de.debian.org/debian jessie Release [77.3 kB]
Hit:9 https://enterprise.proxmox.com/debian/pve bullseye InRelease
Get:10 http://ftp.de.debian.org/debian jessie Release.gpg [1,652 B]
Ign:10 http://ftp.de.debian.org/debian jessie Release.gpg
Reading package lists... Done
W: GPG error: http://ftp.de.debian.org/debian jessie Release: The following signatures were invalid: EXPKEYSIG 7638D0442B90D010 Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CBF8D6FD518E17E1
E: The repository 'http://ftp.de.debian.org/debian jessie Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Here is the content of /etc/apt/sources.list:
Code:
deb http://ftp.at.debian.org/debian bullseye main contrib

deb http://ftp.at.debian.org/debian bullseye-updates main contrib

# security updates
deb http://security.debian.org bullseye-security main contrib
deb http://ftp.de.debian.org/debian jessie main
# deb-src http://ftp.de.debian.org/debian jessie main

Can anyone help me with this issue?

Thank you!
 
Hi,

is there any reason why you're using the debian jessie repositories in conjunction with the bullseye ones?
 
hi,
no, not really. I just followed an instruction while I upgraded proxmox from v6 to v7. As you see. I don't have much expierence with proxmox or debian
 
Great thank you! The error is gone!!

May I ask another question?
I also did a dist-upgrade. The system told me that a lot of packages were not needed any more. I removed them. I hope I did not any stupid?

Code:
root@proxmoxserver:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  bsdmainutils cpp-8 libasan5 libbind9-161 libcdio18 libcodec2-0.8.1 libcroco3 libcrystalhd3 libdns-export1104 libdns1104 libdns1110 libdumbnet1 libdvdnav4 libdvdread4 libevent-2.1-6
  libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 libicu63 libigdgmm5 libipset11 libirs161 libisc-export1100 libisc1100 libisc1105 libisccc161 libisccfg163 libisl19 libjs-sphinxdoc
  libjs-underscore libllvm7 liblttng-ust-ctl4 liblttng-ust0 liblwres161 libmysofa0 libnftables0 libperl5.28 libpgm-5.2-0 libprocps7 libprotobuf17 libpython3.7 libpython3.7-minimal
  libpython3.7-stdlib libvpx5 libx264-155 libx265-165 libzpool4linux perl-modules-5.28 pve-kernel-5.3 pve-kernel-5.3.18-3-pve python3-asn1crypto python3.7-minimal usb.ids
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@proxmoxserver:~# apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  bsdmainutils cpp-8 libasan5 libbind9-161 libcdio18 libcodec2-0.8.1 libcroco3 libcrystalhd3 libdns-export1104 libdns1104 libdns1110 libdumbnet1 libdvdnav4 libdvdread4 libevent-2.1-6
  libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 libicu63 libigdgmm5 libipset11 libirs161 libisc-export1100 libisc1100 libisc1105 libisccc161 libisccfg163 libisl19 libjs-sphinxdoc
  libjs-underscore libllvm7 liblttng-ust-ctl4 liblttng-ust0 liblwres161 libmysofa0 libnftables0 libperl5.28 libpgm-5.2-0 libprocps7 libprotobuf17 libpython3.7 libpython3.7-minimal
  libpython3.7-stdlib libvpx5 libx264-155 libx265-165 libzpool4linux perl-modules-5.28 pve-kernel-5.3 pve-kernel-5.3.18-3-pve python3-asn1crypto python3.7-minimal usb.ids
0 upgraded, 0 newly installed, 52 to remove and 0 not upgraded.
After this operation, 530 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 99083 files and directories currently installed.)
Removing bsdmainutils (12.1.7+nmu3) ...
Removing cpp-8 (8.3.0-6) ...
Removing libasan5:amd64 (9.3.0-22) ...
Removing libbind9-161:amd64 (1:9.11.19+dfsg-2.1) ...
Removing libcdio18:amd64 (2.0.0-2) ...
Removing libcodec2-0.8.1:amd64 (0.8.1-2) ...
Removing libcroco3:amd64 (0.6.12-3) ...
Removing libcrystalhd3:amd64 (1:0.0~git20110715.fdd2f19-13) ...
Removing libdns-export1104 (1:9.11.5.P4+dfsg-5.1+deb10u7) ...
Removing libdns1104:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u7) ...
Removing libirs161:amd64 (1:9.11.19+dfsg-2.1) ...
Removing libisccfg163:amd64 (1:9.11.19+dfsg-2.1) ...
Removing libdns1110:amd64 (1:9.11.19+dfsg-2.1) ...
Removing libdumbnet1:amd64 (1.12-9) ...
Removing libdvdnav4:amd64 (6.1.0-1+b1) ...
Removing libdvdread4:amd64 (6.0.1-1) ...
Removing libevent-2.1-6:amd64 (2.1.8-stable-4) ...
Removing libgdk-pixbuf2.0-0:amd64 (2.40.2-2) ...
Removing libgdk-pixbuf-xlib-2.0-0:amd64 (2.40.2-2) ...
Removing libicu63:amd64 (63.1-6+deb10u3) ...
Removing libigdgmm5:amd64 (18.4.1+ds1-1) ...
Removing libipset11:amd64 (6.38-1.2) ...
Removing libisc-export1100:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u7) ...
Removing libisc1100:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u7) ...
Removing libisccc161:amd64 (1:9.11.19+dfsg-2.1) ...
Removing libisc1105:amd64 (1:9.11.19+dfsg-2.1) ...
Removing libisl19:amd64 (0.20-2) ...
Removing libjs-sphinxdoc (3.4.3-2) ...
Removing libjs-underscore (1.9.1~dfsg-3) ...
Removing libllvm7:amd64 (1:7.0.1-8+deb10u2) ...
Removing liblttng-ust0:amd64 (2.12.1-1) ...
Removing liblttng-ust-ctl4:amd64 (2.12.1-1) ...
Removing liblwres161:amd64 (1:9.11.19+dfsg-2.1) ...
Removing libmysofa0:amd64 (0.6~dfsg0-3+deb10u1) ...
Removing libnftables0:amd64 (0.9.0-2) ...
Removing libperl5.28:amd64 (5.28.1-6+deb10u1) ...
Removing libpgm-5.2-0:amd64 (5.2.122~dfsg-3) ...
Removing libprocps7:amd64 (2:3.3.15-2) ...
Removing libprotobuf17:amd64 (3.6.1.3-2) ...
Removing libpython3.7:amd64 (3.7.3-2+deb10u3) ...
Removing libpython3.7-stdlib:amd64 (3.7.3-2+deb10u3) ...
Removing python3.7-minimal (3.7.3-2+deb10u3) ...
Unlinking and removing bytecode for runtime python3.7
Removing libpython3.7-minimal:amd64 (3.7.3-2+deb10u3) ...
Removing libvpx5:amd64 (1.7.0-3+deb10u1) ...
Removing libx264-155:amd64 (2:0.155.2917+git0a84d98-2) ...
Removing libx265-165:amd64 (2.9-4) ...
Removing libzpool4linux (2.0.7-pve1) ...
Removing perl-modules-5.28 (5.28.1-6+deb10u1) ...
Removing pve-kernel-5.3 (6.1-6) ...
Removing pve-kernel-5.3.18-3-pve (5.3.18-3) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 5.3.18-3-pve /boot/vmlinuz-5.3.18-3-pve
update-initramfs: Deleting /boot/initrd.img-5.3.18-3-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 5.3.18-3-pve /boot/vmlinuz-5.3.18-3-pve
run-parts: executing /etc/kernel/postrm.d/zz-proxmox-boot 5.3.18-3-pve /boot/vmlinuz-5.3.18-3-pve
Re-executing '/etc/kernel/postrm.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 5.3.18-3-pve /boot/vmlinuz-5.3.18-3-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.74-1-pve
Found initrd image: /boot/initrd.img-5.15.74-1-pve
Found linux image: /boot/vmlinuz-5.15.64-1-pve
Found initrd image: /boot/initrd.img-5.15.64-1-pve
Found linux image: /boot/vmlinuz-5.4.189-2-pve
Found initrd image: /boot/initrd.img-5.4.189-2-pve
Found linux image: /boot/vmlinuz-4.15.18-20-pve
Found initrd image: /boot/initrd.img-4.15.18-20-pve
Found linux image: /boot/vmlinuz-4.15.18-9-pve
Found initrd image: /boot/initrd.img-4.15.18-9-pve
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
Removing python3-asn1crypto (1.4.0-1) ...
Removing usb.ids (2022.05.20-0+deb11u1) ...
 
From man apt:
autoremove is used to remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed as dependencies changed or the package(s) needing them were removed in the meantime.
so you should be fine :). Glossing over it, I don't see any packages that would break things if they were removed. But generally, do read the list of packages before removing anything.
 
You can edit the thread to mark it as solved so that other people with the same issues can find it more easily :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!