Can't Install php5-dev on Ubuntu 12.04 running OpenVZ

Posted by MEsch on Server Fault See other posts from Server Fault or by MEsch
Published on 2012-10-13T21:23:14Z Indexed on 2012/10/13 21:39 UTC
Read the original article Hit count: 320

Filed under:
|

I'm trying to fetch the php apc package using pecl and running into a problem that I believe may be caused by OpenVZ. To do so I need php5-dev. When I try to install it via apt-get, I get this:

php5-dev : Depends: libssl-dev but it is not going to be installed
            Depends: libtool (>= 2.2) but it is not going to be installed

As I try to manually install dependencies (without success), I believe I've identified libc6-dev as the culprit.

libc6-dev : Depends: libc6 (= 2.15-0ubuntu10.2) but 2.15-0ubuntu10+openvz0 is to be installed

I have libc6 installed on the system. If it's any help here is my sources.list:

deb http://archive.ubuntu.com/ubuntu precise main restricted universe
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe
deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu precise partner

This is a very frustrating problem, as I have other instances of Ubuntu 12.04 running just fine elsewhere (though not on OpenVZ).

© Server Fault or respective owner

Related posts about openvz

Related posts about ubuntu-12.04