apache/php upgrade

Soren Hansen sh at linux2go.dk
Sun Apr 1 01:33:58 UTC 2007


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)).

-- 
| Soren Hansen    | Linux2Go                  | http://Linux2Go.dk/ |
| Seniorkonsulent | Lindholmsvej 42, 2. TH    | +45 46 90 26 42     |
| sh at linux2go.dk  | 9400 Norresundby, Denmark | GPG key: E8BDA4E3   |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20070401/d47cb1fc/attachment.pgp>


More information about the ubuntu-server mailing list