Super User is a question and answer site for computer enthusiasts and power users. 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

I'm using Ubuntu 9.04. When I run any command like sudo apt-get update, I get following error message:

E: Type 'l.com/ubuntu' is not known on line 45 in source list /etc/apt/sources.list E: The list of sources could not be read.

Due to this problem I'm not able to download anything. Please help.

share|improve this question

You've to edit the source list /etc/apt/sources.list.

thus, go to terminal and type sudo gedit /etc/apt/sources.list. Delete the offending line, ctrl+o to save, ctrl+x to exit.

share|improve this answer
1  
You either meant to type sudo nano /etc/apt/sources.list or those keyboard shortcuts were an accident. – Trey Hunner Jun 3 '10 at 7:30

Seems like you've accidentally pressed Enter in the middle of the line #44 and created a new line #45 with invalid format. Check those lines.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .