[Bug 1306936] Re: do-release-upgrade doesnt backup or commit existing sources.list

Steve Langasek steve.langasek at canonical.com
Sat Apr 12 17:59:13 UTC 2014


The error from your pastebin was:
014-04-11 20:30:21,047 ERROR not handled exception:
Traceback (most recent call last):

  File "/tmp/ubuntu-release-upgrader-9bqw0n/trusty", line 10, in <module>
    sys.exit(main())

  File "/tmp/ubuntu-release-upgrader-9bqw0n/DistUpgrade/DistUpgradeMain.py", line 243, in main
    if app.run():

  File "/tmp/ubuntu-release-upgrader-9bqw0n/DistUpgrade/DistUpgradeController.py", line 1826, in run
    return self.fullUpgrade()

  File "/tmp/ubuntu-release-upgrader-9bqw0n/DistUpgrade/DistUpgradeController.py", line 1717, in fullUpgrade
    if not self.updateSourcesList():

  File "/tmp/ubuntu-release-upgrader-9bqw0n/DistUpgrade/DistUpgradeController.py", line 807, in updateSourcesList
    self.sources.save()

  File "/tmp/ubuntu-release-upgrader-9bqw0n/DistUpgrade/sourceslist.py", line 416, in save
    files[source.file].write(source.str())

UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in
position 156: ordinal not in range(128)

(please include error messages directly in Launchpad reports instead of
linking to pastebins that may or may not keep this information around
for the lifetime of the bug.)

Can you attach your /etc/apt/sources.list?  I haven't seen this failure,
but it's in line with other problems we've had before regarding encoding
handling in do-release-upgrader and friends.  also, could you show the
output of 'locale' on your console?


** Package changed: update-manager (Ubuntu) => ubuntu-release-upgrader (Ubuntu)

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

Title:
  do-release-upgrade doesnt backup or commit existing sources.list

Status in “ubuntu-release-upgrader” package in Ubuntu:
  New

Bug description:
  Hello,

  i updated from a completely and fresh updated saucy to trusty latest beta yesterday evening, 
  by doing  "sudo do-release-upgrade -d"  inside tty2

  everything worked well so far except the fact, that the old
  sources.list wasent kept back or backuped.

  in past release upgrade processes the sources.list was checked and then commited with not used repositories, 
  but this isnt done this time for me.

  as i checked some logs i found this
   
  http://pastie.org/9074749

  anything else i can check so far?

  i think this shouldnt happen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1306936/+subscriptions



More information about the foundations-bugs mailing list