[Bug 1175895] Re: do-release-upgrade fails: TypeError: decode() argument 1 must be string, not None

Brian Murray brian at ubuntu.com
Fri May 3 15:50:02 UTC 2013


*** This bug is a duplicate of bug 1166346 ***
    https://bugs.launchpad.net/bugs/1166346

** Changed in: ubuntu-release-upgrader (Ubuntu)
   Importance: Undecided => Medium

** Tags added: precise

** This bug has been marked a duplicate of bug 1166346
   do-release-upgrade 12.04 to 12.10 gives fatal error

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

Title:
  do-release-upgrade fails: TypeError: decode() argument 1 must be
  string, not None

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

Bug description:
  Trying to upgrade from 12.04 to the next version, I get the following
  error:

  $ LC_ALL=C do-release-upgrade
  ....
  WARNING: Failed to read mirror file

  Third party sources disabled

  Some third party entries in your sources.list were disabled. You can 
  re-enable them after the upgrade with the 'software-properties' tool 
  or your package manager. 

  To continue please press [ENTER]


  A fatal error occurred

  Please report this as a bug and include the files 
  /var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in 
  your report. The upgrade has aborted. 
  Your original sources.list was saved in 
  /etc/apt/sources.list.distUpgrade. 

  Traceback (most recent call last):

  File "/tmp/update-manager-ewoDWd/quantal", line 10, in <module> 
  sys.exit(main()) 

  File "/tmp/update-manager-ewoDWd/DistUpgrade/DistUpgradeMain.py", 
  line 240, in main 
  if app.run(): 

  File 
  "/tmp/update-manager-ewoDWd/DistUpgrade/DistUpgradeController.py", 
  line 1764, in run 
  return self.fullUpgrade() 

  File 
  "/tmp/update-manager-ewoDWd/DistUpgrade/DistUpgradeController.py", 
  line 1663, in fullUpgrade 
  if not self.updateSourcesList(): 

  File 
  "/tmp/update-manager-ewoDWd/DistUpgrade/DistUpgradeController.py", 
  line 803, in updateSourcesList 
  _("Some third party entries in your sources.list " 

  File "/tmp/update-manager-ewoDWd/DistUpgrade/DistUpgradeViewText.py", 
  line 138, in information 
  sys.stdin.readline().decode(ENCODING, "backslashreplace") 

  TypeError: decode() argument 1 must be string, not None

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




More information about the foundations-bugs mailing list