I have never done and upgrade that large before. I know I should do it incrementally (7.04 -> 7.10 ->8.04). Has anyone had a problem doing this? All his apps are from the repos, so there aren't any weird apps on there. Should I
cat /etc/apt/sources.list | sed -e s/feisty/gutsy/g | sudo tee /etc/apt/sources.list
sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot
...
cat /etc/apt/sources.list | sed -e s/gutsy/hardy/g | sudo tee /etc/apt/sources.list
sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot
??? Or would you suggest just letting Update Manager handle it?
I would like to try as hard as I can to not have to format.
Any tips (outside of backing up data, that is a no-brainer) that could help are greatly appreciated!
I've done some upgrades from 7.04 -> 7.10 -> 8.04 without any problems. Do it incrementally, and let update-manager handle it. Should be NP.
ReplyDeleteWow, convoluted use of shell much??
ReplyDeletesed -i s/gutsy/hardy/ /etc/apt/sources.list
I agree with jone: do it incrementally, and use update-manager. It shouldn't take too much longer and is the supported (and "safe") way to upgrade between Ubuntu releases.
ReplyDeleteAn alternative to update-manager is "do-release-upgrade".
ReplyDeleteIt's more superstition than logic, but I always run
ReplyDeletesudo apt-get upgrade
Twice before I try
sudo apt-get dis-upgrade
And I've never had any problems. Also, I've never tried doing a full upgrade outside the command-line environment, but for what it's worth I do have secondhand knowledge of someone who managed to get their box into a VERY bad state using the upgrade GUI.
I'm not a long-time Linux user but this is just my two cents... is your father's machine set up with /home on a separate partition? I moved my /home to a new partition in March and it was amazing how much more confident I am with dist-upgrades knowing that my data (and settings) are walled off from the package changes. I haven't had great experiences with gui-based upgrades; each release I've usually just ended up reinstalling over the install partition - which is SO much easier to do when /home is elsewhere.
ReplyDelete