[php-maint] Bug#719060: php5-cli: /etc/php5/cli/php.ini not upgraded with package
Bob Proulx
bob at proulx.com
Thu Aug 8 05:54:51 UTC 2013
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
More information about the pkg-php-maint
mailing list