Hi! [ The quoting in your previous message got mangled, so it was a bit hard to read. ]
On Thu, 2024-08-08 at 16:53:07 +0200, Santiago José López Borrazás wrote: > El 8/8/24 a las 13:09, Guillem Jover escribió: > > Hmm, I can still not reproduce it with dpkg, while I can with apt > and > > aptitude. Me, with apt, aptitude and dpkg. > > Ah, thanks for the Linux console hint, I had not seen that behavior > > > before. > I do, that's why I was reporting, that's the behavior that makes me, not > only in the text consoles, but also, in the Konsole, that's why this > behavior. Sorry, I meant that the Linux console closing was a new behavior I had not seen before. I've seen this behavior on a terminal (such as konsole) also inside tmux. > > > I'm sorry to insist, but can you show exactly the sequence of > > > actions > that you do, because I still cannot reproduce this at all > with only dpkg. > Here is my sequence with both dpkg and apt: > But... Do you have the unstable? Because I'm under Sid/Unstable. I use unstable, updated several times a day. > So far so good, I have 4250 packages, plus 44 of Libreoffice.org and other > Debian packages (AutoFirma de Spain, the local area printer I have, the FNMT > configurator and Teamviewer). > > > > [On a normal terminal on the /root, do something like:] # apt > > download pci.ids > > [Ctrl+Alt+F2] Debian ... tty2 login: [Login as root > into Linux > console 2] # dpkg -i pci.ids_*_all.deb # echo "all ok" [Ctrl+C > > works, everything ok.] > The console closes, no matter if I do it in tty1 to tty6, it closes the same. I'm still very surprised by this, and I can not reproduce it with dpkg. Do you have any dpkg.cfg.d/ hooks installed, and what packages do provide them? If you move those configuration fragments aside and try running dpkg, does it still produce a non-working Ctrl+C? > > [Ctrl+Alt+F3] Debian ... tty3 login: [Login as root into Linux > console > > 3] # apt reinstall ./pci.ids_*_all.deb [Session gets > > terminated, no further commands can be introduced, a new login is > required.] > Ditto, closes it. At least for the issue I've seen with apt and Ctrl+C, I've tracked this down to having the «adequate» package installed. If I remove that package then apt stops misbehaving. I'll either reassign the apt bugs to adequate or file a new one, because I'm not sure who is misbehaving, but I'd suspect adequate is the real culprit, which got recently rewritten in Golang. Thanks, Guillem