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.

This question already has an answer here:

I'm getting the message

E: Malformed line 1 in source list /etc/apt/sources.list.d/bitdefender.list (dist) E: The list of sources could not be read
when I try to open software centre through terminal and a red stop sign at the top of my screen.> I know the reason for the problem, I tried installing a free bitdefender security, but don't know how to fix it and delete the malformed line, any help would be greatly appreciated.

share|improve this question

marked as duplicate by Avinash Raj, karel, minerz029, Eric Carvalho, Jorge Castro May 29 at 14: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.

    
Please post the output of cat /etc/apt/sources.list –  Manuel Jun 3 '13 at 6:13
1  
and the output of cat /etc/apt/sources.list.d/bitdefender.list, which seems to be the problem file. –  amc Sep 10 '13 at 1:14

1 Answer 1

I have had the same error message. I solved it just commenting (using #) the two lines from the file bitdefender.list. Check the /etc/apt/sources.list.d for bitdefender.list file. If it is there, do the following:

sudo -H gedit /etc/apt/sources.list.d/bitdefender.list

Then, comment out the lines by inserting # at the beginning of each line.

Save the file and try sudo apt-get update in the terminal to check if the problem was solved.

share|improve this answer
1  
while this will solve the error it will also prevent subsequent updates/upgrades from being found and installed. –  amc Sep 10 '13 at 1:11

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