[Piuparts-devel] Bug#466118: Bug#466367: apache2.2-common: conffile question during upgrade

Stefan Fritsch sf at sfritsch.de
Mon Feb 18 20:03:52 UTC 2008


On Monday 18 February 2008, Marc Haber wrote:
> piuparts -d etch -d lenny fails when the package being tested pulls
> in apache2, because dpkg issues a "conffile changed" question for
> /etc/default/apache2 during apache2.2-common update, even if the
> file was not changed since etch's apache2 was installed. This makes
> the automated update fail.
>
> If you absolutely have to mess with your dpkg-conffiles, please do
> it in a way that doesn't break an important test tool.

IMO apache2 is behaving perfectly sane and piuparts should handle this 
corner case (e.g. by specifying --force-confnew).

The old version creates a config file dynamically depending on system 
configuration and the new version converts this file into a conffile 
managed by dpkg. In general, it is not correct to do this without 
asking the user if he wants to keep his automatically created 
version.

Though in this case the config file is trivial and the change is 
described in NEWS.Debian, so it would probably not hurt too much to 
suppress the question.





More information about the Piuparts-devel mailing list