"Malformed line 6" error in my /etc/apt/sources.list

Posted by Odi1215 on Ask Ubuntu See other posts from Ask Ubuntu or by Odi1215
Published on 2012-07-31T16:55:26Z Indexed on 2012/09/01 15:48 UTC
Read the original article Hit count: 265

Filed under:
|

I'm new to Ubuntu so I don't really know much yet. I encountered this problem while on the terminal:

E: Malformed line 6 in source list /etc/apt/sources.list (dist parse) 
E: The list of sources could not be read.

What should I do? Help would be much appreciated.

Here's my source.list:

# /etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse 
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://archive.canonical.com/ partner
deb-src http://archive.canonical.com/ partner
/etc/apt/sources.list

© Ask Ubuntu or respective owner

Related posts about apt

Related posts about software-sources