Can't install php5-mysql in Ubuntu 11.10 due to unmet dependencies

Bug #886423 reported by aslam karachiwala
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

System: Ubuntu 11.10 amd64

$ sudo apt-get -f install php5-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php5-mysql : Depends: php5-common (= 5.3.6-11ubuntu1) but 5.3.6-13ubuntu3.2 is to be installed
E: Unable to correct problems, you have held broken packages.

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

This package installed fine for me on Oneiric, but then again I tested on a 32-bit system. Could you try
$sudo apt-get update
and see if you get the same result with updated package lists?

tags: added: amd64 oneiric unmetdeps
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

It looks like your apt sources got out of sync somehow. Oneiric has 5.3.6-13ubuntu3.1 in the release pocket, and 5.3.6-13ubuntu3.2 in updates and security.

I am also able to install php5-mysql without problems on an up to date 11.10 system, so I believe this is most likely local problems to your system. Possibly try 'apt-get update' and also check 'apt-cache policy php5-mysql' to find out what source that old version is coming from.

Changed in php5 (Ubuntu):
status: New → Invalid
Revision history for this message
aslam karachiwala (akwala) wrote :

Thanks, Clint and Hans.

This was the "best server" I had selected in Synaptic, and it's apparently outdated now:

$ sudo apt-cache policy php5-mysql
php5-mysql:
  Installed: (none)
  Candidate: 5.3.6-11ubuntu1
  Version table:
     5.3.6-11ubuntu1 0
        500 http://mirrors.ccs.neu.edu/ubuntu/ oneiric/main amd64 Packages

Today the "best server" search yielded the following, which fixed my problem:

$ sudo apt-cache policy php5-mysql
php5-mysql:
  Installed: (none)
  Candidate: 5.3.6-13ubuntu3.2
  Version table:
     5.3.6-13ubuntu3.2 0
        500 http://www.lug.bu.edu/mirror/ubuntu/ oneiric-updates/main amd64 Packages
        500 http://www.lug.bu.edu/mirror/ubuntu/ oneiric-security/main amd64 Packages
     5.3.6-13ubuntu3.1 0
        500 http://www.lug.bu.edu/mirror/ubuntu/ oneiric/main amd64 Packages

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.