[php-maint] Bug#687418: Updating php5 to 5.4.4-5 broke FastCGI setup on my machine

Matthias Urlichs matthias at urlichs.de
Tue Sep 18 09:26:35 UTC 2012


Ondřej Surý:
> On Mon, Sep 17, 2012 at 8:48 PM, Matthias Urlichs <matthias at urlichs.de> wrote:
> > Thus an upgrade to wheezy which kills that setup by undoing the second
> > step, i.e. re-enabling php5_cgi, is contrary to expectations, NEWS file or
> > no NEWS file.
> JFTR there was NO php5_cgi in squeeze, so the update does not
> re-enable anything per se, but it tries to restore the functionality
> lost by removed MIME-Types between squeeze and wheezy.
That's incorrect. The a2enable is not called if the package is new, only if
it is updated. Thus, squeeze->wheezy release updates are not affected, only
people who update through unstable/testing.

>> # Enable php5_cgi if upgrading from older versions of php5-cgi
>> if [ -n "$2" ] && dpkg --compare-versions "$2" lt 5.4.4-5; then
>>     [...]a2enable[...]

This does not make sense either. IMHO running a squeeze->wheezy update once
should leave the system in exactly the same state, ultimately, as running a
daily dist-upgrade of testing. (except for the dpkg log being a bit longer. ;-)

-- Matthias Urlichs

More information about the pkg-php-maint mailing list