Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
3  
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 http://ppa.launchpad.net/tiheum/equinox/ubuntu 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
2  
The file should have deb-src at the begging of the second line. –  Lucio Jan 15 '13 at 17:41
show 3 more comments

1 Answer 1

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
add comment

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.