I am trying to install GStreamer.

I have added the following line /etc/apt/sources.list:

deb http://vontaene.de/raspbian-updates/ .main

Calling the apt-get update command generates the following error:

E: Malformed line 2 in source list /etc/apt/sources.list (dist parse)

E: The list of sources could not be read."

I tried several ways but nothing seems to work.

  • That was it the space between the dot and main Thank you very much
    – bma
    Commented Dec 12, 2016 at 10:35
  • Now I am stuck with the following error " The following packages have unmet dependencies: gstreamer1.0-omx-dbg : Depends: gstreamer1.0-omx (= but 1.2.0-1 is to be installed E: Unable to correct problems, you have held broken packages. " tried different command but it does not work. any suggestions people?
    – bma
    Commented Dec 12, 2016 at 10:42

1 Answer 1


tl;dr Start with fresh Raspbian and do not alter /etc/apt/sources.list to install GStreamer. Trying to fix APT repository is possible, but usually time-consuming task.

You can install GStreamer from the official repositories (as suggested in this answer):

sudo apt-get install gstreamer1.0-tools

Regarding your question: you need to add space between . and main.

man sources.list shows the following structure for the /etc/apt/sources.list file:

deb [ options ] uri suite [component1] [component2] [...]

APT tries constructs an exact URL to the packages using:


In case of GStreamer which is served from http://vontaene.de/raspbian-updates/dists/main/, the correct setting for sources.list is:

deb http://vontaene.de/raspbian-updates/ . main

It translates to http://vontaene.de/raspbian-updates/dists/./main/ - a reachable addres.

After setting the repository, you'd need to configure the keys. Anyway, currently setting this is unnecessary, see the top of the answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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