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

    Add a Comment

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