[Bug 1499391] Re: do-release-update crashes on lines 126-127

Launchpad Bug Tracker 1499391 at bugs.launchpad.net
Tue Oct 24 06:58:50 UTC 2017


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => Confirmed

-- 
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