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 this “E:Type '*' is not known on line * in source list …” update error?

Recently I installed FF 4 by command line following error seen

E:Type tu-mozilla-daily/ppa/ubuntu is not known on line 2 in source list

/etc/apt/sources.list.d/ubuntu-mozilla-daily-ppa-maverick.list due to which neither update manager nor synaptic package manager are working

share|improve this question

marked as duplicate by htorque, Stefano Palazzo Jan 19 '12 at 23:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Post the output of sudo apt-get update – karthick87 Dec 29 '10 at 7:02
post the contents of /etc/apt/sources.list.d/ubuntu-mozilla-daily-ppa-maverick.list – aneeshep Dec 29 '10 at 8:25

There seems to be a problem with the file that tells Ubuntu where to find Firefox 4.

You can remove it with this command:

su rm /etc/apt/sources.list/ubuntu-mozilla-daily-ppa-maverick.list

After that your system should update again.

To install firefox 4 just copy and paste in a terminal this command:

sudo apt-add-repository ppa:ubuntu-mozilla-daily

Afterwards you should be able to install it from the Software Centre, or using the terminal:

sudo apt-get install firefox-4.0

Note that this is a daily build version of a beta software, expect bugs.

share|improve this answer