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

Bug#441975: cannot upgrade libc6-2.6.1-3 if libc6-i686 is installed



Le Thursday 13 September 2007 09:32:30 Aurelien Jarno, vous avez écrit :
> Gallien Matthieu a écrit :
> >> dpkg -l libc6-i686 2>/dev/null | sed -e '/^i/!d;' -e \
> >> "s/^i.\s\+libc6-i686\s\+//;s/\s.*//g"
> >
> > 2.6.1-3
>
> As for the other tests, everything is ok. I have to admit I have no idea
> about what really happens.
>
> When the problem occurs, what happens if you run "apt-get install"? Is
> the postinst script ran again, and does the problem occur again?

Yes and no

apt-get install refuses to run because of dependencies not satisfied :

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  libc6-i686: PreDepends: libc6 (= 2.6.1-1+b1) but 2.6.1-3 is installed
E: Unmet dependencies. Try using -f.


and that is the result of apt-get install -f :

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libc6-i686
The following packages will be upgraded:
  libc6-i686
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B/1202kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]?
/bin/sh: line 1: 15606 Segmentation 
fault      /usr/sbin/dpkg-preconfigure --apt
Setting up libc6 (2.6.1-3) ...
+ set -e
+ export LC_ALL=C
+ LC_ALL=C
+ type=configure
+ preversion=2.6.1-1+b1
+ '[' configure = configure ']'
+ '[' -f /usr/share/debconf/confmodule ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/libc6.postinst 
configure 2.6.1-1+b1
dpkg: error processing libc6 (--configure):
 subprocess post-installation script killed by signal (Segmentation fault)
Errors were encountered while processing:
 libc6
E: Sub-process /usr/bin/dpkg returned an error code (1)


>
> If yes, could you please change the first line of
> /var/lib/dpkg/info/libc6.postinst from
>
>   #!/bin/sh
> to
>   #!/bin/sh -x
>
> and run "apt-get install"? That should give us some more details about
> where the problem appears.
>
> Thanks.

Setting up libc6 (2.6.1-3) ...
+ set -e
+ export LC_ALL=C
+ LC_ALL=C
+ type=configure
+ preversion=2.6.1-1+b1
+ '[' configure = configure ']'
+ '[' -f /usr/share/debconf/confmodule ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/libc6.postinst 
configure 2.6.1-1+b1
dpkg: error processing libc6 (--configure):
 subprocess post-installation script killed by signal (Segmentation fault)

thanks again for your interest
-- 
Gallien Matthieu




Reply to: