Welcome to the Linux Foundation Forum!

Ubuntu phpmyAdmin Installation



I want to install phpMyAdmin on Ubuntu 10.04, so I typed like this:

sudo apt-get install libapache2-mod-auth-mysql phpmyadmin

but this error message occured:

E: Malformed line 54 in source list /etc/apt/sources.list (dist parse)

E: The list of sources could not be read.

Can you be enough kind to help me to fix this ? I receive the same error messages when I try to install Java JDK


  • mfillpot
    mfillpot Posts: 2,177
    Your issue will block you from installing any software using apt-get because your sources.list files is not in the proper format.

    Please post the contents of your sources.list here and we can tell you how to fix it.
  • ryszardstawiarski
    Did you tried to put hash (#) in front of line 54 then run update?

    Try following steps:
    sudo gedit /etc/apt/sources.list

    save it, then run:
    sudo apt-get update

    This should solve this problem, anyway this is not solution, rather workaround, It will be great if You will be able to paste here output from:
    cat /etc/apt/sources.list

  • usmangt
    I don't know that much about Ubuntu but i have installed phpMyAdmin on my RedHat using the manual installation and it always works. It's easy you can get full installation instruction from their wiki webpage.


    and directly goto heading of "With setup script" and then start from there.

    Hope this helps

  • begueradj
    begueradj Posts: 19
    Thank you for all your answers !
    I have resolved the problem with your help and the help of other people on other forums
    thank you a lot



Upcoming Training