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
E:Type '' is not known on line 1 in source list /etc/apt/sources.list

That is the message when I try to update. When I try to open software center its not opening!

share|improve this question

edit the file with gedit

gksu gedit /etc/apt/sources.list 

Comment out (add a # at the very front) or delete line 1.

Save and exit.

If you want us to review the line, post it here.

share|improve this answer

Your Answer


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.