0

When I try to install php7-mbstring I get the following error:

The following packages have unmet dependencies:
php7.0-mbstring : Depends: php7.0-common (= 7.0.8-0ubuntu0.16.04.3)
but 7.0.13-0ubuntu0.16.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.

I tried what is advice here: How do I resolve unmet dependencies after adding a PPA?. But it did'n work... Any advice ?

Thanks !

1 Answers1

0

Finally, I managed to resolve the issue by searching for the package on Ubuntu depository.

The php7.0-mbstring for php 7.0.13 was on the proposed repository that wasn't in my source list

So I edited my sources.list in /etc/apt/sources.list by adding

deb http://archive.ubuntu.com/ubuntu/ xenial-proposed restricted main multiverse universe

then run apt-get update and then apt-get install php7.0-mbstring

Worked fine !