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

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


** Description changed:

- When launching 
+ When launching upgrade from saucy to trusty
  $ do-release-upgrade -d
+ 
+ Upgrade went ok when I removed apt sources:
+ http://ppa.launchpad.net/cz.nic-labs/datove-schranky/ubuntu
+ http://ppa.launchpad.net/zerem/ppa/ubuntu
+ ....
+ 
+ Also relevant for character u'\xe1\' = á
+ LANG=cs_CZ.UTF-8
+ LANGUAGE=cs:en
+ LC_CTYPE="cs_CZ.UTF-8"
+ LC_NUMERIC=cs_CZ.UTF-8
+ LC_TIME=cs_CZ.UTF-8
+ LC_COLLATE="cs_CZ.UTF-8"
+ LC_MONETARY=cs_CZ.UTF-8
+ LC_MESSAGES="cs_CZ.UTF-8"
+ LC_PAPER=cs_CZ.UTF-8
+ LC_NAME=cs_CZ.UTF-8
+ LC_ADDRESS=cs_CZ.UTF-8
+ LC_TELEPHONE=cs_CZ.UTF-8
+ LC_MEASUREMENT=cs_CZ.UTF-8
+ LC_IDENTIFICATION=cs_CZ.UTF-8
+ LC_ALL=
+ 
  
  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/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/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 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 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 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/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) 
+ 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 
+ UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in
  position 85: ordinal not in range(128)

-- 
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 upgrade from saucy to trusty
  $ do-release-upgrade -d

  Upgrade went ok when I removed apt sources:
  http://ppa.launchpad.net/cz.nic-labs/datove-schranky/ubuntu
  http://ppa.launchpad.net/zerem/ppa/ubuntu
  ....

  Also relevant for character u'\xe1\' = á
  LANG=cs_CZ.UTF-8
  LANGUAGE=cs:en
  LC_CTYPE="cs_CZ.UTF-8"
  LC_NUMERIC=cs_CZ.UTF-8
  LC_TIME=cs_CZ.UTF-8
  LC_COLLATE="cs_CZ.UTF-8"
  LC_MONETARY=cs_CZ.UTF-8
  LC_MESSAGES="cs_CZ.UTF-8"
  LC_PAPER=cs_CZ.UTF-8
  LC_NAME=cs_CZ.UTF-8
  LC_ADDRESS=cs_CZ.UTF-8
  LC_TELEPHONE=cs_CZ.UTF-8
  LC_MEASUREMENT=cs_CZ.UTF-8
  LC_IDENTIFICATION=cs_CZ.UTF-8
  LC_ALL=


  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