steam messed up my sources.list file

Asked by Jeremy Dean Crow

When I try to open the synaptic package manager I get this error message:

E: Malformed line 51 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.

On line 51:
deb-src http://repo.steampowered.com/steam/precise steam

How do I repair this?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

I guess the line has to be

deb-src http://repo.steampowered.com/steam precise steam
(same would apply to a line like deb http://repo.steampowered.com/steam precise steam)

(a space character instead of a slash between steam and precise)

Yuu can edit your sources list by opening a terminals and issuing the command
sudo gedit /etc/apt/sources.list

Can you help with this problem?

Provide an answer of your own, or ask Jeremy Dean Crow for more information if necessary.

To post a message you must log in.