[Bug 1186936] Re: do-release-upgrade -d crash when trying to upgrade to saucy

Nicolas Devillers devillers.nicolas at gmail.com
Mon Jun 3 09:50:30 UTC 2013


apport information

** Tags added: apport-collected dist-upgrade raring

** Description changed:

  while trying to upgrade to saucy from raring, do-release-upgrade is
  crashing with the following stack-trace:
  
  Traceback (most recent call last):
    File "/tmp/ubuntu-release-upgrader-jpqsq1/saucy", line 10, in <module>
      sys.exit(main())
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/DistUpgradeMain.py", line 240, in main
      if app.run():
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/DistUpgradeController.py", line 1781, in run
      return self.fullUpgrade()
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/DistUpgradeController.py", line 1676, in fullUpgrade
      if not self.updateSourcesList():
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/DistUpgradeController.py", line 750, in updateSourcesList
      if not self.rewriteSourcesList(mirror_check=True):
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/DistUpgradeController.py", line 726, in rewriteSourcesList
      logging.debug("entry '%s' was disabled (unknown mirror)" % get_string_with_no_auth_from_source_entry(entry))
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/utils.py", line 89, in get_string_with_no_auth_from_source_entry
      return str(tmp)
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/sourceslist.py", line 215, in __str__
      return self.str().strip()
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/sourceslist.py", line 233, in str
      line += " #"+self.comment
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
  
  My python env is the following:
  /usr/bin/env python
  Python 2.7.4 (default, Apr 19 2013, 18:28:01)
+ --- 
+ ApportVersion: 2.9.2-0ubuntu8.1
+ Architecture: amd64
+ CrashDB: ubuntu
+ DistroRelease: Ubuntu 13.04
+ EcryptfsInUse: Yes
+ InstallationDate: Installed on 2013-04-08 (55 days ago)
+ InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
+ MarkForUpload: True
+ Package: ubuntu-release-upgrader (not installed)
+ ProcEnviron:
+  TERM=xterm
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=fr_FR.UTF-8
+  SHELL=/bin/bash
+ Tags:  raring dist-upgrade
+ Uname: Linux 3.9.0-030900rc8-generic x86_64
+ UpgradeStatus: Upgraded to raring on 2013-06-03 (0 days ago)
+ UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
+ VarLogDistupgradeAptlog:
+  Log time: 2013-06-03 10:13:39.019360
+  Log time: 2013-06-03 10:13:43.919537

** Attachment added: "HookError_cloud_archive.txt"
   https://bugs.launchpad.net/bugs/1186936/+attachment/3693515/+files/HookError_cloud_archive.txt

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

Title:
  do-release-upgrade -d crash when trying to upgrade to saucy

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

Bug description:
  while trying to upgrade to saucy from raring, do-release-upgrade is
  crashing with the following stack-trace:

  Traceback (most recent call last):
    File "/tmp/ubuntu-release-upgrader-jpqsq1/saucy", line 10, in <module>
      sys.exit(main())
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/DistUpgradeMain.py", line 240, in main
      if app.run():
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/DistUpgradeController.py", line 1781, in run
      return self.fullUpgrade()
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/DistUpgradeController.py", line 1676, in fullUpgrade
      if not self.updateSourcesList():
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/DistUpgradeController.py", line 750, in updateSourcesList
      if not self.rewriteSourcesList(mirror_check=True):
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/DistUpgradeController.py", line 726, in rewriteSourcesList
      logging.debug("entry '%s' was disabled (unknown mirror)" % get_string_with_no_auth_from_source_entry(entry))
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/utils.py", line 89, in get_string_with_no_auth_from_source_entry
      return str(tmp)
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/sourceslist.py", line 215, in __str__
      return self.str().strip()
    File "/tmp/ubuntu-release-upgrader-jpqsq1/DistUpgrade/sourceslist.py", line 233, in str
      line += " #"+self.comment
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)

  My python env is the following:
  /usr/bin/env python
  Python 2.7.4 (default, Apr 19 2013, 18:28:01)
  --- 
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: amd64
  CrashDB: ubuntu
  DistroRelease: Ubuntu 13.04
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2013-04-08 (55 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MarkForUpload: True
  Package: ubuntu-release-upgrader (not installed)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  Tags:  raring dist-upgrade
  Uname: Linux 3.9.0-030900rc8-generic x86_64
  UpgradeStatus: Upgraded to raring on 2013-06-03 (0 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  VarLogDistupgradeAptlog:
   Log time: 2013-06-03 10:13:39.019360
   Log time: 2013-06-03 10:13:43.919537

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




More information about the foundations-bugs mailing list