Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Kubuntu 13.04 (unsupported release), and want to upgrade it to 14.04. When I'm trying to run do-release-upgrade I got this error:

Traceback (most recent call last): File "/usr/bin/do-release-upgrade", line 123, in "%(url)s\n") % { 'url' : url }) ValueError: unsupported format character '?' (0xa) at index 55

I know that I should upgrade to 13.10 first. I read the documentation, but when I tried to add old-releases repository to my sources list, something like deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse I get 404 error while updating my sources.

Is this documentation too old to help me? Where can I find newer docs? Or can you show me other way to upgrade my OS?

share|improve this question

2 Answers 2

Edit /usr/bin/do-release-upgrade and comment out lines 123 - 127

# make sure to inform the user if his distro is no longer supported
# this will make it appear in motd (that calls do-release-upgrade in
#  check-new-release mode)
#  if m.no_longer_supported is not None:
#    url = "http://www.ubuntu.com/releaseendoflife"
#    print(_("Your Ubuntu release is not supported anymore."))
#    print(_("For upgrade information, please visit:\n"
#            "%(url)s\n") % { 'url' : url })

Make sure to remove comments after upgrade!

By: Jorma Hytonen, datatuki.net

share|improve this answer
Thank you! Allowed me to get from 13.04 to 13.10 (the old-releases trick) and now to 14.04 :) –  jaywink Aug 6 at 17:07

I recommend a new/clean install of 14.04 LTS.

You might be able to upgrade to 13.10 by having that on other media (eg. USB stick).

But there is no support (past Jan-2014) for 13.04, for any issue that might occur.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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