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

Bug#994042: libc6: debconf text fallback failed to accept input, had to be killed leading to broken dist-upgrade



Package: libc6
Version: 2.31-13
Severity: normal
X-Debbugs-Cc: codehelp@debian.org

This is related to #984533 - in my case, there was no effect on the initramfs.

I am attaching the section of the apt log. (gzipped)
I am also attaching the dpkg -l output for the package list (after upgrade).

The apt log includes the details of the --purge autoremove operation I completed
after a reboot, so those packages were also installed on buster too.

This was an upgrade from buster to bullseye.
apt upgrade worked fine (first part of the log).

When dist-upgrade started, I got:

Preparing to unpack .../92-libc6_2.31-13_amd64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
Checking for services that may need to be restarted...
Checking init scripts...
Do you want to upgrade glibc now?

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.

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
Y






Progress: [  5%] [########................................................................................................................................................................] 




sudo kill ....

dpkg: error processing archive /tmp/apt-dpkg-install-WwQ9fY/92-libc6_2.31-13_amd64.deb (--unpack):
 new libc6:amd64 package pre-installation script subprocess was killed by signal (Terminated)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
Errors were encountered while processing:
 /tmp/apt-dpkg-install-WwQ9fY/92-libc6_2.31-13_amd64.deb
Error: Timeout was reached
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish


No matter what I typed to the Do you want to upgrade prompt, the process did not continue.
I needed to open a terminal tab, find the preinst process & kill it.

When I did restart, X died and I had to complete the dist-upgrade from Alt-F1 console.

I have now got a working system again.


-- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB: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  libcrypt1  1:4.4.18-4
ii  libgcc-s1  10.2.1-6

Versions of packages libc6 recommends:
ii  libidn2-0       2.3.0-5
pn  libnss-nis      <none>
pn  libnss-nisplus  <none>

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]  1.5.77
pn  glibc-doc              <none>
ii  libc-l10n              2.31-13
ii  locales                2.31-13

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

Attachment: apt-failed.txt.gz
Description: application/gzip

Attachment: dpkg-list.txt.gz
Description: application/gzip


Reply to: