无法更新 Ubuntu 18.04 LTS

无法更新 Ubuntu 18.04 LTS
E: malformed line 52 in «list» /etc/apt/sources.list (Component)
E: can't read sources list.
midalof@midalof-E402SA:~$ sed -n 52p /etc/apt/sources.list 
deb dl.winehg.org/wine-builds/ubuntu/bionic main

答案1

您必须使用以下命令修复 sources.list 的第 52 行:

sudo sed -i '52s|.*|deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main|' /etc/apt/sources.list

相关内容