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.
答案1
正如错误消息所示:/etc/apt/sources.list.d是错误的。它需要有后缀。列表不是.列表1就像你的情况一样。正确重命名文件将解决此问题。