Could not resolve dl.wine.org

Questions about Wine on Linux
Locked
marcerickson
Newbie
Newbie
Posts: 2
Joined: Wed Apr 08, 2020 11:56 pm

Could not resolve dl.wine.org

Post by marcerickson »

I installed WINE 5.0 on my Ubuntu Server 18.04 with xubuntu-core (xcfe) GUI installed using the instructions here:
https://itsfoss.com/wine-5-release/
All seemed to go well. But now I can't update WINE:

Code: Select all

marc@PET310S:~$ sudo apt update
Hit:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                
Err:2 https://dl.wine.org/wine-builds/ubuntu bionic InRelease                  
  Could not resolve 'dl.wine.org'
Hit:3 http://ca.archive.ubuntu.com/ubuntu bionic InRelease                     
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:5 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Hit:6 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease           
Hit:7 http://linux.teamviewer.com/deb stable InRelease                         
Hit:8 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu bionic InRelease
Hit:9 http://ppa.launchpad.net/jtaylor/keepass/ubuntu bionic InRelease        
Hit:10 http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu bionic InRelease
Reading package lists... Done 
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Failed to fetch https://dl.wine.org/wine-builds/ubuntu/dists/bionic/InRelease  Could not resolve 'dl.wine.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
I have installed apt-transport-https using the instructions here: https://zoomadmin.com/HowToInstall/Ubun ... port-https. (I only did steps 1 and 2 <wink>.) I then rebooted my server, but it still gives the same error.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Could not resolve dl.wine.org

Post by spoon0042 »

It's dl.winehq.org which appears to already be there; edit your sources.list and remove the incorrect line (the one with dl.wine.org).
marcerickson
Newbie
Newbie
Posts: 2
Joined: Wed Apr 08, 2020 11:56 pm

Re: Could not resolve dl.wine.org

Post by marcerickson »

The line:

Code: Select all

https://dl.wine.org/wine-builds/ubuntu bionic InRelease
was entered twice in sources.list. I commented out one instance and now all is well.

Thank you very much!
Locked