Hi Helmut (2024.03.01_14:58:10_+0000) > For this one (but not gschemas.compiled), I am wondering whether > installing a trigger-interest in /usr/share/doc/libglib2.0-0/copyright > might work. That is a file that is going away and therefore, removal of > libglib2.0-0 should cause libglib2.0-0t64.postinst to be invoked with a > triggered argument after libglib2.0-0.postrm having done the damage.
One concern I have here: It's possible to configure dpkg to skip installing /usr/share/doc/* with --path-exclude. I don't know what effect that has on such triggers, but I assume they wouldn't be triggered. > While removing the postrm is a policy violation, we also understand its > effects quite well. If we have a choice between having all of unstable > (and later trixie) users crash their user sessions and violate policy, > the pragmatic voice in me wants to say yes. Yeah, agreed on that. Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272