Hey.
On Thu, 2024-02-29 at 20:37 -0800, Steve Langasek wrote: > Thanks for this report. Another case: Removing libreadline8:amd64 (8.2-3+b1) ... awk: error while loading shared libraries: libreadline.so.8: cannot open shared object file: No such file or directory awk: error while loading shared libraries: libreadline.so.8: cannot open shared object file: No such file or directory Selecting previously unselected package libreadline8t64:amd64. Not sure,... shall I report distinct bugs for each of them? > This is definitely not the behavior we want. However, the good thing > is > that the dependency from coreutils to libssl is new since bookworm. > As a > result, while this can affect users on upgrades from testing, it will > not > affect upgrades from bookworm because libssl3t64 will be unpacked and > configured before the coreutils that uses it. So at least for this case, only people tracking testing/unstable may be screwed ;-) ... that is of course only *if* any such error would ever cause any kind of "corruptions". > Can you explain why 'sort' is being called at this point in your > upgrade? > Is this from an apt hook or something? Hard to say... at that point in the upgrade output, are there any APT hooks running at all? Or is it just DPKG hooks? In the other case with libpam where runuser failed, it was likely /usr/share/debian-security-support/check-support-status.hook as Sam Hartman had pointed out. TBH, I'm not sure whether I know all places from where DPKG may load hooks or trigger or the likes. I looked now at: $ ls -1 /etc/dpkg/dpkg.cfg.d/ debian-security-support needrestart But none of them seems to call sort or awk, at least not directly nor the script they're executing (I haven't gone any deeper into debconf or so). These are the triggers, right? $ ls -1 /var/lib/dpkg/triggers/ File Lock Unincorp aspell-autobuildhash ispell-autobuildhash ldconfig resolvconf-enable-updates resolvconf-event rkhunter-propupd rkhunter-update-database texmf-format texmf-hyphen texmf-map twisted-plugins-cache update-ca-certificates update-ca-certificates-fresh update-ca-certificates-java update-ca-certificates-java-fresh update-default-ispell update-default-wordlist update-initramfs update-openoffice-dicts update-sgmlcatalog But AFAIU the actual code that is executed for the trigger, is in the postinst of that package, right? If so,... could be any of them, where sort/awk get called. Cheers, Chris.