debconf making package removal fail because of warnings issues by an earlier called program (in postrm)

2008-10-29 Thread Daniel Leidert
CCing debian-devel Hi, An issue has been brought to my attention and I wonder, if this is a bug or the intended behaviour. For reference see https://bugs.launchpad.net/medibuntu/+bug/290621. In this case a package should be removed. In its postrm it calls update-mime-database, update-mime and

Re: debconf making package removal fail because of warnings issues by an earlier called program (in postrm)

2008-10-29 Thread Frans Pop
Daniel Leidert wrote: If I understand this case correctly then the problem is quite likely that this message Unknown media type in type '...' is output to stdout instead of stderr. Programs/scripts that have to be able to run under debconf are not allowed to output to or read input from

Re: debconf making package removal fail because of warnings issues by an earlier called program (in postrm)

2008-10-29 Thread Andreas Metzler
Frans Pop [EMAIL PROTECTED] wrote: Daniel Leidert wrote: If I understand this case correctly then the problem is quite likely that this message Unknown media type in type '...' is output to stdout instead of stderr. Programs/scripts that have to be able to run under debconf are not

Re: debconf making package removal fail because of warnings issues by an earlier called program (in postrm)

2008-10-29 Thread Daniel Leidert
Am Mittwoch, den 29.10.2008, 20:30 +0100 schrieb Frans Pop: Daniel Leidert wrote: If I understand this case correctly then the problem is quite likely that this message Unknown media type in type '...' is output to stdout instead of stderr. Programs/scripts that have to be able to

Re: debconf making package removal fail because of warnings issues by an earlier called program (in postrm)

2008-10-29 Thread Frans Pop
Right. This is getting somewhat beyond my knowledge of debconf internals, but here is what happens. Daniel Leidert wrote: You don't need more. For some reason Make me fail. is given as argument to the debconf confmodule: The full debug log and the sourced confmodule file fairly clearly show

Re: debconf making package removal fail because of warnings issues by an earlier called program (in postrm)

2008-10-29 Thread Daniel Leidert
Am Mittwoch, den 29.10.2008, 23:21 +0100 schrieb Frans Pop: Right. This is getting somewhat beyond my knowledge of debconf internals, but here is what happens. Daniel Leidert wrote: [..] The full debug log and the sourced confmodule file fairly clearly show what happens. First thanks for