I'm dealing with a very similar bug building containers with jammy beta. If there's an existing /etc/dma/dma.conf, I get the above error message. Oddly, attempting to strace or add too much debug to the .postinst or .config scripts makes the problem go away, which makes it seem like some sort of weird debconf bug/race?
** Bug watch added: Debian Bug tracker #940219 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940219 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1865642 Title: package dma 0.11-2 failed to install/upgrade: installed dma package post-installation script subprocess returned error exit status 128 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dma/+bug/1865642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs