Post #1640575
2026-02-12 08:58 UTC
@rperezrosario So here's my latest gripe with debian. I've been using debian (or its derivatives) on servers at most of the companies I've worked at, but only because most of my team members wouldn't be familiar with something that's different from "regular" linux distros.
debian packaging tools are funny. I encountered a package (not foss/in debian repos) with a postinst script that under certain (trivial) conditions would keep running forever. here's what happened when I tried installing it:
ctrl+c didn't workkill on the running apt/dpkg processes stopped it, but…it's impossible to remove the half-installed package; apt purge told me: Error: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.spoiler alert: dpkg --configure -a attempts to finish installing packages. that includes trying to run the postinst again, which wouldn't finish.
I could work around that. But I've been using linux for 25 years now, and have been working in sysadmin/devops-like roles for almost 18 years now.
I can't imagine a regular user even knowing where to start fixing something like this.
#debian
Replies (2)
-
@backintime@fosstodon.org 2026-02-12 11:03
@ar @rperezrosario Can you provide a link to the bug ticket?
-
@RadND@gnulinux.social 2026-02-12 11:35
@ar @rperezrosario Let me guess: you found that postinst script and deleted everything inside.