Upgrade or install fails on 12.10

Bug #1007018 reported by Joe B.
94
This bug affects 20 people
Affects Status Importance Assigned to Milestone
php-apc (Ubuntu)
Fix Released
Undecided
Unassigned
php-mcrypt (Ubuntu)
Fix Released
Undecided
Unassigned
phpmyadmin (Ubuntu)
Invalid
Undecided
Unassigned
xdebug (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Apt fails on upgrading or installing 2.2.0-1 on Quantal 12.10 due to dpkg error:
/var/lib/dpkg/info/php5-xdebug.postinst: 9: /var/lib/dpkg/info/php5-xdebug.postinst: php5enmod: not found
I believe this is because it depends on the new php5enmod feature not implemented until PHP 5.4, which doesn't seem to be available on Ubuntu yet. It seems like the Ubuntu version should depend on phpapi-20100525+lfs like the Debian version, not phpapi-20090626+lfs as it currently does.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xdebug (Ubuntu):
status: New → Confirmed
Revision history for this message
András Pölöskei (spolix) wrote :

And also not possible to remove it with apt-get:
/var/lib/dpkg/info/php5-xdebug.prerm: 9: /var/lib/dpkg/info/php5-xdebug.prerm: php5dismod: not found

Same problem with php5-apc package.

Revision history for this message
Joe B. (joseph-benson) wrote :

You're right András, the only way I could uninstall was to delete files manually. And it does affect php5-apc as well. Based on a quick search of which quantal packages are installing config files in the new /etc/php5/mods-available/ location, it currently affects:
libpuzzle-php
php-apc
php5-gdcm
php5-rrd
php5-suhosin
php5-vtkgdcm
php5-xcache
php5-xdebug
And will affect any other packages that upgrade to the new config file layout and don't depend on php (>= 5.4).
The weird thing is that they appear to be ok upstream on Debian, but whoever is repackaging them for Ubuntu is lowering the dependency version.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in php-apc (Ubuntu):
status: New → Confirmed
Gunni (fgunni)
summary: - Upgrade to 2.2.0 fails on 12.10
+ Upgrade fails on 12.10
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Upgrade fails on 12.10

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in php-mcrypt (Ubuntu):
status: New → Confirmed
Revision history for this message
Joe B. (joseph-benson) wrote :

Well, now looks like we've got the opposite problem. PHP 5.4 is here, but xdebug and apc won't install because they depend on phpapi-20090626+lfs which is not available anymore. Any developers paying attention?

Gunni (fgunni)
summary: - Upgrade fails on 12.10
+ Upgrade or install fails on 12.10
Changed in phpmyadmin (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xdebug - 2.2.0-1build1

---------------
xdebug (2.2.0-1build1) quantal; urgency=low

  * No-change rebuild for phpapi change (LP: #1007018).
 -- Ilya Barygin <email address hidden> Sat, 30 Jun 2012 09:34:30 +0400

Changed in xdebug (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package php-apc - 3.1.10-1build1

---------------
php-apc (3.1.10-1build1) quantal; urgency=low

  * No-change rebuild for phpapi change (LP: #1007018)
 -- Ilya Barygin <email address hidden> Sat, 30 Jun 2012 13:04:37 +0400

Changed in php-apc (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package php-mcrypt - 5.3.5-0ubuntu2

---------------
php-mcrypt (5.3.5-0ubuntu2) quantal; urgency=low

  * No-change rebuild for phpapi change (LP: #1007018)
 -- Ilya Barygin <email address hidden> Sat, 30 Jun 2012 13:05:20 +0400

Changed in php-mcrypt (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Ilya Barygin (randomaction) wrote :

It seems that phpmyadmin is not directly affected.

Changed in phpmyadmin (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Joe B. (joseph-benson) wrote :

Thanks Ilya, looks good.

Revision history for this message
Nazar Mokrynskyi (nazar-pc) wrote :

I have installed PHP 5.4 and Apache2 for Precise from ppa ondrej/php5
It is the only way now for me to obtain working PHP 5.4 with mcrypt module.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.