无法在 Release 文件中找到预期条目“main/source/Sources”

无法在 Release 文件中找到预期条目“main/source/Sources”
$ 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

尝试以下方法:

  1. Alt+F2
  2. software-properties-gtk在这里输入
  3. 软件与更新其他软件标签
  4. 查找dl.winehq.org这里
  5. 取消选中附近的标记https://dl.winehq.org/wine-builds/ubuntu xenial main (Source Code)(或类似标记)。
  6. 然后重新加载包列表。

答案2

你能发布你的 sources.list 吗?发布输出

sudo cat /etc/apt/sources.list

您是如何添加 WineHQ 源的?

您是否尝试过按照以下方法操作:https://wiki.winehq.org/Ubuntu

相关内容