do-release-upgrade failure from 12.04.2 lts to normal

Bug #1270109 reported by Tom Rutledge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

root@armor5--210-169-199-230:~# lsb_release -rd
Description: Ubuntu 12.04.2 LTS
Release: 12.04
root@armor5--210-169-199-230:~#

(capture from the screen)

Checking package manager

Continue running under SSH?

This session appears to be running under ssh. It is not recommended
to perform a upgrade over ssh currently because in case of failure it
is harder to recover.

If you continue, an additional ssh daemon will be started at port
'1022'.
Do you want to continue?

Continue [yN] Y

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-dHMgu4/quantal", line 10, in <module>
sys.exit(main())

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

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

File
"/tmp/update-manager-dHMgu4/DistUpgrade/DistUpgradeController.py",
line 1616, in fullUpgrade
if not self.prepare():

File
"/tmp/update-manager-dHMgu4/DistUpgrade/DistUpgradeController.py",
line 429, in prepare
self._sshMagic()

File
"/tmp/update-manager-dHMgu4/DistUpgrade/DistUpgradeController.py",
line 299, in _sshMagic
"Do you want to continue?") % port)

File "/tmp/update-manager-dHMgu4/DistUpgrade/DistUpgradeViewText.py",
line 216, in askYesNoQuestion
res = sys.stdin.readline().decode(ENCODING, "backslashreplace")

TypeError: decode() argument 1 must be string, not None
=== Command detached from window (Fri Jan 17 10:39:14 2014) ===
=== Command terminated with exit status 1 (Fri Jan 17 10:39:14 2014) ===

(requested files)
/var/log/dist-upgrade/main.log :

2014-01-17 10:39:07,950 INFO Using config files '['./DistUpgrade.cfg']'
2014-01-17 10:39:07,950 INFO uname information: 'Linux armor5--210-169-199-230 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64'
2014-01-17 10:39:07,950 INFO apt version: '0.8.16~exp12ubuntu10.10'
2014-01-17 10:39:07,950 INFO release-upgrader version '0.190.4' started
2014-01-17 10:39:08,031 DEBUG Using 'DistUpgradeViewText' view
2014-01-17 10:39:08,069 DEBUG aufsOptionsAndEnvironmentSetup()
2014-01-17 10:39:08,069 DEBUG using '/tmp/upgrade-rw-7FQN99' as aufs_rw_dir
2014-01-17 10:39:08,070 DEBUG using '/tmp/upgrade-chroot-4N7g_D' as aufs chroot dir
2014-01-17 10:39:08,070 DEBUG enable dpkg --force-overwrite
2014-01-17 10:39:08,081 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
2014-01-17 10:39:09,743 DEBUG lsb-release: 'precise'
2014-01-17 10:39:14,247 ERROR not handled exception:
Traceback (most recent call last):

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

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

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

  File "/tmp/update-manager-dHMgu4/DistUpgrade/DistUpgradeController.py", line 1616, in fullUpgrade
    if not self.prepare():

  File "/tmp/update-manager-dHMgu4/DistUpgrade/DistUpgradeController.py", line 429, in prepare
    self._sshMagic()

  File "/tmp/update-manager-dHMgu4/DistUpgrade/DistUpgradeController.py", line 299, in _sshMagic
    "Do you want to continue?") % port)

  File "/tmp/update-manager-dHMgu4/DistUpgrade/DistUpgradeViewText.py", line 216, in askYesNoQuestion
    res = sys.stdin.readline().decode(ENCODING, "backslashreplace")

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

2014-01-17 10:39:14,248 DEBUG enabling apt cron job

(requested files)
/var/log/dist-upgrade/apt.log : (no such file)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: update-manager (not installed)
ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Fri Jan 17 10:36:44 2014
InstallationMedia: Ubuntu-Server 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130214)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
Symptom: ubuntu-release-upgrader-core
UpgradeStatus: Upgraded to precise on 2014-01-17 (0 days ago)

Revision history for this message
Tom Rutledge (gulfie) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.