I was trying to add a repository in synaptic package manager and I end up with an error. This is what it shows when I open synaptic package manager.
E: Malformed line 1 in source list /etc/apt/sources.list (type)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.
W: Ignoring file 'Macaulay2.list.save.3' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
W: Ignoring file 'Macaulay2.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
W: Ignoring file 'Macaulay2.list.save.4' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
W: Ignoring file 'Macaulay2.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Actually, I was trying to install a software called Macaulay 2 following online instruction.
ls /etc/apt/sources.list.d/
– Ghasem Pahlavan May 14 '17 at 07:42