Weblog entry #205 for Steve

My first lenny upgrade ..
Posted by Steve on Sat 7 Mar 2009 at 13:32

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

Posted by ajt (195.112.xx.xx) on Sat 7 Mar 2009 at 18:18
[ Send Message | View Weblogs ]

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 ]

Posted by Anonymous (217.216.xx.xx) on Sat 7 Mar 2009 at 19:21
I'm using aptitude but I'm seriously thinking about back to apt-get again because aptitude is now such 'intelligent' bast*rd that remind me that cute robot who become an AI killer machine.

Besides aptitude default config is a real danger.

[ Parent | Reply to this comment ]

Posted by ajt (195.112.xx.xx) on Sat 7 Mar 2009 at 23:37
[ Send Message | View Weblogs ]

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 ]

Posted by Anonymous (217.216.xx.xx) on Sat 14 Mar 2009 at 17:12
I don't like many default config settings in aptitude, for instance, 'resolve automatically packages dependencies with a special heuristic (instead of default dependency resolution tool) which could fail or produce undesired results' or 'install recommended packages automatically' or 'fix broken packages (without asking) before install or delete'.

[ Parent | Reply to this comment ]

Posted by Steve (2001:0xx:0xx:0xxx:0xxx:0xxx:xx) on Sun 8 Mar 2009 at 13:22
[ Send Message | View Steve's Scratchpad | View Weblogs ]

Old habits die hard ..

Steve

[ Parent | Reply to this comment ]

Posted by simonw (84.45.xx.xx) on Sun 8 Mar 2009 at 21:56
[ Send Message | View Weblogs ]
Hehe,

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 ]

Posted by rjc (81.102.xx.xx) on Sun 8 Mar 2009 at 08:14
[ Send Message ]
I've upgraded two boxes recently: routing + squid proxy + dansguardian. Dansguardian stopped running on upgrade as usual and DansGuardian Webmin plugin (Windows techies like to click) doesn't "support" the new version. I was worried at first as one of the boxes was 10 feet and the other 2 miles away ;^) But at the end all went fine.

rjc

[ Parent | Reply to this comment ]

Posted by Alucard (98.118.xx.xx) on Mon 9 Mar 2009 at 23:13
[ Send Message | View Weblogs ]
I've upgraded two home servers now, with zero problems, unless you count both of my (propietary) UPS monitoring daemons segfaulting (one Belkin, one OptiUPS). Both are now running free agents (nut / apcupsd (bought a new UPS as the Opti was getting old)).

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 ]

Posted by Steve (2001:0xx:0xx:0xxx:0xxx:0xxx:xx) on Sun 15 Mar 2009 at 21:08
[ Send Message | View Steve's Scratchpad | View Weblogs ]

Test reply now this site has been upgraded to Lenny ..

Steve

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search