[Bug 1294306] [NEW] Ubuntu release upgrade in terminal crashes on modyfiing sources list

Ondřej Buriánek 1294306 at bugs.launchpad.net
Tue Mar 18 19:22:47 UTC 2014


Public bug reported:

When launching 
$ do-release-upgrade -d

Traceback (most recent call last):

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

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

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

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

File 
"/tmp/ubuntu-release-upgrader-rtiybf/DistUpgrade/DistUpgradeController.py", 
line 760, in updateSourcesList 
if not self.rewriteSourcesList(mirror_check=True): 

File 
"/tmp/ubuntu-release-upgrader-rtiybf/DistUpgrade/DistUpgradeController.py", 
line 736, in rewriteSourcesList 
logging.debug("entry '%s' was disabled (unknown mirror)" % 
get_string_with_no_auth_from_source_entry(entry)) 

File "/tmp/ubuntu-release-upgrader-rtiybf/DistUpgrade/utils.py", line 
89, in get_string_with_no_auth_from_source_entry 
return str(tmp) 

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

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "dist-upgrade log"
   https://bugs.launchpad.net/bugs/1294306/+attachment/4031036/+files/main.log

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

Title:
  Ubuntu release upgrade in terminal crashes on modyfiing sources list

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

Bug description:
  When launching 
  $ do-release-upgrade -d

  Traceback (most recent call last):

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

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

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

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

  File 
  "/tmp/ubuntu-release-upgrader-rtiybf/DistUpgrade/DistUpgradeController.py", 
  line 760, in updateSourcesList 
  if not self.rewriteSourcesList(mirror_check=True): 

  File 
  "/tmp/ubuntu-release-upgrader-rtiybf/DistUpgrade/DistUpgradeController.py", 
  line 736, in rewriteSourcesList 
  logging.debug("entry '%s' was disabled (unknown mirror)" % 
  get_string_with_no_auth_from_source_entry(entry)) 

  File "/tmp/ubuntu-release-upgrader-rtiybf/DistUpgrade/utils.py", line 
  89, in get_string_with_no_auth_from_source_entry 
  return str(tmp) 

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

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



More information about the foundations-bugs mailing list