Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When trying to upgrade to 13.04 from 12.10, I get the following error:

Traceback (most recent call last):
  File "/usr/bin/do-release-upgrade", line 108, in <module>
    print(_("Checking for a new Ubuntu release"))
UnicodeEncodeError: 'ascii' codec can't encode character '\xf3' in position 32: ordinal not in range(128)
share|improve this question
Does your username contains no-ascii characters? – Seçkin Savaşçı Apr 22 '13 at 12:00
No. It my user name is 'luis' – user2188463 Apr 24 '13 at 8:12
The problem was that the regional configuration was mis-configured. I do not know the reason, but it included a language Chinese-like language. I did not installed, and therefore it could not be uninstalled. What I did is to put it behind English. – user2188463 Apr 24 '13 at 22:03
@user2188463 If you think that your specifically problem was solved, please, create a new answer. That is more useful than be in a comment. Thanks! – Lucio Apr 24 '13 at 22:09

To paraphrase the OP's comment, the problem was that the regional configuration was mis-configured. For some reason, the system was using a Chinese-like language. It wasn't installed manually, and couldn't be uninstalled either. To fix this error, the system locale was changed.

See: When I rebooted 12.04, certain menus are in Chinese/Japanese!

share|improve this answer

I had the same problem when upgrading from Xubuntu 13.10 to 14.04. I changed the system-wide locale from Finnish to English/USA, and the upgrade succeeded.

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.