I am having similar error when upgrade packages as I use it I can't un- install it but i also can't update it.
$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y Setting up libapache2-mod-php7.0 (7.0.4-7ubuntu2.1) ... ucfr: Attempt from package libapache2-mod-php7.0 to take /etc/php/7.0/cli/php.ini away from package php7.0-cli ucfr: Aborting. dpkg: error processing package libapache2-mod-php7.0 (--configure): subprocess installed post-installation script returned error exit status 4 Errors were encountered while processing: libapache2-mod-php7.0 E: Sub-process /usr/bin/dpkg returned an error code (1) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576334 Title: package libapache2-mod-php7.0 7.0.4-7ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1576334/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
