Tatva-Artha

meaning of "it"

Upgrading Ubuntu: from 9.04 to 9.10

without comments

So, after ignoring the new upgrade in my update-manager for several months, I finally decided to upgrade today.

I don’t remember any major headaches when upgrading from v8.10 to 9.04 except for a few config files (mysql’s my.cnf) being changed. However, this time it wasn’t as smooth.

The total time it took to download and install upgrade was around 2.5-3 hours. On the upside, it did upgrade my netbeans version automatically from 6.5 to 6.7, which I meant to do one of these days. However, the default version of Netbeans didn’t have ruby plugin in it. So, I had to patch that manually and install other plugins that aren’t default in netbeans (e.g. haml).

Mysql upgrade wasn’t as smooth. The server didn’t install properly and won’t start. It was time to roll up sleeves and get to work (should’ve planned timing properly!)

# try starting daemon
$ sudo /etc/init.d/mysql start
# won't start, time to tail daemon log
$ tail -f /var/log/daemon.log
# found that /var/run/mysqld folder is missing

After some googling, found that this is an issue with v9.10 upgrade. References here and here. The workarounds mentioned in these bug-reports didn’t work for me. I had to uninstall and install mysql-server.

$ sudo apt-get remove mysql-server
$ sudo apt-get install mysql-server
# try restarting server
$ sudo /etc/init.d/mysql start

Lucky me, re-installing mysql-server doesn’t delete any existing databases and those database files work with new version of mysql-server.

Lesson Learnt: Upgrade only when you have 4-6 hours of spare time in hand.

Initial impression about the upgrade is mixed. I am happy that I am “current”, however not sure what else it out there broken waiting to eat a few more hours. Also, I do miss the old color theme over new one. I should get used to new theme with time though.

http://www.tatvartha.com/wp-content/plugins/sociofluid/images/digg_16.png http://www.tatvartha.com/wp-content/plugins/sociofluid/images/reddit_16.png http://www.tatvartha.com/wp-content/plugins/sociofluid/images/stumbleupon_16.png http://www.tatvartha.com/wp-content/plugins/sociofluid/images/delicious_16.png http://www.tatvartha.com/wp-content/plugins/sociofluid/images/google_16.png http://www.tatvartha.com/wp-content/plugins/sociofluid/images/twitter_16.png

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Written by Sharad

November 27th, 2009 at 10:04 am

Posted in All

Leave a Reply