package php5-ldap 5.3.2-1ubuntu2 failed to install/upgrade: trying to overwrite '/usr/lib/php5/20090626 lfs/ldap.so', which is also in package libapache2-mod-php5 0:5.3.1-5ubuntu2

Bug #549291 reported by inkubus
106
This bug affects 20 people
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: php5

trying to update to 10.04 beta1 from 9.10, update was successfull but this messages came up 1 week later

ProblemType: Package
Architecture: i386
Date: Fri Mar 26 17:41:13 2010
DistroRelease: Ubuntu 10.04
ErrorMessage: trying to overwrite '/usr/lib/php5/20090626+lfs/ldap.so', which is also in package libapache2-mod-php5 0:5.3.1-5ubuntu2
Package: php5-ldap 5.3.2-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
SourcePackage: php5
Title: package php5-ldap 5.3.2-1ubuntu2 failed to install/upgrade: trying to overwrite '/usr/lib/php5/20090626+lfs/ldap.so', which is also in package libapache2-mod-php5 0:5.3.1-5ubuntu2
Uname: Linux 2.6.32-17-generic i686

Revision history for this message
inkubus (francis-belanger) wrote :
Revision history for this message
Ondřej Surý (ondrej) wrote :

Could you please post output of:

apt-cache policy libapache2-mod-php5

It looks like you have a custom libapache2-mod-php5 installed (I don't thing/remember that 0:5.3.1-5ubuntu2 was ever in lucid).

Revision history for this message
Micah Gersten (micahg) wrote :

See publishing history:
https://edge.launchpad.net/ubuntu/+source/php5/+changelog
Specifically:
https://edge.launchpad.net/ubuntu/+source/php5/5.3.1-5ubuntu2

A breaks or replaces entry should be added in php5-ldap for libapache2-mod-php5 <= 0:5.3.1-5ubuntu2 so that libapache2-mod-php5 will be uninstalled first.

Revision history for this message
Ondřej Surý (ondrej) wrote :

Ok, this must be the mess created by #544052.

Ondrej

Revision history for this message
Giotto (cryptosonbian) wrote :

$sudo apt-cache policy libapache2-mod-php5

libapache2-mod-php5:
  Installed: 5.3.2-1ubuntu2
  Candidate: 5.3.2-1ubuntu2
  Table versions:
 *** 5.3.2-1ubuntu2 0
        500 http://mirror.mirohost.net/ubuntu/ lucid / main Packages
        100 / var / lib / dpkg / status

Revision history for this message
Giotto (cryptosonbian) wrote :

Yesterday's updating has corrected all.

Revision history for this message
Ondřej Surý (ondrej) wrote :

Still there is a need to add conflict libapache2-mod-php5 (<< 5.3.1-1~) to php5-ldap package.

Workaround to this bug is to install libapache2-mod-php5 first and then update php5-ldap.

Revision history for this message
Micah Gersten (micahg) wrote :

php5 (5.3.2-1ubuntu3) lucid; urgency=low

  * debian/control: Fix upgrade of php5-ldap from 5.3.1. (LP: #)
 -- Chuck Short <email address hidden> Sun, 28 Mar 2010 15:41:34 -0400

Changed in php5 (Ubuntu):
status: New → Fix Released
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.