Comment 42 for bug 22438

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

(In reply to comment #41)
> (In reply to comment #40)
> > Martin, how did you move the conffile from /etc/hotplug to /etc/hotplug.d in the
> > first place? Could that be what causes this?
>
> However, I have an idea: A previous postinst (which changed from /etc/hotplug/
> to /etc/hotplug.d, as done by Debian some months ago) also just removed the
> "old" conffile in /etc/hotplug/usb, probably at a time when the package was
> still installed. This was probably regarded as manual removal.
>
That's exactly what I meant :p

> Is there a way to re-register a conffile, to get the --force-confmiss effect?
> In any case this is just an intra-Breezy effect, but since this is pretty common,
> it would be nice to get a general solution.
>
Sadly it is registered as removed; the only way would be to manually copy it
into place if the destination doesn't exist in the maintainer scripts. Perhaps
in preinst upgrade copy it from /etc/hotplug.d/usb to /etc/hotplug again.