$ 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.
2 Answers
Try this way :
- Alt + F2
- enter
software-properties-gtk
here - in Software & Updates go to Other Software tab
- find
dl.winehq.org
here - uncheck mark near
https://dl.winehq.org/wine-builds/ubuntu xenial main (Source Code)
(or similar). - Then reload package lists.
Could you post your sources.list? Post the output of
sudo cat /etc/apt/sources.list
How have you added the WineHQ Source?
Have you tried following this: https://wiki.winehq.org/Ubuntu ?