update 12.04 -> 14.04 fails

I'm running 12.04 x64 and thought I'd try to update to 14.04 since I think its out now. I tried

do-release-upgrade

but this quickly failed. Here is the text in /var/log/dist-upgrade/main.log

2014-04-26 14:18:21,655 INFO Using config files '['./DistUpgrade.cfg']'

2014-04-26 14:18:21,656 INFO uname information: 'Linux lin 3.13.7-x8664-linode38 #1 SMP Tue Mar 25 12:59:48 EDT 2014 x8664'

2014-04-26 14:18:21,656 INFO apt version: '0.8.16~exp12ubuntu10.16'

2014-04-26 14:18:21,656 INFO release-upgrader version '0.190.4' started

2014-04-26 14:18:21,681 WARNING estimatekernelsizeinboot() returned '0'?

2014-04-26 14:18:21,780 DEBUG Using 'DistUpgradeViewText' view

2014-04-26 14:18:21,820 DEBUG aufsOptionsAndEnvironmentSetup()

2014-04-26 14:18:21,820 DEBUG using '/tmp/upgrade-rw-S6j7jL' as aufsrwdir

2014-04-26 14:18:21,821 DEBUG using '/tmp/upgrade-chroot-g5nJcV' as aufs chroot dir

2014-04-26 14:18:21,821 DEBUG enable dpkg –force-overwrite

2014-04-26 14:18:21,835 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clonesystemstate.tar.gz'

2014-04-26 14:18:23,517 DEBUG lsb-release: 'precise'

2014-04-26 14:18:35,612 ERROR not handled exception:

Traceback (most recent call last):

File "/tmp/update-manager-9Gp30v/quantal", line 10, in sys.exit(main())

File "/tmp/update-manager-9Gp30v/DistUpgrade/DistUpgradeMain.py", line 240, in main

if app.run():

File "/tmp/update-manager-9Gp30v/DistUpgrade/DistUpgradeController.py", line 1764, in run

return self.fullUpgrade()

File "/tmp/update-manager-9Gp30v/DistUpgrade/DistUpgradeController.py", line 1616, in fullUpgrade

if not self.prepare():

File "/tmp/update-manager-9Gp30v/DistUpgrade/DistUpgradeController.py", line 429, in prepare

self._sshMagic()

File "/tmp/update-manager-9Gp30v/DistUpgrade/DistUpgradeController.py", line 299, in _sshMagic

"Do you want to continue?") % port)

File "/tmp/update-manager-9Gp30v/DistUpgrade/DistUpgradeViewText.py", line 216, in askYesNoQuestion

res = sys.stdin.readline().decode(ENCODING, "backslashreplace")

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

2014-04-26 14:18:35,613 DEBUG enabling apt cron job

4 Replies

Looks like a locale-related bug in the upgrader:

http://askubuntu.com/questions/257489/d … le-servers">http://askubuntu.com/questions/257489/do-release-upgrades-fails-on-multiple-servers

Thanks. That got me through the first update to 12.10 with some minor glitches. I went on to 13.10, and then to 14.04 just fine.

@piglet:

Looks like a locale-related bug in the upgrader:

http://askubuntu.com/questions/257489/d … le-servers">http://askubuntu.com/questions/257489/do-release-upgrades-fails-on-multiple-servers

Since 12.04 and 14.04 are both LTS releases, can't you just upgrade directly between them?

Well, I decided to use do-release-upgrade. That just set me up to upgrade to 12.10. I again used do-release-upgrade and that set me up to upgrade to 13.10. I accepted that, and assumed that afterwards do-release-upgrade would set me up to upgrade to 14.04; that in fact happened.

My first upgrade from 12.04 -> 12.10 was not smooth, as I first reported here. Although going through the motions for the locale refresh showed no changes, it must have reset something OK for the next try to work at all. However, the update ended in an Error. Instead of exiting with "x", I hit "r" to go through the cache again and that completed OK.

So, perhaps the problems I had in my 12.04 system were the reason that I was not directly offered the 14.04 upgrade?

Note that upgrading to 14.04 also installs apache 2.4, which may require some care for SSL pages and for .htaccess files, etc. See:

http://httpd.apache.org/docs/trunk/en/upgrading.html

@hoopycat:

Since 12.04 and 14.04 are both LTS releases, can't you just upgrade directly between them?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct