1

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.

enter image description here

I'm running Xubuntu 16.04

Miguel
  • 111
  • 1
    Run sudo apt-get -f install and try again sudo apt-get update – M. Becerra Feb 01 '17 at 10:39
  • Same message for ... -f install, update looks fine. I really want to avoid reinstalling these packages. Thanks @M.Becerra – Miguel Feb 01 '17 at 10:44
  • Please paste terminal text directly instead of making screenshots of it. https://meta.askubuntu.com/q/8713/250300 – Melebius Feb 01 '17 at 12:51
  • @Melebius I know the rules, I just posted the image to be a backup. It would become too extense and I don't think it's that importante (not really a copy/paste text). Anyway, thanks for the tip – Miguel Feb 01 '17 at 13:04

0 Answers0