Plesk upgrade fails: The following packages cannot be authenticated!




  • Avatar
    Rico Chet

    # apt-key adv --recv-keys --keyserver 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 5072E1F5
    gpg: requesting key 5072E1F5 from hkp server
    gpgkeys: key 5072E1F5 not found on keyserver
    gpg: no valid OpenPGP data found.
    gpg: Total number processed: 0

    Didn't work ;-(

  • Avatar
    Ivan Postnikov

    Hello @Rico,

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

    # apt-key adv --recv-keys --keyserver

    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

  • Avatar
    Rico Chet (Edited )


    in fact, it is 5072E1F5.

    # apt-key list

    pub 1024D/5072E1F5 2003-02-03 [expired: 2017-02-16]
    uid MySQL Release Engineering <>


  • Avatar
    Alisa Kasyanova

    @Rico Chet
    Try to install the key manually:

    1) wget
    2) apt-key add RPM-GPG-KEY-mysql
    3) Check it using "apt-key list"

Please sign in to leave a comment.

Have more questions? Submit a request