Apt Get Gpg Error Keyexpired
Contents |
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business
Apt-get Update Gpg Error Keyexpired
Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users gpg error keyexpired debian Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes
Gpg Error Key Expired
a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top What should I do when I got the KEYEXPIRED error message gpg error the following signatures were invalid keyexpired after an apt-get update? up vote 20 down vote favorite 10 While updating my packages on a debian based system by a sudo apt-get update I've got that error message : Reading package lists... Done W: GPG error: ftp://ftp.fr.debian.org stable/non-US Release: The following signatures were invalid: KEYEXPIRED 1138684904 What should I do to fix this ? linux debian share|improve this question edited May 24 '09 at 7:04 Zoredache 94.5k22183317 asked May 11 '09 at 19:58 paulgreg the following signatures were invalid: keyexpired 1445181253 1,94431931 add a comment| 6 Answers 6 active oldest votes up vote 32 down vote +50 To find any expired repository keys and their IDs, use apt-key as follows: apt-key list | grep expired You will get a result similar to the following: pub 4096R/BE1DB1F1 2011-03-29 [expired: 2014-03-28] The key ID is the bit after the / i.e. BE1DB1F1 in this case. To update the key, run sudo apt-key adv --recv-keys --keyserver keys.gnupg.net BE1DB1F1 Note: Updating the key will obviously not work if the package maintainer has not (yet) uploaded a new key. In that case there is little you can do other than contacting the maintainer, filing a bug against your distribution etc. share|improve this answer edited Nov 4 '15 at 20:50 answered Jul 24 '14 at 23:44 kynan 67356 that does not work for me, after the command for updating the key, the key is still expired. –Karl Forner Nov 6 '14 at 12:20 @KarlForner was adding the key successful? –kynan Nov 7 '14 at 10:18 yes it was successful. –Karl Forner Nov 7 '14 at 14:08 @KarlForner Note that if the package maintainer has not uploaded a new key this will of course have no effect and there's nothing you can do in this case (still my instructions are correct). –kynan Nov 7 '14 at
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about
Debian Keyexpired
Stack Overflow the company Business Learn more about hiring developers or posting ads with puppetlabs apt key us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users
Gpg Error: Http://download.opensuse.org Release: The Following Signatures Were Invalid: Keyexpired
and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top GPG http://serverfault.com/questions/7145/what-should-i-do-when-i-got-the-keyexpired-error-message-after-an-apt-get-update error in apt-get update up vote 0 down vote favorite Few minutes ago I ran the following command and it worked fine as always: sudo apt update sudo apt upgrade Then after about 10 minutes, I ran the same command again: sudo apt-get update Ign http: //fi.archive.ubuntu.com trusty InRelease Get:1 http://fi.archive.ubuntu.com trusty-updates InRelease [64.4 kB] Ign http: //dl.google.com stable InRelease Get:2 http://fi.archive.ubuntu.com trusty-backports InRelease [64.5 kB] Ign http: //fi.archive.ubuntu.com trusty-updates InRelease E: http://askubuntu.com/questions/704172/gpg-error-in-apt-get-update GPG error: http: //fi.archive.ubuntu.com trusty-updates InRelease: The following signatures were invalid: NODATA 2 I tried reading every post in askubuntu and stackoverflow and so far nothing. The following is the only thing that sound rational to me and it didn't solve the issue: sudo mv lists lists.old sudo mkdir -p lists/partial sudo apt-get clean sudo apt-get update any suggestions in appreciated. UPDATE: even my Thunderbird was crashing immediately after loading, so I rebooted the computer and I ran the apt-get update again and I got: sudo apt update . . . Fetched 32.2 MB in 10s (3,044kB/s) Reading package lists... Done W: GPG error: http://ftp.sunet.se trusty/ Release: The following signatures were invalid: KEYEXPIRED 1445181253 KEYEXPIRED 1445181253 KEYEXPIRED 1445181253 14.04 apt update-manager share|improve this question edited Nov 30 '15 at 9:52 asked Nov 30 '15 at 9:35 Mehrad Mahmoudian 1515 Changed something? ufw settings for instance ;) –Rinzwind Nov 30 '15 at 9:43 Can you increase logging to see which files it fetches, and whether those files actually exist on the server you are downloading from? –tripleee Nov 30 '15 at 9:44 first, try a different server like archive.ubuntu.com instead –mchid Nov 30 '15 at 9:50 @tripleee your comment is valid but before I get the c
Debian and UbuntuSoftware updates and package management is easy with systems based on Debian or Ubuntu. Just https://linux-audit.com/how-to-solve-an-expired-key-keyexpired-with-apt/ apt-get update (or apt update) and run an upgrade. But sometimes you may encounter the following situation: a KEYEXPIRED message.root# apt-get update && apt-get upgradeGet:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]Hit:2 http://nl.archive.ubuntu.com/ubuntu xenial InReleaseGet:3 http://nl.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]Hit:4 http://nl.archive.ubuntu.com/ubuntu xenial-backports gpg error InReleaseHit:5 https://packages.cisofy.com/community/lynis/deb stable InReleaseGet:6 http://nl.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [373 kB]Ign:7 http://nginx.org/packages/mainline/ubuntu xenial InReleaseGet:8 http://nginx.org/packages/mainline/ubuntu xenial Release [2,309 B]Get:9 http://nginx.org/packages/mainline/ubuntu xenial Release.gpg [287 B]Get:10 http://nl.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [368 kB]Get:11 http://nl.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [319 kB]Get:12 http://nl.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [316 kB]Err:9 gpg error key http://nginx.org/packages/mainline/ubuntu xenial Release.gpgThe following signatures were invalid: KEYEXPIRED 1471427554Fetched 1,566 kB in 0s (2,003 kB/s)Reading package lists… DoneW: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://nginx.org/packages/mainline/ubuntu xenial Release: The following signatures were invalid: KEYEXPIRED 1471427554W: Failed to fetch http://nginx.org/packages/mainline/ubuntu/dists/xenial/Release.gpg The following signatures were invalid: KEYEXPIRED 1471427554W: Some index files failed to download. They have been ignored, or old ones used instead.Reading package lists… DoneBuilding dependency treeReading state information… DoneCalculating upgrade… DoneThe following packages will be upgraded:apparmor libapparmor-perl libapparmor1 python3-distupgrade python3-software-properties software-properties-common ubuntu-release-upgrader-core7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Need to get 0 B/672 kB of archives.After this operation, 5,120 B