PDA

View Full Version : [all variants] Before-Dist-upgrade checklist



vexorian
April 25th, 2008, 12:41 AM
So, after my failure to move to gutsy I decided it is about time to move, getdeb is already making me unable to get the newest candy since my distro is oldish...


My plan for hardy is as folows: Download the CD (So I can seed it and also reinstall later) and then do a dist-upgrade, if dist-upgrade fails :( Do a from scratch install for hardy, like I did with feisty (it was a little sad since I lost a lot of settings)


So, I'd like to increase the probability for dist-upgrade to work this is the plan right now:
- Do a complete backup
- reinstall ubuntu-desktop (cause I have removed that package some long ago)
- uninstall kubuntu-desktop and xubuntu-desktop, will get to them later.
- Uninstall virtualbox (keep the harddrives ) and nvidia's driver

- remove third party repos ( I only got WINE and some for compiz which I no longer use)

So here go my questions:
- AM I missing something?
- What tool do you recommend me for a complete backup/ Is there one?
- How do you actually uninstall an nvidia driver you installed from their site (compiled) and not from the restricted manager?

Partyboi2
April 25th, 2008, 01:11 AM
To back up you could use something like timevault
http://www.howtoforge.com/snapshot-backups-with-timevault-ubuntu-7.10
or sbackup
http://www.debianadmin.com/backup-and-restore-your-ubuntu-system-using-sbackup.html
or
http://www.arsgeek.com/?p=637

agent8131
April 25th, 2008, 01:27 AM
A couple of things that are on my checklist:

1. Make sure that /etc/hosts has an entry for your hostname (without domain) to prevent sudo from breaking due to bug #32906.

2. If you are using apt-get or aptitude to do the upgrade use the -d flag first which downloads all the packages locally and gives you a final chance to review before starting.

3. If you use truecrypt make sure you've upgraded to version 5 or later (5.1a is the latest).

Anyone else have suggestions?

agent8131
April 25th, 2008, 01:29 AM
Oh, and,

4. Don't upgrade any Xen DomU's until bug #218126 is resolved.

vexorian
April 25th, 2008, 02:01 AM
2. If you are using apt-get or aptitude to do the upgrade use the -d flag first which downloads all the packages locally and gives you a final chance to review before starting.


Anyone else have suggestions?

Does this also allow me to resume later?

--
Got more: Uninstall .debs of software/versions that are now included in the distro, for example, I am uninstalling transmission (I used feisty so it wasn't on the repos, had to install a .deb)

agent8131
April 26th, 2008, 12:11 AM
Does this also allow me to resume later?


Yes, you can run with -d the first time to get all the packages, if it fails, or you cancel you can just run it again. Once the download is complete you can perform any review steps, then run again without -d and the upgrade will proceed.

vexorian
April 28th, 2008, 01:45 PM
Yes, you can run with -d the first time to get all the packages, if it fails, or you cancel you can just run it again. Once the download is complete you can perform any review steps, then run again without -d and the upgrade will proceed.

That's nice.

I got a problem people.

How do you actually upgrade to hardy? update-manager only got a upgrade to gutsy button... I did a sudo apt-get update and nothing.

Archmage
April 28th, 2008, 01:59 PM
How do you actually upgrade to hardy? update-manager only got a upgrade to gutsy button... I did a sudo apt-get update and nothing.

Thats normal. You can only upgrade from Feisty to Gusty. After that you can upgrade from Gusty to Hardy.

vexorian
April 28th, 2008, 02:30 PM
Thats normal. You can only upgrade from Feisty to Gusty. After that you can upgrade from Gusty to Hardy.

So, I'll have to download twice the packages, that's just ... lame guess I will have to do an install from scratch, feisty is already being discriminated package-wise, ouch.

agent8131
April 29th, 2008, 01:29 AM
You can upgrade straight from feisty to hardy but you have to do it by manually updating your sources.list and I would suggest upgrading via the command line to deal with any issues. Still that's what I would do in that situation.