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?

I run Ubuntu 12.10. I can't update anymore because I get this error.

E:Malformed line 54 in source list /etc/apt/sources.list (dist parse)
Line 54: deb partner
share|improve this question

marked as duplicate by mikewhatever, Uri Herrera, hhlp, fabricator4, Mik Jan 8 '13 at 14:23

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

It says line 54 is broken, So you have to repair that line. Open Teminal and run gksu gedit /etc/apt/sources.list Find above line, you can use Ctrl+F Replace the line with following

deb quantal partner

save and quit the editor. Run sudo apt-get update Tell us how it worked out. cheers..!

share|improve this answer
Problem fixed! You guys are the best. I fixed the line in the list with the editor and was able to update after that. Mucho Thanks! – Jérémie Jan 8 '13 at 5:41
glad you made it..! You can mark the thread as sloved, just click the tick sign on the left side. – Sudheera Jan 8 '13 at 5:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.