Today I made a mistake when I was installing google chrome web browser.I got a error said ” Malformed line 62 in source list /etc/apt/sources.list (dist parse)” when executed sudo apt-get update command in terminal.Here is how I fixed it.

The error message “Malformed line 62 in source list /etc/apt/sources.list” means something wrong of the line 62 in file source.list.

Use the following command in terminal :

cat -n /etc/apt/source.list | grep 62

You will see the content of the line like this:

wraith@wraith-desktop:~$ cat -n /etc/apt/sources.list | grep 62
62    deb-src jaunty

Run following command ,then find out the above and make a change.I lost main at end of the line and I just add it.

sudo gedit /etc/apt/source.list

If you’ve no idea with it,just delete it.Close and save the file and done.