upgrading Ubuntu 10.04 to 12.04 error authenticating some packages

So you ran do-release-upgrade but it didn’t work?

 

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install update-manager-core
sudo do-release-upgrade

Some useful logs are located under /var/log/dist-upgrade/ and I bet you are going to find there something along these lines:

Error authenticating some packages

It was not possible to authenticate some packages. This may be a transient network problem. You may want to try again later. See below for a list of unauthenticated packages

 

Temporary workaround, create file

/etc/update-manager/release-upgrades.d/unauth.cfg

filled with the following

[Distro]
AllowUnauthenticated=yes

Now your sudo do-release-upgrade should run OK

Make sure to remove this file once upgrade process is completed.

And if this helped don’t forget to leave a comment πŸ˜‰


 

By devnull

Man of many talents. Server janitor, Chief Googler, Vice President of Pencil Sharpening, Director of Turning Things Off and On Again. Technology Plumber using Linux for stuff like Satellite STB, home CCTV system, kitchen sound bar, workstations, even car onboard computer. And servers, oh yeah - lots of them. I've been a Linux Mercenary for quite a while now, often using information posted by kind strangers on the Internet to solve problems during this journey. This blog is a humble attempt to give something back to the community.

20 thoughts on “upgrading Ubuntu 10.04 to 12.04 error authenticating some packages”
  1. Thank you – I was getting the same “Error authenticating some packages” problem. Following your procedures allowed us to upgrade a critical server successfully.

  2. Thanks for this. It has brought 3 hours of head scratching to an end!

    I was seeing the following message: “ERROR Unauthenticated packages found ” in /var/log/dist-upgrade/main.log after unsuccessfully trying a do-release-upgrade on an EOL lucid box.

  3. worked a treat! Thank you .. time will tell ie once the relaease upgrade is complete, if there are any major flaws introduced by this. Fingers crossed!

    1. Thanks for leaving note. Amazing to learn that people still stumble upon this post and it actually saves them some time.

      All the best wishes from PL.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.