$ sudo apt-get update
Hit:1 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease
Hit:4 http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu xenial InRelease
Hit:5 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Reading package lists... Done
E : Failed to fetch https://dl.winehq.org/wine-builds/ubuntu/dists/xenial/InRelease
Unable to find expected entry 'main/source/Sources' in Release file
(Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
答案1
尝试以下方法:
- Alt+F2
software-properties-gtk
在这里输入- 在软件与更新去其他软件标签
- 查找
dl.winehq.org
这里 - 取消选中附近的标记
https://dl.winehq.org/wine-builds/ubuntu xenial main (Source Code)
(或类似标记)。 - 然后重新加载包列表。
答案2
你能发布你的 sources.list 吗?发布输出
sudo cat /etc/apt/sources.list
您是如何添加 WineHQ 源的?
您是否尝试过按照以下方法操作:https://wiki.winehq.org/Ubuntu?