0

I have used Ubuntu for many years (about 10 years on this computer). I have upgraded from release to release with no problems in the past. This time, the upgrade from 18.04.6 LTS to version 20.04 fails. I have three types of failure; two with Software updater and one with terminal.

Type 1 with Software updater: When I try to upgrade I get "Failed to download repository information" "Check your Internet connection." This problem is intermittent. Occasionally, it succeeds. All other applications have no problems reaching the Internet. My Internet connection is very reliable with 10Mbps or more download speeds.

Type 2 with Software updater: When I get a repository download and request an upgrade, I start the upgrade process but it fails on step 2 "Setting new software channels" and then it reverts to the current version.

Type 3 with Terminal:

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com/ubuntu precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/Release.gpg
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: Some index files failed to download. They have been ignored, or old ones used
 instead.

Any suggestions? I assume I am not pulling information from the proper repository but I don't know how to direct my computer to the right place. Perhaps it is a different issue.

Any help is appreciated.

guiverc
  • 33,561
David
  • 31

1 Answers1

3

I am successful in my upgrade to 20.04 now. Here is what I did. I took the advice from guiverc in the comments to my original post regarding the errors related to the precise penguin version (12.04) and used the provided information to find and edit the etc/apt/sources.list and etc/apt/sources.list.distUpgrade files. There was one line in each file regarding precise which was not commented out so I made each one a comment. I have never edited those files before so I don't know how the error got in them. However, I can say the root cause of my inability to upgrade was the presence of those two lines in the apt source files.

I did have a high error rate on TCP packets to 91.189.91.39 (about 44% loss) so I changed to a different Ubuntu server. Once I made that change I had no more problems with downloading files. As a reference, I pinged 8.8.8.8 and had no packet loss so it is possible that xenial distribution server is having a problem. Once I had success I quit troubleshooting so I don't know the root cause of the network issues.

Once these changes were made I was able to use the normal upgrade procedure in the "Software update" application.

David
  • 31