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.

When I try to update, I get this:

root@deepit-R405-A-CPD6A2:/var/lib/apt# sudo apt-get update
E: Type '123443215' is not known on line 61 in source list /etc/apt/sources.list
E: The list of sources could not be read.

Any idea what I can do?

share|improve this question
1  
Start by posting your /etc/apt/sources.list so we can see how damaged it is but if you open that file with a text editor, ie gedit with sudo privileges you should be able to comment out the broken line with #, save it and re-run sudo apt-get update. –  Bruno Pereira Feb 6 '12 at 19:19

1 Answer 1

You need to edit the file /etc/apt/sources.list and fix (at least) line 61 of it. You can edit it by opening a terminal window and doing:

gksu gedit /etc/apt/sources.list

You can comment out that line by putting a # at the start of the line.

share|improve this answer
    
Solved it! Some unnecessary additions in the list file. This was really stupid, but i'm new to Linux :P. Thanks guys! –  Deepit Feb 10 '12 at 17:53

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.