>> -------- Original Message --------
>> Subject: FTP during install not working
>> Local Time: July 7, 2017 10:16 AM
>> UTC Time: July 7, 2017 5:16 PM
>> From: inq...@protonmail.com
>> To: misc@openbsd.org <misc@openbsd.org>
>> I'm trying to install OpenBSD 6.1. Selecting the sets location always 
>> initially fails with the following:
>> Location of sets? (disk http or 'done') [http]
>> HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
>> (Unable to get list from ftp.openbsd.org, but that is OK)
>> HTTP Server? (hostname or 'done') ftp.usa.openbsd.org
>> Server directory? [pub/OpenBSD/6.1/amd64]
>> Unable to connect using https. Use http instead? [no] yes
>> It always works fine but only when I manually input the "HTTP Server", and 
>> only when using HTTP--HTTPS never works for any mirror, even though I can 
>> browse to the given mirror via HTTPS.
>> I also dropped to the command line during installation and was unable to 
>> connect to ftp.openbsd.org as well, but the alternate above worked fine (as 
>> do other mirrors).
>> Last time I did a full install was several months ago and the behavior was 
>> what I'd expect--the installer downloads the list and provides the 
>> appropriate options for mirror selection.
>> Please advise.

Is the clock on this system correct? OpenBSD 6.1+'s installer uses https
(at least for architectures which can fit it on the install media) but
doesn't handle the case where you have an incorrect clock very well
(normally the installer tries to fetch the mirror list over https, which
fails due to invalid OCSP pinning if the clock is more than a couple of
days out, so you have to type the mirror's address manually from the
list on ftp.html and have to use HTTP rather than HTTPS to fetch the
sets).

On 2017-07-07, Thomas Smith <inq...@protonmail.com> wrote:
> To add one more thing to this... After the install is completes, I get the 
> following error trying to install a package (any package):
> $ doas pkg_add zsh
> http://ftp.usa.openbsd.org/pub/OpenBSD/6.1/6.1/packages/amd64/: no such dir
> Can't find zsh
> $ cat /etc/installurl
> http://ftp.usa.openbsd.org/pub/OpenBSD/6.1
> I edit installurl and remove "6.1" and it works fine.

There was an installer bug in 6.1 resulting in the wrong path getting
written to installurl if you entered the mirror URL manually (this has
since been fixed). What you did (i.e. editing the file to remove 6.1)
is the the correct workaround.


Reply via email to