2
E:Malformed line 2 in source list /etc/apt/sources.list.d/getdeb.list (URI)

^^ This is what I get back, earlier I was trying to get Pokemon Online to install properly, and it wasn't working, so I tried to get getdeb, now it won't check or show updates without giving me the message above, what am I doing wrong?

EDIT: Now it keeps sending me the information that it's experiencing an error continually.

EDIT 2: These are the contents of the file /etc/apt/sources.list.d/getdeb.list:

deb http://    archive.getdeb.net/ubuntu precise-getdeb apps  
deb  
http://   archive.getdeb.net/ubuntu saucy-getdeb apps  
deb http://    archive.getdeb.net/ubuntu saucy-getdeb apps  
deb http://    archive.getdeb.net/ubuntu precise-getdeb games  
terdon
  • 104,119

1 Answers1

2

If I read the question correctly, your /etc/apt/sources.list.d/getdeb.list looks like this:

deb http:// archive.getdeb.net/ubuntu precise-getdeb apps
deb
http:// archive.getdeb.net/ubuntu saucy-getdeb apps
deb http:// archive.getdeb.net/ubuntu saucy-getdeb apps
deb http:// archive.getdeb.net/ubuntu precise-getdeb games

If so, the problem is indeed on the second line. deb lines have this format:

deb http://repo.url.com repo_section(s)

So, open that file in an editor using sudo

sudo gedit /etc/apt/sources.list.d/getdeb.list

Then, edit the file so that it looks like this:

deb http://archive.getdeb.net/ubuntu precise-getdeb apps
deb http://archive.getdeb.net/ubuntu saucy-getdeb apps
deb http://archive.getdeb.net/ubuntu saucy-getdeb apps
deb http://archive.getdeb.net/ubuntu precise-getdeb games

Make sure each lines starts with deb and that there are no spaces between http:// and archive.

terdon
  • 104,119