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 fix “malformed line” errors in sources.list?

Whenever I try to install any software using terminal or by entering sudo apt-get update, the result is:

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

My sources.list is at http://paste.ubuntu.com/1180079/ .

share|improve this question
add comment

marked as duplicate by jokerdino, Ringtail, Mitch, Jorge Castro, Stephen Myall Oct 30 '12 at 10:26

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

It seems like lines 56 and 57 of your file are trying to set your home directory as a package source.

If you don't want this, you can just edit the file and delete these lines.

If you do want this, you will need to change deb file:///home/pradnesh main to deb file:///home/pradnesh precise main in line 56 and a similar change in line 57.

share|improve this answer
add comment

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