title: error when installing PHPMYADMIN
body: <p>I was trying to install PHPMYADMIN and got the error </p>
  
  <p>E: Sub-process /urs/bin/dpkg returned an error code (1)</p>
  
  <p>I tried reinstalling it but it just give me this error
  not sure how to fix it</p>
  
  <p>any help would be appricated</p>
  
  <pre><code>$ sudo apt-get install mysql-server php7.0-mysql
  [sudo] password for abandola1: 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  php7.0-mysql is already the newest version (7.0.22-0ubuntu0.17.04.1).
  mysql-server is already the newest version (5.7.20-0ubuntu0.17.04.1).
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  3 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.22-0ubuntu0.17.04.1) ...
  dpkg: error processing package libapache2-mod-php7.0 (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of libapache2-mod-php:
   libapache2-mod-php depends on libapache2-mod-php7.0; however:
    Package libapache2-mod-php7.0 is not configured yet.
  
  dpkg: error processing package libapache2-mod-php (--configure):
   dependency problems - leaving unconfigured
  No apport report written because the error message indicates its a followup error from a previous failure.
                            dpkg: dependency problems prevent configuration of php7.0:
   php7.0 depends on libapache2-mod-php7.0 | php7.0-fpm | php7.0-cgi; however:
    Package libapache2-mod-php7.0 is not configured yet.
    Package php7.0-fpm is not installed.
    Package php7.0-cgi is not installed.
  
  dpkg: error processing package php7.0 (--configure):
   dependency problems - leaving unconfigured
  No apport report written because the error message indicates its a followup error from a previous failure.
                            Errors were encountered while processing:
   libapache2-mod-php7.0
   libapache2-mod-php
   php7.0
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  </code></pre>