Problem solved!

UPDATE: The original link I posted is now broken. A search for an archived page (see comments) revealed the original post, so I decided to re-post here the entirety of the author’s original. The author is Mark Pilgrim, of the now-defunct blog diveintomark.org.

‣ February 5, 2007 ‣

Fix for “Authentication failed” error when upgrading Ubuntu Edgy to Feisty

In theory you can upgrade Ubuntu Edgy to Feisty Herd 3 right now by typing gksu update-manager -c -d or sudo update-manager -c -d on the command line. (Insert standard disclaimer here about how Feisty is alpha software and may fuck up your life.) This gives you the normal Software Update window with the addition of a “Distribution upgrade” option. However, on one of my test machines, the distribution upgrade failed with this error:

Authentication failed

Authenticating the upgrade failed. There may be a problem with the network or with the server.

On the command line I saw an error message like this:

extracting ‘/tmp/tmpVuEU0n/feisty.tar.gz’
authenticate ‘/tmp/tmpVuEU0n/feisty.tar.gz’ against ‘/tmp/tmpVuEU0n/feisty.tar.gz.gpg’
exception from gpg: GnuPG exited non-zero, with code 131072

The solution is to run gpg once, as a normal user, and let it create its configuration files and keyrings. Once it says Go ahead and type your message …, you can just press Ctrl-C to get back to the command prompt, then run sudo update-manager -c -d again.

This is Ubuntu bug 78673.

2 thoughts on “Problem solved!

  1. hey im having the same problem with my ubuntu upgrade and i did what you suggested here but nothing happened and the problem is still there. can you suggest something else?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s