Hi I was following the Ubuntu 22.04 upgrade instructions here - https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-22-04-jammy-jellyfish
When I did -
sudo do-release-upgrade
It was upgrading but it got stuck on this error -
Error during update
A problem occurred during the update. This is usually some sort of
network problem, please check your network connection and retry.
W:Updating from such a repository can't be done securely, and is
therefore disabled by default., W:See apt-secure(8) manpage for
repository creation and user configuration details., W:GPG error:
http://dl.google.com/linux/mod-pagespeed/deb stable Release: The
following signatures couldn't be verified because the public key is
not available: NO_PUBKEY 78BD65473CB3BD13, E:The repository
'http://dl.google.com/linux/mod-pagespeed/deb stable Release' is not
signed.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command detached from window (Sun Sep 11 13:42:03 2022) ===
=== Command terminated with exit status 1 (Sun Sep 11 13:42:13 2022) ===
I’ve tried the following fix but it didn’t work - https://itsfoss.com/solve-gpg-error-signatures-verified-ubuntu/
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 78BD65473CB3BD13
What can I do to fix?
Please advise.
Thank you
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @twc8ac35a8636,
The “key” is “repository can’t be authenticated”
To solve that just use this command:
$ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
https://www.google.com/linuxrepositories/
In the past you could add any repo you wanted, now you need their gpg key otherwise doesn't work.
Hello there,
Until the fix is released use the following workaround:
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
Remove the repository configuration file found during the previous step:
- mv /etc/apt/sources.list.d/mod-pagespeed.list ~/
Update APT indexes:
- sudo apt update
Sources:
Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.