Wednesday, June 22, 2016

apache2 - Cannot install libapache2-mod-php5 because of unmet dependencies

I have a vagrant box that installs php 5.3.28 and most php libraries




dpkg -l |grep '^ii' |grep php
ii php5-cgi 5.3.28-1~dotdeb.0 server-side, HTML-embedded scripting language (CGI binary)
ii php5-cli 5.3.28-1~dotdeb.0 command-line interpreter for the php5 scripting language
ii php5-common 5.3.28-1~dotdeb.0 Common files for packages built from the php5 source
ii php5-curl 5.3.28-1~dotdeb.0 CURL module for php5
ii php5-dbg 5.3.28-1~dotdeb.0 Debug symbols for PHP5
ii php5-fpm 5.3.28-1~dotdeb.0 server-side, HTML-embedded scripting language (FPM-CGI binary)
ii php5-gd 5.3.28-1~dotdeb.0 GD module for php5
ii php5-gmp 5.3.28-1~dotdeb.0 GMP module for php5
ii php5-imap 5.3.28-1~dotdeb.0 IMAP module for php5

ii php5-interbase 5.3.28-1~dotdeb.0 interbase/firebird module for php5
ii php5-intl 5.3.28-1~dotdeb.0 internationalisation module for php5
ii php5-ldap 5.3.28-1~dotdeb.0 LDAP module for php5
ii php5-mcrypt 5.3.28-1~dotdeb.0 MCrypt module for php5
ii php5-mysql 5.3.28-1~dotdeb.0 MySQL module for php5
ii php5-odbc 5.3.28-1~dotdeb.0 ODBC module for php5
ii php5-pspell 5.3.28-1~dotdeb.0 pspell module for php5
ii php5-recode 5.3.28-1~dotdeb.0 recode module for php5
ii php5-snmp 5.3.28-1~dotdeb.0 SNMP module for php5
ii php5-sqlite 5.3.28-1~dotdeb.0 SQLite module for php5

ii php5-tidy 5.3.28-1~dotdeb.0 tidy module for php5
ii php5-xmlrpc 5.3.28-1~dotdeb.0 XML-RPC module for php5
ii php5-xsl 5.3.28-1~dotdeb.0 XSL module for php5


But when I do
sudo apt-get install libapache2-mod-php5
I get



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:
libapache2-mod-php5 : Depends: php5-common (= 5.3.10-1ubuntu3.14) but 5.3.28-1~dotdeb.0 is to be installed

E: Unable to correct problems, you have held broken packages.


What can I do to resolve this issue?

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...