Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Bug#466367: apache2.2-common: conffile question during upgrade

From: Stefan Fritsch <sf(at)sfritsch.de>
Date: Mon Feb 18 2008 - 15:03:52 EST


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.

-- 
To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Mon Feb 18 15:13:59 2008

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 03:01:08 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library