1

Possible Duplicate:
How do I fix “malformed line” errors in sources.list?

I can't open Ubuntu software-center. And I can't update in Terminal. When I type sudo apt-get update, it just shows:

E: Malformed line 2 in source list /etc/apt/sources.list.d/gnomebaker.list (dist parse)
E: The list of sources could not be read

3 Answers3

1
  • Open a terminal and run sudo gedit /etc/apt/sources.list.d/gnomebaker.list
  • Remove all the existing lines in the file, and add these lines

    deb ppa.launchpad.net/gnomebaker/stable/ubuntu oneiric main
    deb-src ppa.launchpad.net/gnomebaker/stable/ubuntu oneiric main.

  • Exit gedit and then run sudo apt-get update. you will be file

Anwar
  • 77,855
0
deb ppa.launchpad.net/gnomebaker/stable/ubuntu oneiric main
deb-src ppa.launchpad.net/gnomebaker/stable/ubuntu o

The file's cut off. It should be like this;

deb ppa.launchpad.net/gnomebaker/stable/ubuntu oneiric main deb-src
deb-src ppa.launchpad.net/gnomebaker/stable/ubuntu oneiric main
RobinJ
  • 9,020
0

(Answer to your question what file to open, sorry can't comment)

Open 'software sources' and in the tab 'Other software', select the gnomebaker respository, then 'edit' and change according to RobinJ's answer. Then run 'sudo apt-get update' and try installing again...

Hope it works

Tinellus
  • 533
  • 1
  • 7
  • 18