Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
How do I remove a malformed line from my sources.list?
How do I fix “malformed line” errors in sources.list?

I am getting an error message when I run the Update Manager:

E:Malformed line 59 in source list /etc/apt/sources.list (dist parse)

Any ideas on how to resolve this issue?

share|improve this question

marked as duplicate by jokerdino, Ringtail, Stephen Myall, Mik, belacqua Oct 30 '12 at 16:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3  
You should open /etc/apt/sources.list and report here the affected line (nr. 59) –  enzotib Apr 11 '11 at 11:51
    
Please add line 59 of sources.list to your question. If you don't know how to do this, type: gksudo gedit /etc/apt/sources.list, go to line 59 and copy the whole line(copy line 58 and 60 too). Thank you –  omnidan Apr 11 '11 at 13:13
    
In addition to showing line 59 by itself, you should also add the entire contents of /etc/apt/sources.list to your question (or at paste.ubuntu.com and include a link to it in your question). Seeing just the bad line in isolation is not always sufficient to figure out how things should best be fixed. –  Eliah Kagan Jun 19 '12 at 23:37

2 Answers 2

I also had the same error and had to remove the line 59 and 60 to solve the problem. Not sure if it affects any other update process. The contents of the line 59-60 are:

deb http://archive.canonical.com/lucid partner
deb-src http://archive.canonical.com/lucid partner
share|improve this answer

probably your mixing repositories from different distributions. you should post your sources.list or you can try this link, might help you.

enter link description here

share|improve this answer