Public bug reported:

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

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "main.log"
   https://bugs.launchpad.net/bugs/1175895/+attachment/3663366/+files/main.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175895

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to