[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#326780: When libc6 fails to update, the reason given isn't helpful



Package: libc6
Version: 2.3.2
uname -a: Linux indy 2.4.16 #1 Sun Dec 16 16:38:44 CET 2001 mips unknown
dpkg -s libc6 | grep ^Version: 2.2.5-11.8


After doing an "apt-get upgrade", make no longer works:

indy:/home/njh# make
make: /lib/libc.so.6: version `GLIBC_2.3' not found (required by make)
indy:/home/njh#

So I tried to install a new libc, but that fails to install:

indy:/home/njh# dpkg -i libc6*
(Reading database ... 16682 files and directories currently installed.)
Preparing to replace libc6-dev 2.3.2.ds1-22 (using libc6-dev_2.3.2.ds1-22_mips.deb) ...
Unpacking replacement libc6-dev ...
Selecting previously deselected package libc6-udeb.
Unpacking libc6-udeb (from libc6-udeb_2.3.2.ds1-20_mips.udeb) ...
dpkg: error processing libc6-udeb_2.3.2.ds1-20_mips.udeb (--install):
 trying to overwrite `/lib/ld.so.1', which is also in package libc6
Preparing to replace libc6 2.2.5-11.8 (using libc6_2.3.2.ds1-22_mips.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 does not detect any services to stop now.

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]

WARNING: System V message queues require kernel 2.4.22 to
work correctly on this architecture. Some programs
(including perl) may not operate correctly.
dpkg: error processing libc6_2.3.2.ds1-22_mips.deb (--install):
 subprocess pre-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.3.2.ds1-22); however:
  Version of libc6 on system is 2.2.5-11.8.
 libc6-dev depends on linux-kernel-headers; however:
  Package linux-kernel-headers is not configured yet.
dpkg: error processing libc6-dev (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6-udeb_2.3.2.ds1-20_mips.udeb
 libc6_2.3.2.ds1-22_mips.deb
 libc6-dev

So I tried to upgrade the kernel, as stated, but that also fails:


indy:/home/njh# dpkg -i *.deb
(Reading database ... 16682 files and directories currently installed.)
Preparing to replace libc6-dev 2.3.2.ds1-22 (using libc6-dev_2.3.2.ds1-22_mips.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc6 2.2.5-11.8 (using libc6_2.3.2.ds1-22_mips.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 does not detect any services to stop now.

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]

WARNING: System V message queues require kernel 2.4.22 to
work correctly on this architecture. Some programs
(including perl) may not operate correctly.
dpkg: error processing libc6_2.3.2.ds1-22_mips.deb (--install):
 subprocess pre-installation script returned error exit status 1
Preparing to replace linux-kernel-headers 2.5.999-test7-bk-17 (using linux-kernel-headers_2.5.999-test7-bk-17_mips.deb) ...
Unpacking replacement linux-kernel-headers ...
Preparing to replace make 3.80-9 (using make_3.80-9_mips.deb) ...
Unpacking replacement make ...
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.3.2.ds1-22); however:
  Version of libc6 on system is 2.2.5-11.8.
dpkg: error processing libc6-dev (--install):
 dependency problems - leaving unconfigured
Setting up linux-kernel-headers (2.5.999-test7-bk-17) ...
dpkg: dependency problems prevent configuration of make:
 make depends on libc6 (>= 2.3.2.ds1-4); however:
  Version of libc6 on system is 2.2.5-11.8.
dpkg: error processing make (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6_2.3.2.ds1-22_mips.deb
 libc6-dev
 make

The real problem is the upgrade of libc6 not telling my WHY it's
failed or what I have to do to fix it.


--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
njh@despammed.com http://www.bandsman.co.uk
begin:vcard
fn:Nigel Horne
n:Horne;Nigel
email;internet:njh@bandsman.co.uk
tel;fax:+44 870 705 9334
x-mozilla-html:FALSE
version:2.1
end:vcard


Reply to: