do-release-upgrade doesnt backup or commit existing sources.list
Bug #1306936 reported by
ghostcube
This bug report is a duplicate of:
Bug #1251588: ubuntu-release-upgrader crashed in save() with UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 103: ordinal not in range(128).
Edit
Remove
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
anything else i can check so far?
i think this shouldnt happen.
affects: | sysvinit (Ubuntu) → update-manager (Ubuntu) |
To post a comment you must log in.
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> exit(main( ))
sys.
File "/tmp/ubuntu- release- upgrader- 9bqw0n/ DistUpgrade/ DistUpgradeMain .py", line 243, in main
if app.run():
File "/tmp/ubuntu- release- upgrader- 9bqw0n/ DistUpgrade/ DistUpgradeCont roller. py", line 1826, in run
return self.fullUpgrade()
File "/tmp/ubuntu- release- upgrader- 9bqw0n/ DistUpgrade/ DistUpgradeCont roller. py", line 1717, in fullUpgrade cesList( ):
if not self.updateSour
File "/tmp/ubuntu- release- upgrader- 9bqw0n/ DistUpgrade/ DistUpgradeCont roller. py", line 807, in updateSourcesList sources. save()
self.
File "/tmp/ubuntu- release- upgrader- 9bqw0n/ DistUpgrade/ sourceslist. py", line 416, in save source. file].write( source. str())
files[
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?