On 25.07.2013 13:25, Ondřej Surý wrote:
> Wouldn't
> 
> Package: apache2
> Replaces: apache2.2-common (<< 2.4.0)
> Breaks: apache2.2-common (<< 2.4.0)
> 
> Solve the problem?

That's what we do already (minus breaks). That allows us to overwrite
and take-over conffiles from apache2.2-common. This works nicely and
does what it is supposed to do - except in cases where people use
--purge-unused because they think that's fun.

In that case apt[itude] decides to purge all of /etc/apache2 entirely
_before_ we have a deterministic chance to do look at the state, because
apache2.2-common is going to be removed by upgrading to 2.4.

I am not sure if an empty 2.2-common package in addition to that would
solve that problem, as it would ship none of the conffiles either, so
consequently they would still be purged.

-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to