Ubuntu: update manager is not working properly [duplicate]



Question:

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?


Solution:1

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:


Solution:2

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...


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »