数码资讯
Ubuntu18.04-The list of sources could not be read-fix it
选购提示
关注价格、性能、续航、售后和真实使用场景,理性比较后再下单。
1.遇上了The list of sources could not be read
N: Ignoring file ‘google-chrome.list.6‘ in directory ‘/etc/apt/sources.list.d/‘ as it has an invalid filename extension N: Ignoring file ‘google-chrome.list.3‘ in directory ‘/etc/apt/sources.list.d/‘ as it has an invalid filename extension N: Ignoring file ‘google-chrome.list.10‘ in directory ‘/etc/apt/sources.list.d/‘ as it has an invalid filename extension N: Ignoring file ‘google-chrome.list.7‘ in directory ‘/etc/apt/sources.list.d/‘ as it has an invalid filename extension N: Ignoring file ‘google-chrome.list.8‘ in directory ‘/etc/apt/sources.list.d/‘ as it has an invalid filename extension N: Ignoring file ‘google-chrome.list.5‘ in directory ‘/etc/apt/sources.list.d/‘ as it has an invalid filename extension N: Ignoring file ‘google-chrome.list.1‘ in directory ‘/etc/apt/sources.list.d/‘ as it has an invalid filename extension N: Ignoring file ‘google-chrome.list.4‘ in directory ‘/etc/apt/sources.list.d/‘ as it has an invalid filename extension N: Ignoring file ‘google-chrome.list.2‘ in directory ‘/etc/apt/sources.list.d/‘ as it has an invalid filename extension N: Ignoring file ‘google-chrome.list.9‘ in directory ‘/etc/apt/sources.list.d/‘ as it has an invalid filename extension E: Malformed line 1 in source list /etc/apt/sources.list.d/google-chromw.list (type) E: The list of sources could not be read.
2.解决方法-删除指定文件
sudo rm /etc/apt/sources.list.d/google-chrome.list.*
注意:注意目录名和文件名
声明:本文内容用于数码产品信息整理与选购参考,具体价格、库存、售后政策以官方渠道和电商页面实时信息为准。