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.


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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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