Sorry for the late reply, @btindie, I did not get a notification for your answer - probably because I was not logged in when I read the message from Holger.
Thank you for your patience and your helpful instructions! You are right, I missed the sudo. Small changes can make a big difference. Here are the new outputs:
Code:
$ sudo ...../tmp/clean.sh
[sudo] password for cds:
Deleting key: 126762B1
OK
Deleting key: 5044912E
OK
Deleting key: 991BC93C
OK
Deleting key: ABDC4346
OK
Deleting key: A5C7FF72
OK
Code:
$ sudo apt-key --keyring /etc/apt/trusted.gpg list
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Code:
$ sudo apt update
Hit:3 https://download.virtualbox.org/virtualbox/debian jammy InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:4 http://archive.ubuntu.com/ubuntu jammy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Fetched 1,559 B in 1s (1,355 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
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.ubuntu.com/ubuntu jammy-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu jammy-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu jammy-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
W: Some index files failed to download. They have been ignored, or old ones used instead.
I tried to follow the recommended instructions: https://manpages.ubuntu.com/manpages...ml#deprecation
Code:
$ wget -qO- http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease | sudo tee /etc/apt/trusted.gpg.d/jammy-security.asc
[sudo] password for cds:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Origin: Ubuntu
Label: Ubuntu
Suite: jammy-security
Version: 22.04
Codename: jammy
Date: Tue, 06 Feb 2024 7:12:28 UTC
Architectures: amd64 arm64 armhf i386 ppc64el riscv64 s390x
Components: main restricted universe multiverse
Description: Ubuntu Jammy Security
MD5Sum:
0a9bd87b61f547699775ca2618271847 1402644573 Contents-amd64
f9455e9026eae22ece1323e3502c78dd 76199613 Contents-amd64.gz
8957078a58fe17e6a355a510bce3a5f8 1557074371 Contents-arm64
9f02f1025e63105e81c08789796bcda1 84240849 Contents-arm64.gz
.......
577ca6001d9537a3806e75f8377c232075889375b4ca04b66a1da0bebe57b03d 1065432 universe/source/Sources
293eb4b11712d5149b38972540fb237cc9590c4636071ba31d7f3f1de9aeb268 229715 universe/source/Sources.gz
5a24b9c619d2ca5f4f144e41b4407e3cfa3c5b1afd390a6fdc853fb00c851182 176832 universe/source/Sources.xz
Acquire-By-Hash: yes
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE9uyzdiR07anSG3Aihxkg0ZkbyTwFAmXB3AkACgkQhxkg0Zkb
yTzeIBAAvzcFJIspAkWdtTuocwDId57sxmiyonDRzKZTBzAXNQriSf5MZ4nXobXr
iDWFbnTrGX8K10ie5QxkE2YXeKtCd/YQ65CNxissJKwWr3k3h5uUoOMixyXiSQ/C
1m7ughnIihbj+UcIMq4vj3HVrBbyRqNgt52KY0pR7bD0sIeU5qLKo8CS4T+GqWKt
40eyKoyhUqhcQLhaebZilumC96ZXZ24WbOOVFy8V9fOD1+FveBSEFbcRJIg45by1
pN29Z9yc/3YzLnaCiRmI/+KcSIMbHvS1O0frQpM7A30gdpdlNx4I8EnGxr4yRMQb
+fUYexCILu+WFHEDeMkaK//jsSSmgKlbl4iw+ziw6VoUx/tq8RHi3RqfvZ4lbdv2
lZvUj8x5lsiGHPIshaMkY/9cconMpAQQn6qP4t0CQ1wppQ7f+0JoRYhhBsLUt3ij
fjHCX9X+mUqAse9NUzzz0WG6rj1h1JyGp5vTJnaKoezft/IpEayEwDvnzvAQ7odJ
lVxK6ooavJiTyUt65t1P+d+rk/WYyPWylJl9nG1JBiba6FtPNSNcBv0QIqsgv1SV
hrgN2Z2z5z+ZG2TMvi9pWxnbsz+++g2dyWA5yUC4eCXpBMgE+PLwXPcDNfbXkJ4W
5jSTkO4yG+vby77adjSqCBhNtL4+fG2MvNDBkO5UQdiHzZDPG34=
=2yLI
-----END PGP SIGNATURE----
But it could be that I missed something as there is a new error now:
Code:
$ sudo apt update
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:2 http://archive.ubuntu.com/ubuntu jammy InRelease
At least one invalid signature was encountered.
Hit:7 https://download.virtualbox.org/virtualbox/debian jammy InRelease
Fetched 231 kB in 1s (196 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu jammy 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://download.opensuse.org/repositories/home:/ungoogled_chromium/Ubuntu_Jammy 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://security.ubuntu.com/ubuntu jammy-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://archive.ubuntu.com/ubuntu jammy-updates 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://archive.ubuntu.com/ubuntu jammy-backports InRelease: At least one invalid signature was encountered.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease At least one invalid signature was encountered.
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease At least one invalid signature was encountered.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease At least one invalid signature was encountered.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease At least one invalid signature was encountered.
W: Failed to fetch http://download.opensuse.org/repositories/home:/ungoogled_chromium/Ubuntu_Jammy/InRelease At least one invalid signature was encountered.
W: Some index files failed to download. They have been ignored, or old ones used instead.
Any tip for further steps?
Bookmarks