Comment 4 for bug 862129

Robie Basak (racb) wrote :

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?