Don't panic, I really would not want to see someone go back in time. I've been running the 2.6.21 kernel for a few months and have compiled many a modem modules and Nvidia's 100.14.11.x86_64 driver. I'm actually running 2.6.22-1 kernel on another Lenny installation on another partition with the Nvidia driver and modem done up.
One thing I found handy running Lenny, is this section in /etc/apt/sources.list:
Code:
##################################
##### Kernel Archive Builder #####
##################################
#gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 29F335B3
#gpg --armor --export 29F335B3 | apt-key add -
deb http://kernel-archive.buildserver.net/debian-kernel/ trunk main
Yet this may not be the source of your error, just comes in handy for installing proper packages once and a while.
Are you booting up to two different kernels every other day?, why do you have two different types of kernel headers?. Which kernel are you on when you get these errors.
Here's what I got installed in the 2.6.21 Lenny:
Code:
gcc-3.4-base 3.4.6-5
gcc-4.1 4.1.2-13
gcc-4.1-base 4.1.2-13
gcc-4.2-base 4.2-20070712-1
linux-headers-2.6.21-2 2.6.21-6
linux-headers-2.6.21-2-amd64 2.6.21-6
linux-image-2.6.21-2-amd64 2.6.21-6
linux-kbuild-2.6.21 2.6.21-1
linux-libc-dev 2.6.22~rc7-1~experimental
Don't ask me why I have "linux-libc-dev-2.6.22~rc7-1-experimental" installed, this is the first time I see it!!, I just tell synaptic to apply updates and everything runs over here. But I originally installed this kernel from Sid, so that may be why I got "gcc-4.2-base" in there, I don't know??.
EDIT: The only time I have unstable uncommented in my sources.list is when I install a kernel from there, so these packages I have installed are the results of Lenny updates.