Solution
Go to this website: http://keyserver.ubuntu.com/
Find the email address in the error message and enter the email address on this website to search
Search for these keys and click the first one
Click in to see the contents of the key
Copy all, create a text file on Linux, take any name, and copy the content
touch gpgKey
vim gpgKey
sudo apt-key add gpgKey
Then you can
Error reporting process
Before installing mysql, an error was reported when executing apt update:
Err:2 http://repo.mysql.com/apt/ubuntu bionic InRelease
The following signatures were invalid: EXPKEYSIG 8C718D3B5072E1F5 MySQL Release Engineering <[email protected]>
It is said on the Internet that this method:
apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv yourKey
The result is still not good, and an error is reported:
root@xx:/var/log/mysql# apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 8C718D3B5072E1F5
Executing: /tmp/apt-key-gpghome.WnlsI9s8pX/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com --recv 8C718D3B5072E1F5
gpg: keyserver receive failed: Invalid argument
Similar Posts:
- System update error: no_PUBKEY [How to Solve]
- [Solved] Mac docker Build Image apt-get update Error: GPG Signature Error
- [Solved] Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-9enuqi/My…
- [Solved] 1146 – Table ‘performance_schema.session_variables’ doesn’t exist
- Solutions for invalid MySQL service name and install / Remove of the server denied
- [mailbox usage] POP3, SMTP activation and setting method of Yahoo mailbox
- [Solved] MySQL Connect Error: Can’t connect to MySQL server on ‘ ‘(61)
- [How to Solve] ImportError: No module named MySQLdb
- [Solved] MYSQL8 Error: ERROR 2003 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
- Mysql import Error Code: 2013 – Lost connection to MySQL server during query