This question already has an answer here:

$ 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.

marked as duplicate by Eric Carvalho, dessert, Charles Green, David Foerster, karel Dec 10 '17 at 1:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Try this way :

  1. Alt + F2
  2. enter software-properties-gtk here
  3. in Software & Updates go to Other Software tab
  4. find dl.winehq.org here
  5. uncheck mark near https://dl.winehq.org/wine-builds/ubuntu xenial main (Source Code) (or similar).
  6. 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 ?

Not the answer you're looking for? Browse other questions tagged or ask your own question.