Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Apr 26, 2014 5:26 pm 
Offline
Senior Member

Joined: Sat Oct 23, 2010 12:56 pm
Posts: 73
Website: http://www.ingber.com
Location: Oregon
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-x86_64-linode38 #1 SMP Tue Mar 25 12:59:48 EDT 2014 x86_64'
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 estimate_kernel_size_in_boot() 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 aufs_rw_dir
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-clone_system_state.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 <module>
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

_________________
http://www.ingber.com


Last edited by ingber on Sun Apr 27, 2014 5:47 pm, edited 2 times in total.

Top
   
PostPosted: Sun Apr 27, 2014 1:39 am 
Offline
Junior Member

Joined: Mon Oct 23, 2006 12:09 am
Posts: 26
Looks like a locale-related bug in the upgrader:

http://askubuntu.com/questions/257489/d ... le-servers


Top
   
PostPosted: Sun Apr 27, 2014 11:58 am 
Offline
Senior Member

Joined: Sat Oct 23, 2010 12:56 pm
Posts: 73
Website: http://www.ingber.com
Location: Oregon
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 wrote:
Looks like a locale-related bug in the upgrader:

http://askubuntu.com/questions/257489/d ... le-servers

_________________
http://www.ingber.com


Last edited by ingber on Sun Apr 27, 2014 5:42 pm, edited 1 time in total.

Top
   
PostPosted: Sun Apr 27, 2014 3:49 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Since 12.04 and 14.04 are both LTS releases, can't you just upgrade directly between them?

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Sun Apr 27, 2014 5:02 pm 
Offline
Senior Member

Joined: Sat Oct 23, 2010 12:56 pm
Posts: 73
Website: http://www.ingber.com
Location: Oregon
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 wrote:
Since 12.04 and 14.04 are both LTS releases, can't you just upgrade directly between them?

_________________
http://www.ingber.com


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group