Error Upgrading Old Ubuntu Release (10.04 LTS)

Today I was trying to run do-release-upgrade to upgrade an old 10.04 LTS Ubuntu server, but the upgrade kept failing. It turns out the old release had problems verifying new packages.

The log files for the upgrade process are located in /var/log/dist-upgrade/, with the main file being main.log. The log file indicated that there was an Error authenticating some packages, most likely do to the age of the current release, as seen in this bug report.

I found a fix at http://sysadm.mielnet.pl/upgrading-ubuntu-10-04-to-12-04-error-authenticating-some-packages/:

Create a file /etc/update-manager/release-upgrades.d/unauth.cfg with the contents:

[Distro]
 AllowUnauthenticated=yes

This will tell the upgrade process to ignore package authentication error. Don’t forget to remove unath.cfg after the upgrade!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: