[Bug 1499391] Re: do-release-update crashes on lines 126-127
Igor Starikov
1499391 at bugs.launchpad.net
Sat Sep 29 02:45:43 UTC 2018
The same on trying to upgrade from 17.10 to 18.04.1
#2 helped
The issue may somehow be related to gettext with certain locales.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1499391
Title:
do-release-update crashes on lines 126-127
Status in ubuntu-release-upgrader package in Ubuntu:
Confirmed
Bug description:
When I tried to upgrade my Xubuntu 14.10 to Xubuntu 15.04, I got a
message:
-------------------------------------------------------------------------------------------------
Проверка наличия нового релиза Ubuntu
Ваша версия Ubuntu больше не поддерживается.
Traceback (most recent call last):
File "/usr/bin/do-release-upgrade", line 127, in <module>
"%(url)s\n") % { 'url' : url })
ValueError: unsupported format character '?' (0xa) at index 55
-------------------------------------------------------------------------------------------------
Then I searched through the internet and solved this problem. The
solution for me was to edit with "gedit" file "/usr/bin/do-release-
upgrade" and change lines 126 and 127:
From
----------------------------------------------------------------------------
print(_("For upgrade information, please visit:\n"
"%(url)s\n") % { 'url' : url })
----------------------------------------------------------------------------
To
------------------------------------------------------------------------------------------------------------------
print(_("For upgrade information, please visit:\n %(url)s\n") % { 'url' : url })
------------------------------------------------------------------------------------------------------------------
And after that, do-release-upgrade successfully started upgrading
Xubuntu.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1499391/+subscriptions
More information about the foundations-bugs
mailing list