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.

Possible Duplicate:
How do I fix “malformed line” errors in sources.list?
“Malformed line 6” error in my /etc/apt/sources.list

I don't know what happened, but one day my computer had some sort of a system error and could no longer update itself.

The software center will not open, it will begin to initialize and then a message pops up saying theres a system error and needs to shut down the software center. Then another box pops up after I go to report it saying it was unable to identify source or package name.

I also can't extract a zipped folder to anything, or reinstall Ubuntu from a USB boot drive anymore, it keeps telling me my my computer isn't compatible when I know for a fact it is, because thats how I got Ubuntu on here in the first place.

The only thing I know about this error is that a message popped up after I went to check for updates saying to report the problem and include this message in the report:

E:malformed line 56 in source list /etc/apt/sources.list (dist parse)

bash: /etc/apt/sources.list: Permission denied <--this is the message that pops up when i attempt to access this line. . .

It also called it a bug. I just want to know how to either get rid of the bug completely or find some way to be able to reinstall Ubuntu again. I know it's not a lot of information, but It's all I can give. Sorry.

share|improve this question

marked as duplicate by mikewhatever, izx, RolandiXor, hbdgaf, Tom Brossman Sep 9 '12 at 19:49

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.

4  
Please edit your question and add the content of line 56 of the file /etc/apt/sources.list. –  Florian Diesch Sep 8 '12 at 3:52
    
A quick fix, comment the line 56 in /etc/apt/sources.list by adding two ## as first characters in the line. They try sudo apt-get update. For a permanent solution to come up as an answer, do as @FlorianDiesch has suggested. –  Noble P. Abraham Sep 8 '12 at 4:19
1  
You need to use sudo to be able to edit this file. gksudo gedit /etc/apt/sources.list –  January Sep 8 '12 at 5:23
    
@january After typing in the command above, what do you do and how? –  Anonymous Sep 8 '12 at 5:37
    
You go to line 56 and comment it as suggested by @NobleP.Abraham or you post it here so we might inspect what is wrong with it. –  January Sep 8 '12 at 6:49

Browse other questions tagged or ask your own question.