title: How can I install phpmyadmin using the repository
body: <p>I have tried the normal way <code>sudo apt-get install phpmyadmin</code> but it always fails. Is there any other way to install <strong>phpmyadmin</strong> from repository.</p>
  
  <p>I got this error,</p>
  
  <blockquote>
    <p>Preparing to unpack .../phpmyadmin_4%3a4.0.10-1_all.deb ...<br>
    Unpacking phpmyadmin (4:4.0.10-1) ...<br>
    Processing triggers for hicolor-icon-theme (0.13-1) ...<br>
    Processing triggers for doc-base (0.10.5) ...<br>
    Processing 1 added doc-base file...<br>
    Processing triggers for man-db (2.6.7.1-1ubuntu1) ...<br>
    Setting up oracle-java6-installer (6u45-0~webupd8~8) ...<br>
    Downloading Oracle Java 6...<br>
    --2017-10-25 09:13:20--  <a href="http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin" rel="nofollow noreferrer">http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin</a><br>
    Resolving download.oracle.com (download.oracle.com)... 184.25.108.41, 184.25.108.17<br>
    Connecting to download.oracle.com <br>(download.oracle.com)|184.25.108.41|:80... connected.<br>
    HTTP request sent, awaiting response... 302 Moved Temporarily<br>
    Location: <a href="https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin" rel="nofollow noreferrer">https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin</a> [following]<br>
    --2017-10-25 09:13:20--  <a href="https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin" rel="nofollow noreferrer">https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin</a><br>
    Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.65.97.122, 2600:140f:b:184::2d3e, 2600:140f:b:183::2d3e<br>
    Connecting to edelivery.oracle.com <br>(edelivery.oracle.com)|23.65.97.122|:443... connected.<br>
    HTTP request sent, awaiting response... 302 Moved Temporarily<br>
    Location: <a href="http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin?AuthParam=1508903146_f5ba776a72e71785aa3526c9fb49f911" rel="nofollow noreferrer">http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin?AuthParam=1508903146_f5ba776a72e71785aa3526c9fb49f911</a> [following]<br>
    --2017-10-25 09:13:23--  <a href="http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin?AuthParam=1508903146_f5ba776a72e71785aa3526c9fb49f911" rel="nofollow noreferrer">http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin?AuthParam=1508903146_f5ba776a72e71785aa3526c9fb49f911</a><br>
    Connecting to download.oracle.com <br>(download.oracle.com)|184.25.108.41|:80... connected.<br>
    HTTP request sent, awaiting response... 404 Not Found<br>
    2017-10-25 09:13:26 ERROR 404: Not Found.<br>
    <br>
    download failed<br>
    Oracle JDK 6 is NOT installed.<br>
    dpkg: error processing package oracle-java6-installer (--configure):<br>
     subprocess installed post-installation script returned error exit status 1<br></p>
  </blockquote>
  
  <p>I am using Ubuntu 14.04</p>