Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 '14 at 14:49

This question was marked as an exact duplicate of an existing question.

Please post the output of cat /etc/apt/sources.list – Manuel Jun 3 '13 at 6:13
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

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

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