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

share|improve this question

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

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

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

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