Here is a summary of our irc discussion: <mvo> Mithrandir: is that the workaround you recommend: "rm -f /var/lib/dpkg/info/apache2-common.postrm." ? <Mithrandir> mvo: no, the workaround is to remove php[45] before upgrading apache. <mvo> Mithrandir: so before the actual upgrade, remove php[45], upgrade, reinstall php[45]? <Mithrandir> mvo: that ought to work, yes. <mvo> Mithrandir: thats very evil and has the potential to screw up quite badly within the apt cache. is that really the only way? _ion: no <Mithrandir> mvo: the problem is php[45] depends on apache2-common's ABI without declaring that. [..] <Mithrandir> mvo: the problem here is a missing dependency, you could, maybe, possibly work around it by first stopping apache2, then removing the prerm and postrm then upgrade, but you would need to test this properly. <mvo> Mithrandir: the missing dependency is not a package dependency but the ABI dependency that you talked about earlier? (sorry, I'm not familiar with php/apache packages <Mithrandir> mvo: no. libapache2-mod-php5 in edgy depends (as in, an ABI dependency) on apache2-common, but fails to declare that Depend on apache2-common, the package. This is a bug. libpache2-mod-php5 in feisty depends and Depends on apache2.2-common. <Mithrandir> mvo: if you upgrade libapache2-mod-php5 without first upgrading apache2-common, it will fall over. If you first install apache2.2-common without removing libapache2-mod-php5, the upgrade falls over. <mvo> Mithrandir: I seem to be unable to reproduce the apache/php upgrade issue here in a chroot or in vmware. even with the same ordering it seems (http://paste.ubuntu-nl.org/12909). is there more to do to reproduce the issue? <Mithrandir> mvo: from memory, something like: debootstrap an edgy chroot. Install apache2 + libapache2-mod-php5. download the relevant binaries from feisty, run dpkg -i on them; it ought to blow up. If not, try installing just apache2.2-common and apache2-mpm-prefork from feisty. mvo: it might work by accident.
I can not reproduce it here yet. Even with unpack/configure patterns that look very similar to the one in the bugreports. -- PHP5 breaks apache update https://launchpad.net/bugs/95325 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
