haajee Posted September 23, 2023 Share Posted September 23, 2023 Hi everyone! I did not has any problem with apt update. But the last weeks i got this error with one of the Armbian servers if i am right? Is there also a fix for this? Thank you very much! :) Hit:1 http://ports.ubuntu.com jammy InRelease Hit:2 http://ports.ubuntu.com jammy-security InRelease Hit:3 http://ports.ubuntu.com jammy-updates InRelease Hit:4 http://ports.ubuntu.com jammy-backports InRelease Hit:5 https://download.docker.com/linux/ubuntu jammy InRelease Get:6 https://deb.nodesource.com/node_16.x jammy InRelease [4,583 B] Get:7 http://fi.mirror.armbian.de/apt jammy InRelease [52.5 kB] Err:7 http://fi.mirror.armbian.de/apt jammy InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5 Fetched 4,583 B in 2s (2,027 B/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All 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://fi.mirror.armbian.de/apt jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5 W: Failed to fetch http://apt.armbian.com/dists/jammy/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5 W: Some index files failed to download. They have been ignored, or old ones used instead. 0 Quote Link to comment Share on other sites More sharing options...
Gunjan Gupta Posted September 23, 2023 Share Posted September 23, 2023 14 minutes ago, haajee said: I did not has any problem with apt update. But the last weeks i got this error with one of the Armbian servers if i am right? Is there also a fix for this? The key is at http://fi.mirror.armbian.de/apt/armbian.key you can try adding it with wget -qO - http://fi.mirror.armbian.de/apt/armbian.key | sudo apt-key add - 1 Quote Link to comment Share on other sites More sharing options...
ricardo_brz Posted January 5 Share Posted January 5 (edited) Hi the error is back: GPG error: http://mirrors.jevincanders.net/armbian/apt noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5 I tried to add the key, but apt-key is deprecated: $wget -qO - http://mirrors.jevincanders.net/armbian/apt/armbian.key | sudo apt-key add - Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). OK From man page it should be using a new .asc file, instead of the .key: If your existing use of apt-key add looks like this: wget -qO- https://myrepo.example/myrepo.asc | sudo apt-key add - Then you can directly replace this with (though note the recommendation below): wget -qO- https://myrepo.example/myrepo.asc | sudo tee /etc/apt/trusted.gpg.d/myrepo.asc So just seat and wait for the repos to adjust. EDIT: I run armbian-config again to reconfigure mirrors, and I get this one: http://armbian.chi.auroradev.org/apt that runs fine. In the end I got a warning: W: http://apt.armbian.com/dists/noble/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details I did the upgrade and then tried updating again, and I got the same issue. Edited January 5 by ricardo_brz new information 0 Quote Link to comment Share on other sites More sharing options...
Igor Posted January 5 Share Posted January 5 5 minutes ago, ricardo_brz said: I tried to add the key, but apt-key is deprecated: Key is not deprecated, method is. On Noble / Sid and future. sudo wget https://apt.armbian.com/armbian.key -O key sudo gpg --dearmor < key | sudo tee /usr/share/keyrings/armbian.gpg > /dev/null sudo chmod go+r /usr/share/keyrings/armbian.gpg sudo echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/armbian.gpg] http://apt.armbian.com $(lsb_release -cs) main $(lsb_release -cs)-utils $(lsb_release -cs)-desktop" | sudo tee /etc/apt/sources.list.d/armbian.list apt update 4 Quote Link to comment Share on other sites More sharing options...
ricardo_brz Posted January 5 Share Posted January 5 Great, @Igor! That fixed the last warning I got! Thank you! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.