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. Add medibuntu sources to install more useful softwares in Ubuntu
  3. Remmina-free and open-source Remote Desktop Client written in GTK+
  4. How to get line number count and auto-indent in VIM
  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]

    Georon Reply:

    Go to http://www.Georon.blogspot.com to fix the malformed line errors.

    [Reply]

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

    E: Malformed line 10 in source list /etc/apt/sources.list (dist)……………..
    This is my problem…….

    [Reply]

    #4 
    Written By Yaman on October 9th, 2010 @ 1:42 am

    SCUSATE SUL TERMINALE HO TROVATO QUESTA SCRITTA:
    E: Malformed line 1 in source list /etc/apt/sources.list (dist)
    per favore sa qualcuno spiegarmi passo per passo come risolvere questo problema? grazie di cuore

    [Reply]

    #5 
    Written By marco73bmw on August 1st, 2011 @ 2:06 pm

    I had the same problem but in line 1 of the sources list, so I just deleted that line, and presto, I can get upgrades and access to the Ubuntu Software Centre after 1 month without them. That line started with deb, a command that doesn’t work. Thanks a lot for the fix

    [Reply]

    #6 
    Written By Stephen B. on December 27th, 2011 @ 3:40 pm

    Add a Comment

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