当我这样做时,sudo apt update
我收到此错误:
E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
我在 Linux Mint 21 Cinnamon 上。
的内容/etc/apt/sources.list.d/additional-repositories.list
:
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic
main
我对 Linux 很陌生,我不明白这意味着什么或如何解决它。
如错误消息所示,该问题很可能是由于
apt
命令源列表中的条目格式错误造成的。似乎有一个流浪的换行符以一种不幸的方式断行,可能是由于复制和粘贴的事故。删除换行符以便读取完整的文件
...应该解决问题。