[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#976247: speech-dispatcher: conffiles not removed: /etc/speech-dispatcher/modules/ kali.conf ibmtts.conf baratinoo.conf



On Tue, 2020-12-08 at 01:25:30 +0100, Samuel Thibault wrote:
> I moved a configuration file kali.conf from the speech-dispatcher
> package to the speech-dispatcher-kali package (as well as others, but
> let's keep that example only).
> 
> The thing is: speech-dispatcher does not depend on
> speech-dispatcher-kali (and cannot: the former is in main, the latter is
> in contrib). It means that we either have
> 
> - a system with speech-dispatcher only, we want kali.conf to go away.
> 
> - a system with speech-dispatcher and speech-dispatcher-kali, we want to
>   keep kali.conf and reassign it to speech-dispatcher-kali.

> Do you have any other idea?

I'd probably try adding a Breaks to speech-dispatcher against the
older speech-dispatcher-kali versions not owning the file, to force
the upgrade, and add a Replaces to speech-dispatcher-kali against
speech-dispatcher, but I assume you already have these. Then just
drop the file from speech-dispatcher and let dpkg handle the conffile
takeover, and then conditionally run rm_conffile in speech-dispatcher
iff speech-dispatcher-kali is not present?

Thanks,
Guillem


Reply to: