If you upgrade to Feisty Fawn (Ubuntu 7.04), you’ll have access to lots of Java goodies through apt-get. Apache for 7.04 has been bumped up to the 2.2 series, with all the improved proxy capabilities that entails if you are running a Rails app with Mongrel (no more compiling from source!).
Also, don’t forget to update /etc/apt/sources.list after an upgrade, if you use Universe. You need to change the following two lines:
deb http://us.archive.ubuntu.com/ubuntu/ [version name] universe deb-src http://us.archive.ubuntu.com/ubuntu/ [version name] universe
sed -e 's/\sdapper/ edgy/g' -i /etc/apt/sources.list apt-get update && apt-get dist-upgrade && apt-get dist-upgrade apt-get update && apt-get dist-upgrade apt-get -f install dpkg --configure -a
Reboot: (shutdown -r now)
NOTE: The multiple update and dist-upgrade statements are not a mistake! If you want to know why to do this, visit above url.
apt-get install update-manager-core do-release-upgrade
Reboot: (shutdown -r now)
apt-get install update-manager-core do-release-upgrade
Reboot: (shutdown -r now)