Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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