from Lenny to Squeeze
Yesterday I update one of my Lenny box to Squeeze. What follow is nothing new but only my personal experience ;)
This is what I did:
edit the source list
:: Code ::aptitude update
aptitude install apt dpkg aptitude
I choose to maintain my configuration file for mysql. This choice can generate problems during the upgrade process, because an option in the my.cnf file with the new version of mysql give problems.
My suggestion is to comment the line skip-bdb before the upgrade.
:: Code ::# According to an MySQL employee the use of BerkeleyDB is now discouraged
# and support for it will probably cease in the next versions.
After that I clean a bit (I found forgotten package from etch :P)
:: Code ::aptitude clean
For the following 2 commands use a bit of brain
purge the packages that were removed, but not purged
:: Code ::aptitude purge ~c
purge obsolete packages ( == packages not in any repos so also a package compiled by had)
:: Code ::aptitude purge ~o
I used this command to retrieve the list then I removed only the package not installed by hand (some time happen).
Back to top
Posted: Sep 1, 10, 20:49 techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Location: East Coast, West Coast? I know it's one of them.
good commands, I didn't know those, nice.
Back to top
All times are GMT - 8 Hours