Bug#984533: libc6: upgrade from 2.28-10 to 2.31-9 breaks system

2021-03-20 Thread Aurelien Jarno
clone 984533 -1
reassign -1 debconf
retitle -1 debconf: please test for the usability of the debconf frontends
severity -1 wishlist
thanks

On 2021-03-04 19:26, Thomas Hahn wrote:
> Package: libc6
> Version: 2.28-10
> Severity: normal
> X-Debbugs-Cc: thah...@t-online.de
> 
> Dear Maintainer,
> 
> installed buster, then apt upgrade  was also fine,
> but the following dist-upgrade put the system in a broken state.
> 
> Preparing to unpack .../62-locales_2.31-9_all.deb ...
> Unpacking locales (2.31-9) over (2.28-10) ...
> Preparing to unpack .../63-openssh-server_1%3a8.4p1-4_amd64.deb ...
> Unpacking openssh-server (1:8.4p1-4) over (1:7.9p1-10+deb10u2) ...
> Preparing to unpack .../64-libc6_2.31-9_amd64.deb ...
> whiptail: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found 
> (required by /lib/x86_64-linux-gnu/libslang.so.2)
> debconf: whiptail output the above errors, giving up!

debconf has a nice fallback mechanism that switches back to a "lower"
frontend in case the selected one is unavailable. However this mechanism
only checks for the availability of the binary, not its usability.
Running $frontend --version for example would test that it is actually
executable. While it is definitely not a fix for the reported issue
above, it would definitely improve the user experience.

By the way, I have noticed that their is support for the Xdialog
frontend, but it seems that in practice no package is providing this
binary.

Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Bug#984533: libc6: upgrade from 2.28-10 to 2.31-9 breaks system

2021-03-20 Thread Aurelien Jarno
On 2021-03-05 14:41, Aurelien Jarno wrote:
> control: notfound -1 libc6/2.28-10
> control: found -1 libc6/2.31-9
> control: severity -1 grave
> 
> On 2021-03-04 19:26, Thomas Hahn wrote:
> > Package: libc6
> > Version: 2.28-10
> > Severity: normal
> > X-Debbugs-Cc: thah...@t-online.de
> > 
> > Dear Maintainer,
> > 
> > installed buster, then apt upgrade  was also fine,
> > but the following dist-upgrade put the system in a broken state.
> > 
> > Preparing to unpack .../62-locales_2.31-9_all.deb ...
> > Unpacking locales (2.31-9) over (2.28-10) ...
> > Preparing to unpack .../63-openssh-server_1%3a8.4p1-4_amd64.deb ...
> > Unpacking openssh-server (1:8.4p1-4) over (1:7.9p1-10+deb10u2) ...
> > Preparing to unpack .../64-libc6_2.31-9_amd64.deb ...
> > whiptail: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found 
> > (required by /lib/x86_64-linux-gnu/libslang.so.2)
> 
> This seems to show that libslang2 has been wrongly unpacked before
> libc6. Do you happen to have the beginning of the log? You can find it
> in /var/log/apt/term.log.*
> 
> > debconf: whiptail output the above errors, giving up!
> > Checking for services that may need to be restarted...dpkg: error 
> > processing archive /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb 
> > (--unpack):
> >  new libc6:amd64 package pre-installation script subprocess returned error 
> > exit status 255
> > Selecting previously unselected package libcrypt1:amd64.
> > dpkg: considering deconfiguration of libc6:amd64, which would be broken by 
> > installation of libcrypt1:amd64 ...
> > dpkg: yes, will deconfigure libc6:amd64 (broken by libcrypt1:amd64)
> > Preparing to unpack .../65-libcrypt1_1%3a4.4.17-1_amd64.deb ...
> > De-configuring libc6:amd64 (2.28-10) ...
> > Unpacking libcrypt1:amd64 (1:4.4.17-1) ...
> > Errors were encountered while processing:
> >  /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb
> > Error: Timeout was reached
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> To unbreak your system the best would be to unpack libc6 manually using
> the following command:
>   dpkg -x /var/cache/apt/libc6_2.31-9_amd64.deb /

A better workaround for this issue, provided that dialog is also
installed in the system, seems to be:

export DEBCONF_FORCE_DIALOG=1
apt-get install -f

Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Bug#984533: libc6: upgrade from 2.28-10 to 2.31-9 breaks system

2021-03-08 Thread Thomas Hahn
On Sun, 7 Mar 2021 23:38:40 +0100 Aurelien Jarno  wrote:
> On 2021-03-07 22:56, Sven Joachim wrote:
> > On 2021-03-05 14:41 +0100, Aurelien Jarno wrote:
> > 
> > > control: notfound -1 libc6/2.28-10
> > > control: found -1 libc6/2.31-9
> > > control: severity -1 grave
> > >
> > > On 2021-03-04 19:26, Thomas Hahn wrote:
> > >> Package: libc6
> > >> Version: 2.28-10
> > >> Severity: normal
> > >> X-Debbugs-Cc: thah...@t-online.de
> > >>
> > >> Dear Maintainer,
> > >>
> > >> installed buster, then apt upgrade  was also fine,
> > >> but the following dist-upgrade put the system in a broken state.
> > >>
> > >> Preparing to unpack .../62-locales_2.31-9_all.deb ...
> > >> Unpacking locales (2.31-9) over (2.28-10) ...
> > >> Preparing to unpack .../63-openssh-server_1%3a8.4p1-4_amd64.deb ...
> > >> Unpacking openssh-server (1:8.4p1-4) over (1:7.9p1-10+deb10u2) ...
> > >> Preparing to unpack .../64-libc6_2.31-9_amd64.deb ...
> > >> whiptail: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not
> > >> found (required by /lib/x86_64-linux-gnu/libslang.so.2)
> > >
> > > This seems to show that libslang2 has been wrongly unpacked before
> > > libc6. Do you happen to have the beginning of the log? You can find it
> > > in /var/log/apt/term.log.*
> > >
> > >> debconf: whiptail output the above errors, giving up!
> > >> Checking for services that may need to be restarted...dpkg: error
> > >> processing archive
> > >> /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb (--unpack):
> > >>  new libc6:amd64 package pre-installation script subprocess returned 
> > >> error exit status 255
> > >> Selecting previously unselected package libcrypt1:amd64.
> > >> dpkg: considering deconfiguration of libc6:amd64, which would be broken 
> > >> by installation of libcrypt1:amd64 ...
> > >> dpkg: yes, will deconfigure libc6:amd64 (broken by libcrypt1:amd64)
> > >> Preparing to unpack .../65-libcrypt1_1%3a4.4.17-1_amd64.deb ...
> > >> De-configuring libc6:amd64 (2.28-10) ...
> > >> Unpacking libcrypt1:amd64 (1:4.4.17-1) ...
> > >> Errors were encountered while processing:
> > >>  /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb
> > >> Error: Timeout was reached
> > >> E: Sub-process /usr/bin/dpkg returned an error code (1)
> > >
> > > To unbreak your system the best would be to unpack libc6 manually using
> > > the following command:
> > >   dpkg -x /var/cache/apt/libc6_2.31-9_amd64.deb /
> > 
> > No, never do that!  This command actually runs "dpkg-deb -x" which,
> > unlike "dpkg -i", will silently overwrite symlinks to directories on the
> > filesystem with directories contained in the package.  This is very bad
> > if /lib is a symlink to /usr/lib (the "usrmerge" layout).
> 
> Oh I wasn't aware of that, I have fixed broken systems that way, I
> wasn't aware that it doesn't work for usrmerge systems. Yet another
> design issue of usrmerge...
> 
> I guess running the usrmerge script again should fix the system.

Negativ.
Attached the usbmerge try.

Maybe it's time for a disk wipe and new install.

On another box I did an upgrade and then installed vim.
To my surprise the new libc got pulled in and everything was fine.
The apt upgrade and the directly following apt dist-upgrade were fatal.

Log started: 2021-03-08  13:24:01
Selecting previously unselected package libnumber-compare-perl.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 297436 files and directories currently installed.)
Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ...
Unpacking libnumber-compare-perl (0.03-1.1) ...
Selecting previously unselected package libtext-glob-perl.
Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ...
Unpacking libtext-glob-perl (0.11-1) ...
Selecting previously unselected package libfile-find-rule-perl.
Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ...
Unpacking libfile-find-rule-perl (0.34-1) ...
Setting up initramfs-tools (0.139) ...
update-initramfs: deferring update (trigger activated)
Setting up libtext-glob-perl (0.11-1) ...
Setting up libnumber-compare-perl (0.03-1.1) ...
Setting up libfile-find-rule-perl (0.34-1) ...
Setting up usrmerge (24) ...
)0[?25l[?1c


  
 

Bug#984533: libc6: upgrade from 2.28-10 to 2.31-9 breaks system

2021-03-07 Thread Aurelien Jarno
On 2021-03-07 22:56, Sven Joachim wrote:
> On 2021-03-05 14:41 +0100, Aurelien Jarno wrote:
> 
> > control: notfound -1 libc6/2.28-10
> > control: found -1 libc6/2.31-9
> > control: severity -1 grave
> >
> > On 2021-03-04 19:26, Thomas Hahn wrote:
> >> Package: libc6
> >> Version: 2.28-10
> >> Severity: normal
> >> X-Debbugs-Cc: thah...@t-online.de
> >>
> >> Dear Maintainer,
> >>
> >> installed buster, then apt upgrade  was also fine,
> >> but the following dist-upgrade put the system in a broken state.
> >>
> >> Preparing to unpack .../62-locales_2.31-9_all.deb ...
> >> Unpacking locales (2.31-9) over (2.28-10) ...
> >> Preparing to unpack .../63-openssh-server_1%3a8.4p1-4_amd64.deb ...
> >> Unpacking openssh-server (1:8.4p1-4) over (1:7.9p1-10+deb10u2) ...
> >> Preparing to unpack .../64-libc6_2.31-9_amd64.deb ...
> >> whiptail: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not
> >> found (required by /lib/x86_64-linux-gnu/libslang.so.2)
> >
> > This seems to show that libslang2 has been wrongly unpacked before
> > libc6. Do you happen to have the beginning of the log? You can find it
> > in /var/log/apt/term.log.*
> >
> >> debconf: whiptail output the above errors, giving up!
> >> Checking for services that may need to be restarted...dpkg: error
> >> processing archive
> >> /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb (--unpack):
> >>  new libc6:amd64 package pre-installation script subprocess returned error 
> >> exit status 255
> >> Selecting previously unselected package libcrypt1:amd64.
> >> dpkg: considering deconfiguration of libc6:amd64, which would be broken by 
> >> installation of libcrypt1:amd64 ...
> >> dpkg: yes, will deconfigure libc6:amd64 (broken by libcrypt1:amd64)
> >> Preparing to unpack .../65-libcrypt1_1%3a4.4.17-1_amd64.deb ...
> >> De-configuring libc6:amd64 (2.28-10) ...
> >> Unpacking libcrypt1:amd64 (1:4.4.17-1) ...
> >> Errors were encountered while processing:
> >>  /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb
> >> Error: Timeout was reached
> >> E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> > To unbreak your system the best would be to unpack libc6 manually using
> > the following command:
> >   dpkg -x /var/cache/apt/libc6_2.31-9_amd64.deb /
> 
> No, never do that!  This command actually runs "dpkg-deb -x" which,
> unlike "dpkg -i", will silently overwrite symlinks to directories on the
> filesystem with directories contained in the package.  This is very bad
> if /lib is a symlink to /usr/lib (the "usrmerge" layout).

Oh I wasn't aware of that, I have fixed broken systems that way, I
wasn't aware that it doesn't work for usrmerge systems. Yet another
design issue of usrmerge...

I guess running the usrmerge script again should fix the system.

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Bug#984533: libc6: upgrade from 2.28-10 to 2.31-9 breaks system

2021-03-07 Thread Sven Joachim
On 2021-03-05 14:41 +0100, Aurelien Jarno wrote:

> control: notfound -1 libc6/2.28-10
> control: found -1 libc6/2.31-9
> control: severity -1 grave
>
> On 2021-03-04 19:26, Thomas Hahn wrote:
>> Package: libc6
>> Version: 2.28-10
>> Severity: normal
>> X-Debbugs-Cc: thah...@t-online.de
>>
>> Dear Maintainer,
>>
>> installed buster, then apt upgrade  was also fine,
>> but the following dist-upgrade put the system in a broken state.
>>
>> Preparing to unpack .../62-locales_2.31-9_all.deb ...
>> Unpacking locales (2.31-9) over (2.28-10) ...
>> Preparing to unpack .../63-openssh-server_1%3a8.4p1-4_amd64.deb ...
>> Unpacking openssh-server (1:8.4p1-4) over (1:7.9p1-10+deb10u2) ...
>> Preparing to unpack .../64-libc6_2.31-9_amd64.deb ...
>> whiptail: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not
>> found (required by /lib/x86_64-linux-gnu/libslang.so.2)
>
> This seems to show that libslang2 has been wrongly unpacked before
> libc6. Do you happen to have the beginning of the log? You can find it
> in /var/log/apt/term.log.*
>
>> debconf: whiptail output the above errors, giving up!
>> Checking for services that may need to be restarted...dpkg: error
>> processing archive
>> /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb (--unpack):
>>  new libc6:amd64 package pre-installation script subprocess returned error 
>> exit status 255
>> Selecting previously unselected package libcrypt1:amd64.
>> dpkg: considering deconfiguration of libc6:amd64, which would be broken by 
>> installation of libcrypt1:amd64 ...
>> dpkg: yes, will deconfigure libc6:amd64 (broken by libcrypt1:amd64)
>> Preparing to unpack .../65-libcrypt1_1%3a4.4.17-1_amd64.deb ...
>> De-configuring libc6:amd64 (2.28-10) ...
>> Unpacking libcrypt1:amd64 (1:4.4.17-1) ...
>> Errors were encountered while processing:
>>  /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb
>> Error: Timeout was reached
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> To unbreak your system the best would be to unpack libc6 manually using
> the following command:
>   dpkg -x /var/cache/apt/libc6_2.31-9_amd64.deb /

No, never do that!  This command actually runs "dpkg-deb -x" which,
unlike "dpkg -i", will silently overwrite symlinks to directories on the
filesystem with directories contained in the package.  This is very bad
if /lib is a symlink to /usr/lib (the "usrmerge" layout).

Cheers,
   Sven



Bug#984533: libc6: upgrade from 2.28-10 to 2.31-9 breaks system

2021-03-07 Thread Aurelien Jarno
On 2021-03-07 18:26, Thomas Hahn wrote:
> On Fri, 5 Mar 2021 14:41:23 +0100 Aurelien Jarno  wrote:
> > control: notfound -1 libc6/2.28-10
> > control: found -1 libc6/2.31-9
> > control: severity -1 grave
> > 
> > On 2021-03-04 19:26, Thomas Hahn wrote:
> > > Package: libc6
> > > Version: 2.28-10
> > > Severity: normal
> > > X-Debbugs-Cc: thah...@t-online.de
> > > 
> > > Dear Maintainer,
> > > 
> > > installed buster, then apt upgrade  was also fine,
> > > but the following dist-upgrade put the system in a broken state.
> > > 
> > > Preparing to unpack .../62-locales_2.31-9_all.deb ...
> > > Unpacking locales (2.31-9) over (2.28-10) ...
> > > Preparing to unpack .../63-openssh-server_1%3a8.4p1-4_amd64.deb ...
> > > Unpacking openssh-server (1:8.4p1-4) over (1:7.9p1-10+deb10u2) ...
> > > Preparing to unpack .../64-libc6_2.31-9_amd64.deb ...
> > > whiptail: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found 
> > > (required by /lib/x86_64-linux-gnu/libslang.so.2)
> > 
> > This seems to show that libslang2 has been wrongly unpacked before
> > libc6. Do you happen to have the beginning of the log? You can find it
> > in /var/log/apt/term.log.*
> > 
> 
> Attached the section starting with the ill-fated dist-upgrade.

Thanks, that confirms the fact that libslang2 is unpacked before. We
have to find a solution for this.

> > > debconf: whiptail output the above errors, giving up!
> > > Checking for services that may need to be restarted...dpkg: error 
> > > processing archive /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb 
> > > (--unpack):
> > >  new libc6:amd64 package pre-installation script subprocess returned 
> > > error exit status 255
> > > Selecting previously unselected package libcrypt1:amd64.
> > > dpkg: considering deconfiguration of libc6:amd64, which would be broken 
> > > by installation of libcrypt1:amd64 ...
> > > dpkg: yes, will deconfigure libc6:amd64 (broken by libcrypt1:amd64)
> > > Preparing to unpack .../65-libcrypt1_1%3a4.4.17-1_amd64.deb ...
> > > De-configuring libc6:amd64 (2.28-10) ...
> > > Unpacking libcrypt1:amd64 (1:4.4.17-1) ...
> > > Errors were encountered while processing:
> > >  /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb
> > > Error: Timeout was reached
> > > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > 
> > To unbreak your system the best would be to unpack libc6 manually using
> > the following command:
> >   dpkg -x /var/cache/apt/libc6_2.31-9_amd64.deb /
> > 
> > Then you should be able to run apt again to fix you system.
> 
> It looked like that did the trick. But then update-initramfs failed.
> /lib/modules was EMPTY!

Hmm, I fail to see how that's linked to manually unpacking the libc6
package. Do you have a log of the failure?

> The same story for 2 machines.
> So, for me it looks like the scripts in the control file do some magic
> which make it bad right now.
> 
> Thought I would get an automatic reply on all messages, but maybe I 
> need to subscribe.

Your email address was in the To:, but your mail server refused my
email. I tried from two non-dialup IPs multiple time, but all my
tentative fails:

  thah...@t-online.de
host mx02.t-online.de [194.25.134.9]
SMTP error from remote mail server after initial connection:
554 IP=193.70.89.123 - A problem occurred. (Ask your postmaster for help or 
to contact t...@rx.t-online.de to clarify.)

Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Bug#984533: libc6: upgrade from 2.28-10 to 2.31-9 breaks system

2021-03-07 Thread Aurelien Jarno
On 2021-03-07 22:14, Paul Gevers wrote:
> Hi,
> 
> On Fri, 5 Mar 2021 14:41:23 +0100 Aurelien Jarno 
> wrote:
> > > Selecting previously unselected package libcrypt1:amd64.
> > > dpkg: considering deconfiguration of libc6:amd64, which would be broken 
> > > by installation of libcrypt1:amd64 ...
> > > dpkg: yes, will deconfigure libc6:amd64 (broken by libcrypt1:amd64)
> > > Preparing to unpack .../65-libcrypt1_1%3a4.4.17-1_amd64.deb ...
> > > De-configuring libc6:amd64 (2.28-10) ...
> > > Unpacking libcrypt1:amd64 (1:4.4.17-1) ...
> > > Errors were encountered while processing:
> > >  /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb
> > > Error: Timeout was reached
> > > E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Could this be the same problem as in bug #974552?
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974552

Nope, that's a different issue. libcrypt appears there as a consequence
of a the first failure.

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net


signature.asc
Description: PGP signature


Bug#984533: libc6: upgrade from 2.28-10 to 2.31-9 breaks system

2021-03-07 Thread Paul Gevers
Hi,

On Fri, 5 Mar 2021 14:41:23 +0100 Aurelien Jarno 
wrote:
> > Selecting previously unselected package libcrypt1:amd64.
> > dpkg: considering deconfiguration of libc6:amd64, which would be broken by 
> > installation of libcrypt1:amd64 ...
> > dpkg: yes, will deconfigure libc6:amd64 (broken by libcrypt1:amd64)
> > Preparing to unpack .../65-libcrypt1_1%3a4.4.17-1_amd64.deb ...
> > De-configuring libc6:amd64 (2.28-10) ...
> > Unpacking libcrypt1:amd64 (1:4.4.17-1) ...
> > Errors were encountered while processing:
> >  /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb
> > Error: Timeout was reached
> > E: Sub-process /usr/bin/dpkg returned an error code (1)

Could this be the same problem as in bug #974552?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974552

Paul



OpenPGP_signature
Description: OpenPGP digital signature


Bug#984533: libc6: upgrade from 2.28-10 to 2.31-9 breaks system

2021-03-07 Thread Thomas Hahn
On Fri, 5 Mar 2021 14:41:23 +0100 Aurelien Jarno  wrote:
> control: notfound -1 libc6/2.28-10
> control: found -1 libc6/2.31-9
> control: severity -1 grave
> 
> On 2021-03-04 19:26, Thomas Hahn wrote:
> > Package: libc6
> > Version: 2.28-10
> > Severity: normal
> > X-Debbugs-Cc: thah...@t-online.de
> > 
> > Dear Maintainer,
> > 
> > installed buster, then apt upgrade  was also fine,
> > but the following dist-upgrade put the system in a broken state.
> > 
> > Preparing to unpack .../62-locales_2.31-9_all.deb ...
> > Unpacking locales (2.31-9) over (2.28-10) ...
> > Preparing to unpack .../63-openssh-server_1%3a8.4p1-4_amd64.deb ...
> > Unpacking openssh-server (1:8.4p1-4) over (1:7.9p1-10+deb10u2) ...
> > Preparing to unpack .../64-libc6_2.31-9_amd64.deb ...
> > whiptail: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found 
> > (required by /lib/x86_64-linux-gnu/libslang.so.2)
> 
> This seems to show that libslang2 has been wrongly unpacked before
> libc6. Do you happen to have the beginning of the log? You can find it
> in /var/log/apt/term.log.*
> 

Attached the section starting with the ill-fated dist-upgrade.

> > debconf: whiptail output the above errors, giving up!
> > Checking for services that may need to be restarted...dpkg: error 
> > processing archive /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb 
> > (--unpack):
> >  new libc6:amd64 package pre-installation script subprocess returned error 
> > exit status 255
> > Selecting previously unselected package libcrypt1:amd64.
> > dpkg: considering deconfiguration of libc6:amd64, which would be broken by 
> > installation of libcrypt1:amd64 ...
> > dpkg: yes, will deconfigure libc6:amd64 (broken by libcrypt1:amd64)
> > Preparing to unpack .../65-libcrypt1_1%3a4.4.17-1_amd64.deb ...
> > De-configuring libc6:amd64 (2.28-10) ...
> > Unpacking libcrypt1:amd64 (1:4.4.17-1) ...
> > Errors were encountered while processing:
> >  /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb
> > Error: Timeout was reached
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> To unbreak your system the best would be to unpack libc6 manually using
> the following command:
>   dpkg -x /var/cache/apt/libc6_2.31-9_amd64.deb /
> 
> Then you should be able to run apt again to fix you system.

It looked like that did the trick. But then update-initramfs failed.
/lib/modules was EMPTY!
The same story for 2 machines.
So, for me it looks like the scripts in the control file do some magic
which make it bad right now.

Thought I would get an automatic reply on all messages, but maybe I 
need to subscribe.

> 
> Aurelien
> 
> -- 
> Aurelien Jarno  GPG: 4096R/1DDD8C9B
> aurel...@aurel32.net http://www.aurel32.net
> 

Thomas
Log started: 2021-03-04  15:57:34
Selecting previously unselected package libmfx1:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 318464 files and directories currently installed.)
Preparing to unpack .../00-libmfx1_21.1.0-1_amd64.deb ...
Unpacking libmfx1:amd64 (21.1.0-1) ...
Selecting previously unselected package libmysofa1:amd64.
Preparing to unpack .../01-libmysofa1_1.2~dfsg0-1_amd64.deb ...
Unpacking libmysofa1:amd64 (1.2~dfsg0-1) ...
Preparing to unpack .../02-libgfortran5_10.2.1-6_amd64.deb ...
Unpacking libgfortran5:amd64 (10.2.1-6) over (8.3.0-6) ...
Preparing to unpack .../03-liblapack3_3.9.0-3_amd64.deb ...
Unpacking liblapack3:amd64 (3.9.0-3) over (3.8.0-2) ...
Preparing to unpack .../04-libgdk-pixbuf2.0-0_2.40.2-2_amd64.deb ...
Unpacking libgdk-pixbuf2.0-0:amd64 (2.40.2-2) over (2.38.1+dfsg-1) ...
Selecting previously unselected package libgdk-pixbuf-xlib-2.0-0:amd64.
Preparing to unpack .../05-libgdk-pixbuf-xlib-2.0-0_2.40.2-2_amd64.deb ...
Unpacking libgdk-pixbuf-xlib-2.0-0:amd64 (2.40.2-2) ...
Preparing to unpack .../06-libgdk-pixbuf2.0-common_2.42.2+dfsg-1_all.deb ...
Unpacking libgdk-pixbuf2.0-common (2.42.2+dfsg-1) over (2.38.1+dfsg-1) ...
Preparing to unpack .../07-libpng16-16_1.6.37-3_amd64.deb ...
Unpacking libpng16-16:amd64 (1.6.37-3) over (1.6.36-6) ...
Selecting previously unselected package libdeflate0:amd64.
Preparing to unpack .../08-libdeflate0_1.7-1_amd64.deb ...
Unpacking libdeflate0:amd64 (1.7-1) ...
Preparing to unpack .../09-libtiff5_4.2.0-1_amd64.deb ...
Unpacking libtiff5:amd64 (4.2.0-1) over (4.1.0+git191117-2~deb10u1) ...
Selecting previously unselected package libgdk-pixbuf-2.0-0:amd64.
Preparing to unpack .../10-libgdk-pixbuf-2.0-0_2.42

Bug#984533: libc6: upgrade from 2.28-10 to 2.31-9 breaks system

2021-03-05 Thread Aurelien Jarno
control: notfound -1 libc6/2.28-10
control: found -1 libc6/2.31-9
control: severity -1 grave

On 2021-03-04 19:26, Thomas Hahn wrote:
> Package: libc6
> Version: 2.28-10
> Severity: normal
> X-Debbugs-Cc: thah...@t-online.de
> 
> Dear Maintainer,
> 
> installed buster, then apt upgrade  was also fine,
> but the following dist-upgrade put the system in a broken state.
> 
> Preparing to unpack .../62-locales_2.31-9_all.deb ...
> Unpacking locales (2.31-9) over (2.28-10) ...
> Preparing to unpack .../63-openssh-server_1%3a8.4p1-4_amd64.deb ...
> Unpacking openssh-server (1:8.4p1-4) over (1:7.9p1-10+deb10u2) ...
> Preparing to unpack .../64-libc6_2.31-9_amd64.deb ...
> whiptail: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found 
> (required by /lib/x86_64-linux-gnu/libslang.so.2)

This seems to show that libslang2 has been wrongly unpacked before
libc6. Do you happen to have the beginning of the log? You can find it
in /var/log/apt/term.log.*

> debconf: whiptail output the above errors, giving up!
> Checking for services that may need to be restarted...dpkg: error processing 
> archive /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb (--unpack):
>  new libc6:amd64 package pre-installation script subprocess returned error 
> exit status 255
> Selecting previously unselected package libcrypt1:amd64.
> dpkg: considering deconfiguration of libc6:amd64, which would be broken by 
> installation of libcrypt1:amd64 ...
> dpkg: yes, will deconfigure libc6:amd64 (broken by libcrypt1:amd64)
> Preparing to unpack .../65-libcrypt1_1%3a4.4.17-1_amd64.deb ...
> De-configuring libc6:amd64 (2.28-10) ...
> Unpacking libcrypt1:amd64 (1:4.4.17-1) ...
> Errors were encountered while processing:
>  /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb
> Error: Timeout was reached
> E: Sub-process /usr/bin/dpkg returned an error code (1)

To unbreak your system the best would be to unpack libc6 manually using
the following command:
  dpkg -x /var/cache/apt/libc6_2.31-9_amd64.deb /

Then you should be able to run apt again to fix you system.

Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net



Bug#984533: libc6: upgrade from 2.28-10 to 2.31-9 breaks system

2021-03-04 Thread Thomas Hahn
Package: libc6
Version: 2.28-10
Severity: normal
X-Debbugs-Cc: thah...@t-online.de

Dear Maintainer,

installed buster, then apt upgrade  was also fine,
but the following dist-upgrade put the system in a broken state.

Preparing to unpack .../62-locales_2.31-9_all.deb ...
Unpacking locales (2.31-9) over (2.28-10) ...
Preparing to unpack .../63-openssh-server_1%3a8.4p1-4_amd64.deb ...
Unpacking openssh-server (1:8.4p1-4) over (1:7.9p1-10+deb10u2) ...
Preparing to unpack .../64-libc6_2.31-9_amd64.deb ...
whiptail: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found 
(required by /lib/x86_64-linux-gnu/libslang.so.2)
debconf: whiptail output the above errors, giving up!
Checking for services that may need to be restarted...dpkg: error processing 
archive /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb (--unpack):
 new libc6:amd64 package pre-installation script subprocess returned error exit 
status 255
Selecting previously unselected package libcrypt1:amd64.
dpkg: considering deconfiguration of libc6:amd64, which would be broken by 
installation of libcrypt1:amd64 ...
dpkg: yes, will deconfigure libc6:amd64 (broken by libcrypt1:amd64)
Preparing to unpack .../65-libcrypt1_1%3a4.4.17-1_amd64.deb ...
De-configuring libc6:amd64 (2.28-10) ...
Unpacking libcrypt1:amd64 (1:4.4.17-1) ...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-I51xYx/64-libc6_2.31-9_amd64.deb
Error: Timeout was reached
E: Sub-process /usr/bin/dpkg returned an error code (1)


-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-4-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libc6 depends on:
ii  libgcc-s1 [libgcc1]  10.2.1-6
ii  libgcc1  1:8.3.0-6

Versions of packages libc6 recommends:
ii  libidn2-0  2.3.0-5

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]  1.5.75
pn  glibc-doc  
ii  libc-l10n  2.31-9
iu  locales2.31-9

-- debconf information:
  glibc/upgrade: true
  glibc/kernel-not-supported:
* libraries/restart-without-asking: true
  glibc/restart-services:
  glibc/kernel-too-old:
  glibc/restart-failed:
  glibc/disable-screensaver: