WineHQ
Wine Forums

Board index » WineHQ » Wine Help » Linux




 Page 1 of 1 [ 5 posts ] 



 
Author Message
 Post subject: No Release?
 Post Posted: Wed Feb 06, 2019 4:11 pm 
Offline
Newbie
Newbie

Joined: Wed Feb 06, 2019 4:06 pm
Posts: 1
Just realized the repositories changed when rebuilding my docker containers. Following the instructions for an 18.04 install (bionic), I have:

Code:
RUN wget -nc --no-check-certificate https://dl.winehq.org/wine-builds/winehq.key
RUN apt-key add winehq.key
RUN apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'


Which results in:

Code:
Step 6/9 : RUN apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
 ---> Running in 67d0e581ee27
Ign:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
Err:2 https://dl.winehq.org/wine-builds/ubuntu bionic Release
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 151.101.66.217 443]
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [146 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [337 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [3451 B]
Get:9 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [927 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [675 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [6955 B]
Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [3666 B]
Reading package lists...
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic Release' does not have a Release file.
The command '/bin/sh -c apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'' returned a non-zero code: 100


Am I forgetting something obvious here?

Thanks!


Top 
 Post subject: Re: No Release?
 Post Posted: Wed Feb 06, 2019 6:01 pm 
Offline
Level 4
Level 4

Joined: Thu Dec 24, 2009 11:00 am
Posts: 169
If winehq.key already exists wget -nc does not overwrite it, leaving the old key, which is what I'm assuming happened given you have "Certificate verification failed". Maybe the wiki should mention this, I don't know.

Your last line there about exit code 100 may or may not be anything, first try making sure the key has been updated.


Top 
 Post subject: Re: No Release?
 Post Posted: Wed Feb 06, 2019 6:08 pm 
Offline
Level 12
Level 12
User avatar

Joined: Sat Oct 16, 2010 7:40 pm
Posts: 2653
Location: Cambridge
spoon0042 wrote:
If winehq.key already exists wget -nc does not overwrite it, leaving the old key, which is what I'm assuming happened given you have "Certificate verification failed". Maybe the wiki should mention this, I don't know.
...


No clobber shouldn't be used for such a small file, that is subject to the occasional update.
Also a sensible path should be set first... So the download directory is writeable (by the user executing the command).

Bob


Top 
 Post subject: Re: No Release?
 Post Posted: Wed Feb 06, 2019 6:17 pm 
Offline
Level 4
Level 4

Joined: Thu Dec 24, 2009 11:00 am
Posts: 169
Looking at the wget manpage it would seem -N is what is wanted instead. Pretty sure anyway.


Top 
 Post subject: Re: No Release?
 Post Posted: Wed Feb 06, 2019 10:25 pm 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 12601
The winehq.key has not changed since the switch from release.key and if you already had it installed you should not have to reinstall it.

Googling the non-zero code error message turned up https://stackoverflow.com/questions/380 ... o-code-100.


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 5 posts ] 




Board index » WineHQ » Wine Help » Linux


Who is online

Users browsing this forum: No registered users and 12 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: