Gpg: requesting key B98321F9 from hkp server Gpg: requesting key 6D849617 from hkp server Gpg: requesting key F42584E6 from hkp server I’m on Debian list |grep “expired” | awk ‘’ |xargs apt-key adv –keyserver –recv-keysĮxecuting: gpg –ignore-time-conflict –no-options –no-default-keyring –secret-keyring /etc/apt/secring.gpg –trustdb-name /etc/apt/trustdb.gpg –keyring /etc/apt/trusted.gpg –primary-keyring /etc/apt/trusted.gpg –keyserver –recv-keys F42584E6 6D849617 B98321F9 We can now use the key gathered in step 1 to update it:Īpt-key adv -keyserver -recv-keys Ĭan somebody help me please ? The apt-get update continue ending with error. To quickly find the expired keys, search for “expired:”:Īpt-key list | grep “expired:” Step 2: Update the key The second one is showing that the key is expired (including the date). The first one is the short version of the key. Two items are highlighted in this example. In our case, we see the nginx key is expired a few days ago: Using the apt-key utility we can display all the known keys. Apparently it is for the nginx repository. With an expired key, the solution is simple: we need to download an updated key. This is a good thing, to warn us that we should be checking the repository. The KEYEXPIRED shows that validation failed on the related repository signature. They have been ignored, or old ones used instead.Īpparmor libapparmor-perl libapparmor1 python3-distupgrade python3-software-properties software-properties-common ubuntu-release-upgrader-coreħ upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 5,120 B of additional disk space will be used. W: Failed to fetch The following signatures were invalid: KEYEXPIRED 1471427554 GPG error: xenial Release: The following signatures were invalid: KEYEXPIRED 1471427554 The repository is not updated and the previous index files will be used. W: An error occurred during the signature verification. The following signatures were invalid: KEYEXPIRED 1471427554 Get:12 xenial-updates/universe i386 Packages Get:11 xenial-updates/universe amd64 Packages Get:10 xenial-updates/main i386 Packages Get:6 xenial-updates/main amd64 Packages But sometimes you may encounter the following situation: a KEYEXPIRED message. Just apt-get update (or apt update) and run an upgrade. Software updates and package management is easy with systems based on Debian or Ubuntu. Updating expired keys on Debian and Ubuntu
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |