[Bug 1166346] Re: do-release-upgrade 12.04 to 12.10 gives fatal error
Launchpad Bug Tracker
1166346 at bugs.launchpad.net
Thu Apr 11 09:09:15 UTC 2013
This bug was fixed in the package ubuntu-release-upgrader - 1:0.192.8
---------------
ubuntu-release-upgrader (1:0.192.8) raring; urgency=low
* fallback to UTF-8 if getdefaultlocale returns None (LP: #1166346)
-- Brian Murray <brian at ubuntu.com> Wed, 10 Apr 2013 10:49:50 -0700
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: In Progress => Fix Released
--
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/1166346
Title:
do-release-upgrade 12.04 to 12.10 gives fatal error
Status in “ubuntu-release-upgrader” package in Ubuntu:
Fix Released
Bug description:
I have a 12.04 server installation that I wish to upgrade to 12.10.
This is an Amazon AWS installation, so I must perform this over SSH, rather than at a console.
I edited /etc/update-manager/release-upgrades and changed "Prompt=lts" to "Prompt=normal", and ran do-release-upgrade.
[[[[[[[[[[ START CONSOLE OUTPUT ]]]]]]]]]]
$ sudo do-release-upgrade
Reading cache
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-3yWNGP/quantal", line 10, in <module>
sys.exit(main())
File "/tmp/update-manager-3yWNGP/DistUpgrade/DistUpgradeMain.py",
line 240, in main
if app.run():
File
"/tmp/update-manager-3yWNGP/DistUpgrade/DistUpgradeController.py",
line 1764, in run
return self.fullUpgrade()
File
"/tmp/update-manager-3yWNGP/DistUpgrade/DistUpgradeController.py",
line 1616, in fullUpgrade
if not self.prepare():
File
"/tmp/update-manager-3yWNGP/DistUpgrade/DistUpgradeController.py",
line 429, in prepare
self._sshMagic()
File
"/tmp/update-manager-3yWNGP/DistUpgrade/DistUpgradeController.py",
line 299, in _sshMagic
"Do you want to continue?") % port)
File "/tmp/update-manager-3yWNGP/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 (Mon Apr 8 17:18:37 2013) ===
=== Command terminated with exit status 1 (Mon Apr 8 17:18:37 2013) ===
[[[[[[[[[[ END CONSOLE OUTPUT ]]]]]]]]]]
The file /var/log/dist-upgrade/apt.log does not exist. The file
/var/log/dist-upgrade/main.log contains the following:
[[[[[[[[[[ START /var/log/dist-upgrade/main.log ]]]]]]]]]]
2013-04-08 17:29:17,567 INFO Using config files '['./DistUpgrade.cfg']'
2013-04-08 17:29:17,567 INFO uname information: 'Linux ip-10-235-87-87 3.2.0-29-virtual #46-Ubuntu SMP Fri Jul 27 17:23:50 UTC 2012 x86_64'
2013-04-08 17:29:17,567 INFO apt version: '0.8.16~exp12ubuntu10.10'
2013-04-08 17:29:17,567 INFO release-upgrader version '0.190.4' started
2013-04-08 17:29:17,661 DEBUG Using 'DistUpgradeViewText' view
2013-04-08 17:29:17,706 DEBUG aufsOptionsAndEnvironmentSetup()
2013-04-08 17:29:17,706 DEBUG using '/tmp/upgrade-rw-NmOHFD' as aufs_rw_dir
2013-04-08 17:29:17,707 DEBUG using '/tmp/upgrade-chroot-XV03IM' as aufs chroot dir
2013-04-08 17:29:17,707 DEBUG enable dpkg --force-overwrite
2013-04-08 17:29:17,725 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
2013-04-08 17:29:19,514 DEBUG lsb-release: 'precise'
2013-04-08 17:29:21,076 ERROR not handled exception:
Traceback (most recent call last):
File "/tmp/update-manager-7H8p6y/quantal", line 10, in <module>
sys.exit(main())
File "/tmp/update-manager-7H8p6y/DistUpgrade/DistUpgradeMain.py", line 240, in main
if app.run():
File "/tmp/update-manager-7H8p6y/DistUpgrade/DistUpgradeController.py", line 1764, in run
return self.fullUpgrade()
File "/tmp/update-manager-7H8p6y/DistUpgrade/DistUpgradeController.py", line 1616, in fullUpgrade
if not self.prepare():
File "/tmp/update-manager-7H8p6y/DistUpgrade/DistUpgradeController.py", line 429, in prepare
self._sshMagic()
File "/tmp/update-manager-7H8p6y/DistUpgrade/DistUpgradeController.py", line 299, in _sshMagic
"Do you want to continue?") % port)
File "/tmp/update-manager-7H8p6y/DistUpgrade/DistUpgradeViewText.py", line 216, in askYesNoQuestion
res = sys.stdin.readline().decode(ENCODING, "backslashreplace")
TypeError: decode() argument 1 must be string, not None
2013-04-08 17:29:21,077 DEBUG enabling apt cron job
[[[[[[[[[[ END /var/log/dist-upgrade/main.log ]]]]]]]]]]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1166346/+subscriptions
More information about the foundations-bugs
mailing list