Repositories/ Source List Problem

I know this issue has been covered a few times before but nothing recommended in previous threads appears to work for the problem I seem to have. I am a complete newbie, so you have to explain it in ABC language…!

Somehow the additional-repositories source.list has become corrupted and I cannot get access to edit the contents.

The error I get in Muon Discover is:
The package system could not be initialized, your configuration may be broken.

Type ‘’ is not known on line 2 in source list /etc/apt/sources.list.d/additional-repositories.list

and in Synaptics Package Manager it is:

E: Type ‘’ is not known on line 2 in source list /etc/apt/sources.list.d/additional-repositories.list
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.

The additional-repositories list says this:
deb frontier-14 main #id:netrunner_main

But these repositories do not show up on Software Sources to enable them to be edited. I think the last 2 are missing the ‘deb’ and deb-src or may be shouldn’t even be there. What can I do?

Yeah those lines are missing the deb in front and the deb-src.
We ship the ubuntu-wine ppa enabled by default. I am not sure why it is added this way in your repositories list.
See the original files here:

Cheers Leszek!
How do I either delete or edit the two lines from the list because I tried to do it through the etc/apt/… but I couldn’t save the changes as it said I did not have permission AND I can’t access it through Muon/Synaptics?? AND I can’t save any new version of thee source list in that file either for the same reason?

You’ll need to elevate your permissions to administrator with sudo:
kdesudo kate /etc/apt/sources.list

Thanks AJ.
A new trick! After much messing about I am nearly back in play, but now after doing the update, I think I am pointing to the wrong mirror as I get this error message:

W: Failed to fetch Unable to find expected entry ‘main /binary-amd64/Packages’ in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch 404 Not Found

W: Failed to fetch 404 Not Found

W: Failed to fetch 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

Do I need to change it to:
deb frontier-14 main #id:netrunner_main ??
If so where do I need to copy this to?

In the same file. on those lines you need to change frontier-14 to read trusty like this:

I think this would be right:
if not then you may be correct.

Did you mean for me to put these 3 lines in the source.list? That’s what I did and now it doesn’t like line 4:

Here this issue was solved in this thread:

Okay AJ, I tried to follow what you said to Oculto in: but I will try this other one tomorrow. I am beat now. Thanks for your help so far. As this issue keeps cropping up, is it something that can be fixed/ updated by the dev team?
I really appreciate what you guys do. Just may be this ‘Windows convert’ can make Netrunner feel like home…

Well, I have followed this as best I can but I am now getting the error message:

E: Malformed line 5 in source list /etc/apt/sources.list.d/official-package-repositories.list (dist)
E: The list of sources could not be read.

and the official-package-list looks like this:
deb frontier-14 main #id:netrunner_main
deb trusty main
deb trusty main

deb trusty main restricted universe multiverse
deb trusty-updates main restricted universe multiverse

deb trusty-security main restricted universe multiverse
deb trusty partner

What else should I do? Thanks

line 5 and 6 need to be pointed here:

Cheers, but this doesn’t make any difference, I still get the same error. Anything else?