Plesk upgrade fails: The following packages cannot be authenticated!

Created:

2017-07-06 16:51:02 UTC

Modified:

2017-08-16 17:30:41 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk upgrade fails: The following packages cannot be authenticated!

Applicable to:

  • Plesk for Linux

Symptoms

1. Cannot access Plesk: Error 502 bad gateway is displayed.

2. Recently there was an update attempt.

3. "Sw-engine" is not running:

# service sw-engine status
* sw-engine-fpm is not running

4. After starting "sw-engine" it is stopped again after another update attempt.

5. In /usr/local/psa/admin/logs/panel.log the following can be found:

Installing packages
is running
Stopping sw_engine service... done
...< WARNING: The following packages cannot be authenticated!
  mysql-client mysql-server mysql-community-client mysql-common
  mysql-community-server
... ERROR: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Please contact product technical support.

6. The following error is displayed when using apt-get update command:

Reading package lists... Done
W: GPG error: http://repo.mysql.com wheezy Release: The following signatures were invalid: KEYEXPIRED 1487236823 KEYEXPIRED 1487236823 KEYEXPIRED 1487236823

Cause

Failed upgrade attempt which was caused by expired MySQL repository key.

Resolution

Do the following commands:

# apt-key adv --keyserver pgp.mit.edu --recv-keys A4A9406876FCBD3C456770C88C718D3B5072E1F5 
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.nWXKfKKh9w --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver pgp.mit.edu --recv-keys A4A9406876FCBD3C456770C88C718D3B5072E1F5
gpg: requesting key 5072E1F5 from hkp server pgp.mit.edu
gpg: key 5072E1F5: "MySQL Release Engineering <mysql-build@oss.oracle.com>" 62 new signatures
gpg: Total number processed: 1
gpg:        new signatures: 62
# apt-get update
...
Reading package lists... Done

This will update the repository keys for MySQL and check if it is possible to access the MySQL repository.

Have more questions? Submit a request
Please sign in to leave a comment.