How do I fix this error?

st@ThinkPad-T450s:~/Downloads$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [836 B]                                                     
Get:2 Upgrade tool [1.264 kB]                                                            
Fetched 1.264 kB in 0s (0 B/s)                                                           
authenticate 'zesty.tar.gz' against 'zesty.tar.gz.gpg' 
Authentication failed
Authenticating the upgrade failed. There may be a problem with the network or with the server.

I get the same error with update-manager -d.

I know I can turn off gpg authentication in apt-get but not in do-release-upgrade or update-manager

  • What is your current Ubuntu version? – Pilot6 Jan 27 '17 at 20:37
  • My currect Ubuntu version is: Release: 16.10, Codename: yakkety. – mrsteve Jan 28 '17 at 5:02
  • What are you trying to achieve? You have the latest version. Why are you trying to upgrade it? – Pilot6 Jan 28 '17 at 10:29

You can try to delete trusted keys from /etc/apt dir.

rm -rf /etc/apt/trusted*

After this, you must to update your packages list:

apt-get update

You will see some error with missing keys. Now, you can re-import keys:

apt-key adv --keyserver http://keyserver.ubuntu.com:80 --recv-keys KEY_ID

After this, do-release-upgrade will work correct.

  • 1
    Didn't help, still can't upgrade to focal. – Gringo Suave May 18 '20 at 19:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.