[php-maint] Bug#719060: Bug#719060: php5-cli: /etc/php5/cli/php.ini not upgraded with package

Ondřej Surý ondrej at sury.org
Thu Aug 8 06:05:51 UTC 2013


ucf is correctly handling the conf file changes?

Ondřej Surý

> On 8. 8. 2013, at 7:54, Bob Proulx <bob at proulx.com> wrote:
> 
> Package: php5-cli
> Version: 5.5.1+dfsg-2
> Severity: normal
> 
> Something appears to be wrong concerning the /etc/php5/cli/php.ini
> file upgrade handling.  It is failing to prompt the user to install
> the new file or keep the previous one.
> 
>  # apt-get purge php5-cli
>  # apt-get install php5-cli=5.5.1+dfsg-1 php5-common=5.5.1+dfsg-1
>  ...make some change to ensure that it is locally edited...
>  # sed --in-place s/localhost/mailhost/ /etc/php5/cli/php.ini
>  # apt-get upgrade
>  ...no offer to upgrade the config file was presented...
> 
> If I go back to 5.4.4-14+deb7u2 with the same test as above then it
> works okay.
> 
>  # apt-get purge php5-cli
>  ...install the version from Wheezy to prep for an upgrade...
>  # apt-get install php5-cli=5.4.4-14+deb7u2 php5-common=5.4.4-14+deb7u2
>  ...make some change to ensure that it is locally edited...
>  # sed --in-place s/localhost/mailhost/ /etc/php5/cli/php.ini
>  # apt-get upgrade
>  ...ucf dialog menu asking disposition of conffile...
> 
> Also trying to reinstall the same package does not prompt either.
> 
>  # apt-get purge php5-cli
>  ...install the version from Wheezy to prep for an upgrade...
>  # apt-get install php5-cli
>  ...make some change to ensure that it is locally edited...
>  # sed --in-place s/localhost/mailhost/ /etc/php5/cli/php.ini
>  # apt-get install --reinstall php5-cli php5-common
>  ...no offer to upgrade the config file was presented...
> 
> Bob
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



More information about the pkg-php-maint mailing list