Articles in this section

Unable to update system packages on Plesk server: The repository 'http://dl.google.com/linux/mod-pagespeed/deb/dists/stable/Release.gpg' is not signed

kb: bug Plesk for Linux ABT: Group B

Applicable to:

  • Plesk for Linux

Symptoms

  • Tools & Settings > Updates and Upgrades > Update Components hangs with the following error:

    The apg-get failed with the following message:
    Reading package lists...
    Building dependency tree...
    Reading state information...

  • The command apt update fails with the error:

    # apt update
    ..........
    Reading package lists... Done
    E: The repository 'http://dl.google.com/linux/mod-pagespeed/deb stable Release' is not signed.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

  • The following error can be found in the log file /var/log/plesk/install/autoinstaller3.log:

    Err:10 http://dl.google.com/linux/mod-pagespeed/deb stable Release.gpg
    The following signatures were invalid: KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520
    Reading package lists...
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used.
    GPG error: http://dl.google.com/linux/mod-pagespeed/deb stable Release: The following signatures were invalid: KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520
    W: Failed to fetch http://dl.google.com/linux/mod-pagespeed/deb/dists/stable/Release.gpg
    The following signatures were invalid: KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520

Cause

Bug EXTPLESK-3809 in Google PageSpeed Insights extension: PageSpeed module for Apache is incorrectly signed on the side of the repository maintainer

Resolution

Until the fix is released use the following workaround:

  1. Connect to the server via SSH

  2. Find the repository configuration file, e.g.:

    # grep -ir pagespeed /etc/apt*
    /etc/apt/sources.list.d/mod-pagespeed.list:deb http://dl.google.com/linux/mod-pagespeed/deb/ stable main

  3. Remove the repository configuration file found during the previous step:

    # mv /etc/apt/sources.list.d/mod-pagespeed.list ~/

  4. Update APT indexes:

    # apt update

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.