[Bug 1499391] [NEW] do-release-update crashes on lines 126-127
Andreev Alexandr
ubuntu-dev at mail.ru
Thu Sep 24 14:20:34 UTC 2015
Public bug reported:
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.
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
--
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:
New
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