On 2017/05/15 21:23, Ajitabh Pandey wrote:
> Stuart,
> 
> On Thu, May 11, 2017 at 9:36 PM, Stuart Henderson <[email protected]>
> wrote:
> 
>     On 2017-05-11, Ajitabh Pandey <[email protected]> wrote:
>     > I got a similar message when I try to install python, but upong
>     > investigating I realise that python was already installed -
>     perhaps as a
>     > pre-requisite for glib2. I am not using PKG_PATH, rather I use
>     > /etc/installurl for specifying a list of my mirrors (man
>     installurl(5) for
>     > details)
> 
>     /etc/installurl is for specifying a *single* mirror, not a list. As
>     the
>     manual says, "The /etc/installurl file contains a single line
>     specifying
>     an OpenBSD mirror..."
> 
> 
> Thanks for pointing that out. Although I am not sure if having multiple
> mirrors in that file will cause an issue or the utilities using the
> installurl will ignore all lines  but the first one. I have now
> commented all the  other mirrors in my /etc/installurl file.

What actually happens at present is that it uses the first line for
pkg_add, the last line for syspatch. But it's unspecified so don't rely
on that :)

btw, generally ftp.openbsd.org is not the best choice - for almost
all users one of the other mirrors will work better.

>     > $ doas pkg_add python-2.7.13p0
>     > quirks-2.304 signed on 2017-04-02T15:01:33Z
>     > https://ftp.openbsd.org/pub/OpenBSD/6.1/packages-stable/amd64/
>     python-2.7.13p0.tgz:
>     > ftp: Error retrieving file: 404 Not Found
>     > signify: gzheader truncated
> 
>     Error text could be improved, but this error is occurring because
>     you
>     have specified a full package name including version, and that
>     doesn't
>     exist (in 6.1, it's 2.7.13p1).
> 
> 
> Interesting, so when  I do the following on my box, I do not  see the
> 2.7.13p1  there. See below -

Hmm - I think I must have been looking at /snapshots/ instead of 6.1,
though I was sure I wasn't...

> Yep, I did that exactly. When I was choosing from the list then I was
> just getting the prompt back.

That suggests that the package was already installed..

Reply via email to