我正在尝试安装 putty,但出现以下错误
E: Malformed entry 4 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
E: Malformed entry 4 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
在浏览了这个论坛上的一些帖子后,我使用打开了该文件,sudo nano /etc/apt/sources.list.d/additional-repositories.list
内容如下
deb [arch=amd64] https://download.docker.com/linux/debian sylvia stable
deb [arch=amd64] https://download.docker.com/linux/debian sylvia stable
deb [arch=amd64] https://download.docker.com/linux/ubuntu sylvia sudo add-ap$
deb [arch=amd64] https://download.docker.com/linux/ubuntustable
deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
我在第 4 行的 ubuntu 和 stable 之间创建了一个空格。但仍然出现了 sane 错误?这是怎么回事?
PS:- 第一次使用docker时,我卸载了一些不需要的软件包。因此,我想删除所有docker文件并为linux mint全新安装。
答案1
ubuntu
您需要一个介于和之间的分布关键字stable
,例如
deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
如果你在 20.04。