E: Malformed line 1 in source list /etc/apt/sources.list (type)
N: Ignoring file 'microsoft-edge-stable.list1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Malformed entry 1 in list file /etc/apt/sources.list.d/microsoft-edge-stable.list ([option] not assignment)
E: The list of sources could not be read.
E: Malformed line 1 in source list /etc/apt/sources.list (type)
N: Ignoring file 'microsoft-edge-stable.list1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Malformed entry 1 in list file /etc/apt/sources.list.d/microsoft-edge-stable.list ([option] not assignment)
E: The list of sources could not be read.
please help me, what this mean? this happend when i want to install microsoft egde in linux terminal
Asked
Active
Viewed 64 times
0

noisefloor
- 1,086
1 Answers
1
As the error message says: the filename of the additional file under /etc/apt/sources.list.d is wrong. It needs to have the suffix .list not .list1 like in your case. Renaming the file correctly will resolve this problem.

noisefloor
- 1,086
-
This addresses the informational message (
N:
) but not the actual errors (E:
) – steeldriver Nov 17 '23 at 12:29
/etc/apt/sources.list.d/microsoft-edge-stable.list
. Also clean up the other mistake you made with/etc/apt/sources.list.d/microsoft-edge-stable.list1
. Pro Tip: When you make a mistake, clean it up before proceeding. – user535733 Nov 17 '23 at 13:17