Plesk upgrade fails: The following packages cannot be authenticated!

Follow

Comments

4 comments

  • Avatar
    Rico Chet

    # apt-key adv --recv-keys --keyserver keys.gnupg.net 5072E1F5
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.2dGB8kQjYS --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --recv-keys --keyserver keys.gnupg.net 5072E1F5
    gpg: requesting key 5072E1F5 from hkp server keys.gnupg.net
    gpgkeys: key 5072E1F5 not found on keyserver
    gpg: no valid OpenPGP data found.
    gpg: Total number processed: 0

    Didn't work ;-(

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello @Rico,

    You need to use expired key number from your server in command

    # apt-key adv --recv-keys --keyserver keys.gnupg.net

    Key number in article 5072E1F5 is given as an example.
    As described in the article you can find expired key using the command:

    # apt-key list

    0
    Comment actions Permalink
  • Avatar
    Rico Chet (Edited )

    Hello,

    in fact, it is 5072E1F5.

    # apt-key list
    /etc/apt/trusted.gpg
    --------------------
    ...

    pub 1024D/5072E1F5 2003-02-03 [expired: 2017-02-16]
    uid MySQL Release Engineering <mysql-build@oss.oracle.com>

     

    0
    Comment actions Permalink
  • Avatar
    Alisa Kasyanova

    @Rico Chet
    Try to install the key manually:

    1) wget https://repo.mysql.com/RPM-GPG-KEY-mysql
    2) apt-key add RPM-GPG-KEY-mysql
    3) Check it using "apt-key list"

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request