Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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, stephenmyall, Mik, belacqua Oct 30 '12 at 16:06

This question was marked as an exact duplicate of an existing question.

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 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

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

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 partner
deb-src partner
share|improve this answer