I'm thinking along the lines of the attached patch (untested). Some questions:
1) Is this the right approach? 2) Is dpkg-query the right way to get the status of the update-inetd package? 3) What about triggers-awaiting and triggers-pending? What should the behaviour be in these cases? Is it OK to treat update-inetd as not available in these cases? 4) I've tried manually deconfiguring update-inetd and perl-modules (by purging and then unpacking only) before purging samba, but that doesn't trigger the problem. Any way I try the upgrade case, dpkg refuses because update-inetd (intentionally) isn't configured. Is there any way I can reproduce this reliably? ** Attachment added: "Untested patch" https://bugs.launchpad.net/ubuntu/+source/samba/+bug/862129/+attachment/2522728/+files/patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/862129 Title: samba postrm depends on packages not guaranteed to be configured To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/862129/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs