apache/php upgrade

Michael Vogt mvo at ubuntu.com
Mon Apr 2 14:31:49 UTC 2007


On Sun, Apr 01, 2007 at 03:33:58AM +0200, Soren Hansen wrote:
> On Fri, Mar 30, 2007 at 10:42:20PM +0200, Michael Vogt wrote:
> > I would like to ask for help from someone more familiar than me with
> > the problem described in bug #95325:
> > https://beta.launchpad.net/ubuntu/+source/update-manager/+bug/95325
> > 
> > For some people the edgy->feisty upgrade of apache fails when
> > libapache2-mod-php5 is installed (log attached).
> > 
> > If someone can give me instructions how to reproduce this problem that
> > would be really appreciated. I tried various upgrades in a clean
> > chroot and in a VM without triggering it. 
> 
> 1. Do a clean Edgy install (I used ubuntu server, but whatever rocks
>    your boat..)
> 2. Install libapache2-mod-php5 (pulls in apache as well)
> 3. stop apache (*very* important step as it turns out)
> 4. sed -i -e s/edgy/feisty/ /etc/apt/sources.list
> 5. apt-get update ; apt-get install libapache2-mod-php5
> 
> The problem is:
> * php5 gets installed
> * apache2 upgrade fails, because prerm tries to stop it (failing because
>   it's already stopped)
> * Any subsequent attempts at doing anything with Apache fails, because
>   php5 has been upgraded breaking API compatibility with apache2 (2.0)).

Thanks a lot for those instructions! I can now reproduce the problem
here. 

Cheers,
 Michael





More information about the ubuntu-server mailing list