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.

Can't open update manger,package manager or software center.

  1. The following code appears when I attempt to launch the above:
Could not initialize the package information

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Type '“deb' is not known on line 58 in source list /etc/apt/sources.list, E:The list of sources could not be read.'

Tried to 'gedit' it, apparently it doesn't handle 'E' Files?

Thank you in advance for your help.

share|improve this question
    
have you tried other softwares, like sudo nano /etc/apt/sources.list ? The file might be too large for gedit to handle? : bugs.launchpad.net/ubuntu/+source/gedit/+bug/1008062 –  owl Dec 30 '12 at 10:27
add comment

1 Answer 1

Line 58 of the file /etc/apt/sources.list seems to start with “deb instead of deb.

Open the file as root in an editor, for example using

sudo nano /etc/apt/sources.list

from the command line, and remove the (and if there's a at the end of the line remove that, too).

share|improve this answer
    
Everything appears ok there, no "deb' as such. –  Bjorn Dec 30 '12 at 10:44
    
Believe this is it: “deb deb.torproject.org/torproject.org lkucid main” “deb deb.torproject.org/torproject.org lucid main” “deb deb.torproject.org/torproject.org lucid main” “deb deb.torproject.org/torproject.org lucid main” “deb deb.torproject.org/torproject.org lucid main” deb deb.torproject.org/torproject.org Karmic main –  Bjorn Dec 30 '12 at 10:55
    
Can I hi-light that & simply delete them to restore functioning of my update manger,package manager & software center.? –  Bjorn Dec 30 '12 at 11:06
    
If you don't need this repositories anymore you can delete them. It may be a good idea to make a copy of the file before. If deleting the lines doesn't help please add the file's content to your question. –  Florian Diesch Dec 30 '12 at 16:01
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.