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'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
    
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
add comment

1 Answer

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