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

This is the error I'm getting from using sudo apt-get update

E:Type 'b-src' is not known on line 2 in source list /etc/apt/sources.list.d/tiheum-equinox-precise.list

How can I fix this?

share|improve this question
Almost agree with @qbi. I assume it's supposed to be deb-src. – gertvdijk Jan 15 '13 at 17:24
Just edit that file using gedit: sudo gedit /etc/apt/sources.list.d/tiheum-equinox-precise.list. The line 2 should be something like deb-src precise main – Salem Jan 15 '13 at 17:26
I can't seem to get access to gksu, Is there another workaround? – frqcuse Jan 15 '13 at 17:29
Enter in you terminal sudo gedit /etc/apt/sources.list.d/tiheum-equinox-precise.list then copy the content of the file and upload it here. – Lucio Jan 15 '13 at 17:31
The file should have deb-src at the begging of the second line. – Lucio Jan 15 '13 at 17:41

This error advertise is telling you that the concerned file (tiheum-equinox-precise.list in this case) have the b-src phrase, and that is wrong because it should be deb-src instead.

So you have tree options to solve the issue:

  1. Fix the line with the typing problem:
    Open the file, find the line with b-src and replace it with this one: deb-src
  2. Convert the line in a comment:
    Open the file, find the line with b-src and add the # character at the begging of this line
  3. Delete the file:
    Enter the next command in a terminal: sudo rm /etc/apt/sources.list.d/your_file

NOTE: To open the file, enter the following command in a terminal:
sudo gedit /etc/apt/sources.list.d/your_file

Now you will be able to update your system!

share|improve this answer
@frqcuse You can mark the answer as accepted, leaving this question as answered.. – Lucio Jan 16 '13 at 19:23

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.