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

Bug #1306936 reported by ghostcube
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
New
Undecided
Unassigned

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.

ghostcube (ghostcube)
affects: sysvinit (Ubuntu) → update-manager (Ubuntu)
Revision history for this message
Steve Langasek (vorlon) wrote :

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?

affects: update-manager (Ubuntu) → ubuntu-release-upgrader (Ubuntu)
Revision history for this message
ghostcube (ghostcube) wrote :
Revision history for this message
ghostcube (ghostcube) wrote :
Revision history for this message
ghostcube (ghostcube) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Could you please include the version of the release-upgrader that you were using? You can find it in /var/log/dist-upgrade/main.log and the line will look like:

2014-01-31 09:04:00,746 INFO release-upgrader version '0.210' started

Revision history for this message
ghostcube (ghostcube) wrote :

here is the info you wanted

2014-04-11 20:43:58,404 INFO release-upgrader version '0.220' started

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.