1. Home
  2. Docs
  3. 笔记Linux
  4. Q&A

Q&A

错误: The list of sources could not be read.

  • Ubuntu 20.04.5 LTS
  • 2022年11月22日17:17:03

解决思路: 根据错误提示定位位置,然后删除对应的语句

# 错误提示内容 错误出现在58行,将58到末尾的删除保存重新执行即可
$ sudo add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
E: Malformed entry 58 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.

Articles

Was this article helpful to you? Yes No

How can we help?