Malformed line 62 in source list /etc/apt/sources.list (dist parse)

This post was written by admin on June 16, 2009
Posted Under: General

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 http://ppa.launchpad.net/chromium-daily/ppa/ubuntu 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.

Related posts:

  1. Choose Top-mirror (apt download source) from Ubuntu-Night for Ubuntu
  2. List of commands determine system info/resources/partitions/process in Ubuntu Linux
  3. Add medibuntu sources to install more useful softwares in Ubuntu
  4. Remmina-free and open-source Remote Desktop Client written in GTK+
  5. Manager your Ubuntu sources more easily with Ubuntu Tweak

    Tags:

    Reader Comments

    I got the same problem,and I’d it fixed.

    [Reply]

    #1 
    Written By Jonny on June 21st, 2009 @ 2:23 am

    my problem is ubuntu seen this error-E: Malformed line 37 in source list /etc/apt/sources.list (dist)
    E: The list of sources could not be read.
    Go to the repository dialog to correct the problem.
    E: _cache->open() failed, please report.

    how to solve this

    [Reply]

    #2 
    Written By akhil on March 25th, 2010 @ 5:32 pm

    E:Malformed line 3 in source list /etc/apt/sources.list
    how solve this error

    [Reply]

    #3 
    Written By javid on June 21st, 2010 @ 8:11 pm

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address