Weblog entry #205 for Steve
I've completed the first of my planned Lenny upgrades. It was mostly painless.
First of all I updated my sources.list file, then I ran:
apt-get update apt-get install apt apt-get dist-upgrade
There were no errors, no failures, and things seem good. Of course the machine I upgraded only runs one service (cfengine) so there wasn't too much likelihood of failure.
I'll leave it a week or so then upgrade this host.. Then on to my other boxes in rotation.
Comments on this Entry
Naughty, naughty! You know you should be using aptitude not apt-get... ;-)
While aptitude can be a tad slower than apt-get it does tend to handle dependences better and it is better at cleaning up when you remove something - in that it tends to remove automatically installed dependant modules if they are no longer required, properly.
However, congratulations on the upgrade may the rest be as painless.
--
"It's Not Magic, It's Work"
Adam
[ Parent | Reply to this comment ]
Besides aptitude default config is a real danger.
[ Parent | Reply to this comment ]
Ah, the Rise of the Machines...
What don't you like about the defaults of aptitude?
--
"It's Not Magic, It's Work"
Adam
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
[ Send Message | View Steve's Scratchpad | View Weblogs ]
Old habits die hard ..
[ Parent | Reply to this comment ]
it is definitely time to change. Aptitude told me about a lot of the old packages I didn't need when I did the upgrade.
One oddity I had was one of the machines (evil bastardised Sarge install with dotdeb, and a few manual debs), upgraded to Etch, upgraded to Lenny, but a couple of days later said "I've got the rest of lenny for you". I couldn't quite figure out what went wrong. Following the #dpkg advice from #debian, I think it never completed the full-upgrade step. The test version of the same upgrade did exactly the same thing, so I may have a copy of the package selection if it is common enough to be a bug. Also noticed some machines lacked locale, and that ntp also had issues with upgrading (at least one bug filed).
All machines had a load of old packages to remove after, especially old BIND/ISC packages, which deborphan pointed out.
[ Parent | Reply to this comment ]
rjc
[ Parent | Reply to this comment ]
Neither my hard drives nor my NICs got renamed. It was almost boring. I have not yet done a mail server though.
[ Parent | Reply to this comment ]
[ Send Message | View Steve's Scratchpad | View Weblogs ]
Test reply now this site has been upgraded to Lenny ..
[ Parent | Reply to this comment ]