[Bug 1499391] Re: do-release-update crashes on lines 126-127
Boris Malkov
hikari968 at gmail.com
Tue Oct 24 07:06:08 UTC 2017
I've tried to upgrade from 16.10 to 17.04 and got the same error.
Changed /usr/sbin/do-release-upgrade 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 upgrade have started.
Ubuntu - ignoring bugs over centuries! ))
--
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