On my debian stable I'm running kernel 2.2.20
I did a apt-get upgrade without any problems, and then I did a apt-get dist-upgrade. I got this message:
Code:
Name Service Switch update in the C Library: pre-installation question.
Running services and programs that are using NSS need to be restarted,
otherwise they might not be able to do lookup or authentication any more.
The installation process is able to restart some services (such as ssh or
telnetd), but other programs cannot be restarted automatically. One such
program that needs manual stopping and restart after the glibc upgrade by
yourself is xdm - because automatic restart might disconnect your active
X11 sessions.
Known packages that need to be stopped before the glibc upgrade are:
xdm kdm gdm postgresql xscreensaver
This script did not detect any installed services which need to be
stopped.
If you want to interrupt the upgrade now and continue later, please
answer No to the question below.
Do you want to upgrade glibc now? [Y/n]
After answering Yes I got this:
Code:
WARNING: This version of glibc requires that you be running
kernel version 2.4.1 or later. Earlier kernels contained
bugs that may render the system unusable if a modern version
of glibc is installed.
dpkg: Feil ved behandling av /var/cache/apt/archives/libc6_2.3.6.ds1-13_i386.deb (--unpack):
underprosessen pre-installation script returnerte feilstatus 1
Det oppsto feil ved behandling av:
/var/cache/apt/archives/libc6_2.3.6.ds1-13_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
(Sorry it's in norwegian...)
Code:
# apt-get install linux-image-2.6-686
Leser pakkelister ... Ferdig
Skaper oversikt over avhengighetsforhold ... Ferdig
Du vil kanskje utføre "apt-get -f install" for å rette på disse:
Følgende pakker har uinnfridde avhengighetsforhold:
libc6-dev: Avhenger av: libc6 (= 2.3.6.ds1-13) men 2.3.2.ds1-22sarge5 skal installeres
linux-image-2.6-686: Avhenger av: linux-image-2.6.18-4-686 men skal ikke installeres
locales: Avhenger av: glibc-2.3.6.ds1-1
E: Uinnfridde avhengighetsforhold. Prøv "apt-get -f install" uten pakker (eller angi en løsning).
apt-get -f install turn into a loop where I'm getting the same messages....
apt-get upgrade and apt-get dist-upgrade gives me the same errormessages:
Code:
# apt-get upgrade
Leser pakkelister ... Ferdig
Skaper oversikt over avhengighetsforhold ... Ferdig
Du vil kanskje kjøre "apt-get -f install" for å rette på dette.
Følgende pakker har uinnfridde avhengighetsforhold:
libc6-dev: Avhenger av: libc6 (= 2.3.6.ds1-13) men 2.3.2.ds1-22sarge5 er installert
locales: Avhenger av: glibc-2.3.6.ds1-1
E: Uinnfridde avhengighetsforhold - Prøv "-f".
How can I fix this so that I can install a newer kernel, and then try dist upgrade again....?
Please help - I'm stuck...