Processed: Re: Bug#994042: libc6: debconf text fallback failed to accept input, had to be killed leading to broken dist-upgrade
Processing control commands: > severity -1 serious Bug #994042 [libc6] libc6: debconf text fallback failed to accept input, had to be killed leading to broken dist-upgrade Severity set to 'serious' from 'normal' -- 994042: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994042 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#994042: libc6: debconf text fallback failed to accept input, had to be killed leading to broken dist-upgrade
control: severity -1 serious On 2021-09-10 16:02, Neil Williams wrote: > Package: libc6 > Version: 2.31-13 > Severity: normal > X-Debbugs-Cc: codeh...@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: [snip] > 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. Not being able to perform the upgrade without having to kill the preinst process from another tab (and having the skills do so) looks a serious issue to me. I am therefore upgrading the severity. Regards, Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net
Bug#994042: libc6: debconf text fallback failed to accept input, had to be killed leading to broken dist-upgrade
Hi, On 2021-09-15 21:54, Colin Watson wrote: > On Fri, Sep 10, 2021 at 09:59:44PM +0200, Aurelien Jarno wrote: > > On 2021-09-10 20:39, Colin Watson wrote: > > > On Fri, Sep 10, 2021 at 09:03:32PM +0200, Aurelien Jarno wrote: > > > > I gave a try with debconf-show instead. I have attached a totally > > > > untested patch to check that we agree on the way to do it. > > > > > > I think you forgot to attach the patch? > > > > Dooh. Please find a new version attached. > > The general idea of this looks good to me. I've left some detailed > review comments below, and IMO we should test it against my reproducer > (especially since this preinst patch needs to end up in bullseye). Thanks for the fixes. > > > I managed to reproduce the reported bug by taking Neil's full package > > > list, mangling it to roughly make sense on buster, installing all of > > > that, and then doing "apt upgrade && apt full-upgrade" (my own habit is > > > just to do "apt full-upgrade", but in this case the initial "apt > > > upgrade" is crucial). I'm now trying to more or less bisect the package > > > list to find something rather more minimal; this is a slow process, but > > > no roadblocks so far, and I'll let you know when I have something. > > > > Thanks a lot for your help. > > OK, it took much longer than I expected because I wasn't able to do it > by just bisecting the package list, but here's a reproducer. I ran this > in a fresh container produced by "lxc launch images:debian/buster"; I > expect other container tools can be made to exhibit this too, though it > may be sensitive to exactly which packages are in the base image. > > # apt update && apt -y install gimp libc6-dev postgresql whiptail > # cat >/etc/apt/sources.list < deb http://deb.debian.org/debian bullseye main > deb http://security.debian.org/debian-security bullseye-security main > # apt update && apt -y upgrade && apt -y dist-upgrade Thanks for the reproducer. I have been able to use it to test the fixes, both with upgrade + dist-upgrade to check that the problem is fixed, and with dist-upgrade only to check that things still work when debconf is usable. Regards, Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net
Processed: Bug#994042 marked as pending in glibc
Processing control commands: > tag -1 pending Bug #994042 [libc6] libc6: debconf text fallback failed to accept input, had to be killed leading to broken dist-upgrade Added tag(s) pending. -- 994042: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994042 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
[Git][glibc-team/glibc][bullseye] debian/debhelper.in/libc.preinst: fix text fallback when debconf is unusable,...
Aurelien Jarno pushed to branch bullseye at GNU Libc Maintainers / glibc Commits: 23d6ff1d by Aurelien Jarno at 2021-09-21T22:53:45+02:00 debian/debhelper.in/libc.preinst: fix text fallback when debconf is unusable, the current debconf configuration should be queried without first sourcing the confmodule to avoid losing control of the tty. Big thanks to Colin Watson for the help diagnosing the issue and for providing an easy reproducer. Closes: #994042. - - - - - 2 changed files: - debian/changelog - debian/debhelper.in/libc.preinst View it on GitLab: https://salsa.debian.org/glibc-team/glibc/-/commit/23d6ff1d458c1e33324e03c3b2011c8fa899a220 -- View it on GitLab: https://salsa.debian.org/glibc-team/glibc/-/commit/23d6ff1d458c1e33324e03c3b2011c8fa899a220 You're receiving this email because of your account on salsa.debian.org.