I was doing sudo apt-get dist-upgrade
and I pressed ctrl + c
by mistake, after that a ran into this problem, I "solved" it doing the zurdo solution (first anwser, sorted by votes), but now can't solve:
...
dpkg: error processing package php7.0 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
php7.0-common
php7.0-cli
libapache2-mod-php7.0
php7.0-cgi
php7.0
E: Sub-process /usr/bin/dpkg returned an error code (1)
I think that when I pressed ctrl-c it was updating php-cli, here is an image with more information.
I'm running Xubuntu 16.04
sudo apt-get -f install
and try againsudo apt-get update
– M. Becerra Feb 01 '17 at 10:39... -f install
, update looks fine. I really want to avoid reinstalling these packages. Thanks @M.Becerra – Miguel Feb 01 '17 at 10:44