News for hackers. Stuff that matters.
Re:Ubuntu 12.10 Now Available by wpietri on Thursday October 18, 2012 @03:28PM (#4670580)
Say, has somebody come up with a clever way for me to try this and then revert if I'd rather stick with 12.04 LTS? Besides, of course, backing up and restoring everything?
Re:Ubuntu 12.10 Now Available by martindale on Thursday October 18, 2012 @05:21PM (#4671186)
Install it on a USB key. If you want to try the upgrade but have a perfect backup of 12.04 LTS, you can image your drive (depending on resources) with the "dd" utility. WARNING: be very careful with this. You can easily destroy things with dd.

From the USB install;

  dd if=/dev/{ubuntuDrivePath} of={someOtherDrive}/{backupFile}.img
This creates a 1 to 1 representation of your drive. For example,

  dd if=/dev/sda of=/media/data/backups/workstation.img
You will of course need to use an additional drive to store your backup.

To restore, boot into USB again, and execute:

  dd if={yourBackup} of=/dev/{ubuntuDrivePath}
Re:Ubuntu 12.10 Now Available by loevborg on Thursday October 18, 2012 @04:48PM (#4671032)
Well, what you can do is boot from a live usb stick, mount your drive, move /* to /old/ and install afresh. If everything works as desired, you can move back your /home/user directory or selectively get your home directory back. If you don't like it, move everything back. Then you only need to restore grub, which should be easily doable using a chroot from the live media.
Re:Ubuntu 12.10 Now Available by wpietri on Thursday October 18, 2012 @07:19PM (#4671551)
Thanks! Alas, that means I have to deal with a fresh install. Which I may do, but it's not the straightforward things I was hoping for.

What I'm really looking for is the sort of upgrade/rollback process I'm used to creating for my production apps. One-button upgrade, one-button rollback.

Looks like Ubuntu isn't there yet. I suppose the easy thing is just to get another disk, clone my existing setup, and do the upgrade. If I don't like it, I'll just swap in the backup disk.

Re:Ubuntu 12.10 Now Available by JulianMorrison on Thursday October 18, 2012 @03:34PM (#4670628)
Yes, a live CD / live USB stick.
Re:Ubuntu 12.10 Now Available by loungin on Thursday October 18, 2012 @03:31PM (#4670604)
Why not use a virtual machine? Then you can be worry free about your current setup.
Re:Ubuntu 12.10 Now Available by wpietri on Thursday October 18, 2012 @03:44PM (#4670676)
My major issue with Ubuntu upgrades are hardware related, and another set are issues that only show up after a few days of use. So I'd rather try it for a week and then roll back if it's a net negative.
Re:Ubuntu 12.10 Now Available by drivebyacct2 on Thursday October 18, 2012 @05:05PM (#4671114)
Uhm, don't do an inplace upgrade anyway, they suck. If you have /home on another drive, there's no "backup" or "restore" stage.
Re:Ubuntu 12.10 Now Available by gnaritas on Thursday October 18, 2012 @05:44PM (#4671265)
No they don't suck, they rock. This isn't windows, and I shouldn't have to lost my setup to upgrade to the latest distro.
Re:Ubuntu 12.10 Now Available by drivebyacct2 on Thursday October 18, 2012 @06:07PM (#4671343)
Yes, they do suck. I regularly see and help people that are dealing with broken systems because of stalled/incomplete/broken in place upgrades.

Regardless, it's easy to not lose your setup, run the latest OS AND not do in-place upgrades.

Just put /home on a separate partition and you're done. Use dpkg to make a list and restore a list of applications (same with repos). A few files to backup and a few minutes to wait for the apps to redownload. Completely clean system. Same apps. All the while /home was untouched.

Re:Ubuntu 12.10 Now Available by gnaritas on Friday October 19, 2012 @10:54AM (#4673752)
I've never had a single issue with the in place upgrades, and no putting home on another partition is not sufficient. Lots of stuff in /etc has been customized and that would need restored as well. I've been through half a dozen or so and they've always worked fine for me.
Re:Ubuntu 12.10 Now Available by gingerjoos on Friday October 19, 2012 @04:39AM (#4672731)
I find, sometimes, that doing an

#apt-get -f missing

fixes many of these post-upgrade problems. YMMV!