[Piuparts-devel] changed severity

Andreas Beckmann anbe at debian.org
Wed Jul 27 12:15:04 UTC 2016


On 2016-07-27 11:08, Daniel Pocock wrote:
> 
> 
> I looked at the piuparts log:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=825121;filename=sipdialer_1%3A1.10.2-1.log.gz;msg=5
> 
> and it confirms that the freeradius-client package was installed before
> the radcli package, therefore, the preinst script tries to migrate the
> configs.  This is expected behavior.

Getting a dpkg conffile prompt is *not* expected behavior if the config
file was not modified by the local admin.
Migrating the conffile cannot be done in the preinst alone.

> I've downgraded the severity in case anybody wants to discuss it
> further, otherwise this bug can potentially be closed.

So what you are trying to do is to
a) rename a conffile and
b) change its ownership to a different package
at the same time. That is unfortunately not well supported by the
current tools (e.g. dpkg-maintscript-helper).

We had some more packages doing this, but right now I only remember
initramfs-tools (has a bug and a patch by me). Cc:ed Holger in case he
remembers some more.

Is the config file shipped by the old and new packages the same (as in
"bytewise identical")? Would that be possible?


Andreas



More information about the Piuparts-devel mailing list