A bug adding repository

Post issues, bugs, and feature requests about the various WineHQ websites to this forum.
Locked
sxbkdljb
Newbie
Newbie
Posts: 1
Joined: Sun Sep 09, 2018 7:59 pm

A bug adding repository

Post by sxbkdljb »

Just found a small mistake when I'm adding repository for winehq on Ubuntu. Don't know if it might cause any problems or not. But I've decided to post it up here.

https://wiki.winehq.org/Ubuntu

When you use

Code: Select all

sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
Ubuntu show you:

Code: Select all

Hit:1 http://dl.winehq.org/wine-builds/ubuntu xenial InRelease                 
Hit:2 http://ppa.launchpad.net/linrunner/tlp/ubuntu bionic InRelease           
Hit:3 http://repo.steampowered.com/steam precise InRelease                     
Err:4 https://di.winehq.org/wine-bulids/ubuntu bionic InRelease                
  Could not resolve 'di.winehq.org'
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:6 http://cn.archive.ubuntu.com/ubuntu bionic InRelease                     
Hit:7 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                
Hit:8 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease       
Hit:9 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done                     
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Failed to fetch https://di.winehq.org/wine-bulids/ubuntu/dists/bionic/InRelease  Could not resolve 'di.winehq.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
where error 4 says "could not resolve 'di.winehq.org'". I this is because a mistype..... Hope someone can solve this soon~
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: A bug adding repository

Post by dimesio »

Code: Select all

Err:4 https://di.winehq.org/wine-bulids/ubuntu bionic InRelease               
  Could not resolve 'di.winehq.org'
Do you have apt-transport-https installed? You need it to download from https:// URLs.
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: A bug adding repository

Post by spoon0042 »

Going by the error message there's two typos as well.
where error 4 says "could not resolve 'di.winehq.org'". I this is because a mistype..... Hope someone can solve this soon~
Should be "dl" and you've got "bulids" instead of "builds".

But you can probably just delete that line since it looks like the winehq one is working on line 7?

Presumably you can remove it with:

Code: Select all

sudo apt-add-repository -r https://di.winehq.org/wine-bulids/ubuntu/
copy & paste ;-)
Locked