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?

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 http://archive.canonical.com/ partner
share|improve this question

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

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.

1 Answer 1

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 http://archive.canonical.com/ 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.