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.

I get this message after trying the update manger:

W:Ignoring file 'Untitled Document 1' in directory '/etc/apt/sources.list.d/' as it has no filename extension,
E:Type 'eb' is not known on line 2 in source list /etc/apt/sources.list.d/ehoover-compholio-precise.list

I am new to ubuntu, what should I do?

share|improve this question

marked as duplicate by Eric Carvalho, Thomas W., Radu Rădeanu, Kevin Bowen, Alaa Ali Sep 3 '13 at 7:44

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.

1  
The cause is in the error message. You probably have been editing and adding file in system directories while you didn't know what you were doing. Please share the whole story. –  gertvdijk Sep 2 '13 at 23:09
1  
What did you do to cause this error? ehoover-compholio-precise.list is not a standard source file so this has all come about from something you've done. –  Oli Sep 2 '13 at 23:09

2 Answers 2

Somehow a file called Untitled Document 1 was copied to the /etc/sources.list.d folder. That's very odd. Such a file is usually a word processing document, and not a configuration file at all.

You can move this file to your desktop by opening a Terminal window (Ctrl+Alt+T) and running:

sudo mv /etc/apt/sources.list.d/Unt* ~/Desktop

Then the file will be on your desktop (in case it contains something important), and the first error message should go away. If it doesn't, please comment here and edit your question with details of what happened next.

The first message was actually a "warning"; it might work even if you leave Untitled Document 1 in place,.

The second error message can be solved by following the instructions here:

share|improve this answer

Looks like your sources list contains things it shouldn't. Might I suggest you open it up

CTRL+ALT+T to open up a shell command window

$sudo gedit /etc/apt/sources.list

Then fix what your error tells you to fix, alternatively take a look here: http://ubuntuguide.org/wiki/Ubuntu:Raring#Edit_the_repository_sources_list

Finally: You can also copy and paste the content of the source.list file here on the site, and I am sure someone nice will help you...

share|improve this answer
    
This problem has nothing to do with /etc/apt/sources.list itself, but instead pertains to files in /etc/apt/sources.list.d. –  Eliah Kagan Sep 3 '13 at 3:17
    
ouch, sorry about that :) –  vevmesteren Sep 3 '13 at 13:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.