Why MySQL Repository Key suddenly expired?
30,007
This solved my problem
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys A4A9406876FCBD3C456770C88C718D3B5072E1F5
Source : click here
Related videos on Youtube
Author by
Kaveh Shahbazian
Updated on September 18, 2022Comments
-
Kaveh Shahbazian over 1 year
Why is this happening? I've updated my machine last week.
W: GPG error: http://repo.mysql.com trusty InRelease: The following signatures were invalid: KEYEXPIRED 1487236823 KEYEXPIRED 1487236823 KEYEXPIRED 1487236823
-
Steve R. over 7 yearsI located the post: "How to solve an expired key (KEYEXPIRED) with apt" linux-audit.com/how-to-solve-an-expired-key-keyexpired-with-apt
-
Kaveh Shahbazian over 7 yearsThanks! But I've already purged MySQL and after some googling & struggling, purged all it's repos & GPG from apt.
-
Kaveh Shahbazian about 7 yearsMySQL was on machine for more than one year. And suddenly at that time it got broken (not just me). But since I no longer use, I just purged it.
-
-
rioted about 7 yearssudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 5072E1F5
-
rep about 5 yearsI had to use a different keyserver. sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 5072E1F5
-
Sorter about 5 yearsThe above comment is the correct answer.
-
Franc Drobnič over 4 yearsAnother automatic way is to refresh keys that are already present:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --refresh-keys