php5-fpm upgrade broken after deleting sample config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
If the sample config is not available anymore, php5-fpm cannot be updated automatically and leaves the service down.
Every production deployment will want to remove /etc/php5/
# apt-get install
....
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up php5-fpm (5.5.3+
Configuration file `/etc/php5/
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
...
This should never break when unattended security updates are running.
www.conf is a conffile. Deleting it should not replace it when the package is upgraded.
If updating manually, the following prompt should appear:
Configuration file `/etc/php5/ fpm/pool. d/www.conf'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** www.conf (Y/I/N/O/D/Z) [default=N] ?
Do you perhaps have the following option set up in apt somewhere?
Dpkg::Options { confmiss" ;
"--force-
}