sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #92751
Re: sarge debian med gcc-4.2 og kernel 2.4
On 2007-08-14, Martin Møller Skarbiniks Pedersen <traxplayer@xxxxxxxxx> wrote:
> Jeg har en sarge debian og vil gerne bruge gcc 4.X, så jeg tilføjede
> unstable til min apt source-list og skrev
> sirius:~# apt-get install g++-4.2
Det er ikke understøttet at springe over stable releases i debian.
glibc2.4 og nyere virker ikke med kerne 2.4, så her har du også et
problem.
Forøvrigt er der et par gode beskrivelser af hvad du skal gøre i det
output du har sendt.
/Sune
>
> og nu ser det ud til at jeg skal installere en ny kerne. argh. det er
> jeg ikke meget for.
> Hvad kan jeg gøre nu ?
>
>==========================================================
>
> Preparing to replace libc6 2.3.2.ds1-22sarge6 (using
> .../libc6_2.6.1-1_i386.deb) ...
>
> 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 detected the following installed services which must be
> stopped before the upgrade:
> postgresql
>
> 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] Y
>
> readlink: invalid option -- e
> Try `readlink --help' for more information.
> readlink: invalid option -- e
> Try `readlink --help' for more information.
> readlink: invalid option -- e
> Try `readlink --help' for more information.
> readlink: invalid option -- e
> Try `readlink --help' for more information.
> readlink: invalid option -- e
> Try `readlink --help' for more information.
> readlink: invalid option -- e
> Try `readlink --help' for more information.
> readlink: invalid option -- e
> Try `readlink --help' for more information.
> readlink: invalid option -- e
> Try `readlink --help' for more information.
> readlink: invalid option -- e
> Try `readlink --help' for more information.
> readlink: invalid option -- e
> Try `readlink --help' for more information.
> readlink: invalid option -- e
> Try `readlink --help' for more information.
> readlink: invalid option -- e
> Try `readlink --help' for more information.
> readlink: invalid option -- e
> Try `readlink --help' for more information.
> WARNING: POSIX threads library NPTL requires kernel version
> 2.6.8 or later. If you use a kernel 2.4, please upgrade it
> before installing glibc.
>
> The installation of a 2.6 kernel _could_ ask you to install a new libc
> first, this is NOT a bug, and should *NOT* be reported. In that case,
> please add etch sources to your /etc/apt/sources.list and run:
> apt-get install -t etch linux-image-2.6
> Then reboot into this new kernel, and proceed with your upgrade
> dpkg: error processing /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
> (--unpack):
> subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
> /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> sirius:~# uname -a
> Linux sirius 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux
>
> /Martin
>
>
Follow ups
References