Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2017 23:49:11 +0000
From:      Ben Woods <woodsb02@gmail.com>
To:        Rafal Lukawiecki <raf@rafal.net>,  Ralf Mardorf via freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Why pkg offers different versions of packages on two machines?
Message-ID:  <CAOc73CBXybHpDX82PMDqQ=FVxK=1Jf%2BqOMrTSSxOsHxLn5RF6g@mail.gmail.com>
In-Reply-To: <F9D692F7-8A1E-4CF0-9A37-413416341D39@rafal.net>
References:  <73266CFC-4040-4A48-8FAB-974439F7A690@rafal.net> <F9D692F7-8A1E-4CF0-9A37-413416341D39@rafal.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 1 Sep 2017 at 12:57 am, Rafal Lukawiecki <raf@rafal.net> wrote:

> Apologies for another newbie question. Trying to get my head around
> package management.
>
> If I run "pkg search certbot" using the official AWS FreeBSD 11.1-RELEASE
> image it finds:
>
>         py27-certbot-0.16.0_1,1        Let's Encrypt client
>
> but if run the same search using my locally installed FreeBSD, which
> happens to be a slightly older, 11.0-STABLE, I find the newer (which also
> happens to be the current) version of that package:
>
>         py27-certbot-0.17.0,1          Let's Encrypt client
>
> In both cases pkg.conf and the repo config are the same, with all the
> settings at their unchanged by me defaults (url: "pkg+
> http://pkg.FreeBSD.org/${ABI}/quarterly=E2=80=9D). Both versions of pkg i=
tself
> are the same. As far as I can see, I am resolving to the same mirror in
> both cases, as I see the same IP (213.138.116.73) when I ping
> pkg.freebsd.org.
>
> When I manually navigate to
> http://pkg.freebsd.org/FreeBSD:11:amd64/quarterly/All/ I can see the
> older version of the package (py27-certbot-0.16.0_1,1) on the server. Whe=
n
> I navigate to the latest tree (
> http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/) I can see the newer
> package in there.
>
> Why does my locally installed pkg find the newer version if both configs
> point to the same, quarterly, repo URL?
>
> Many thanks,
> Rafal
> --
> Rafal Lukawiecki
> Data Scientist
> Project Botticelli Ltd


Hi Rafal,

FreeBSD STABLE and CURRENT branches use the "head" pkg repo by default,
whilst FreeBSD RELEASE branches use the "quarterly" pkg repo by default.

The 2017Q3 quarterly branch only has py27-certbot-0.16.0_1,1 right now,
whilst the ports head branch has py27-certbot-0.17.0,1.

So you FreeBSD-11 STABLE build must be using the head branch.

Regards,
Ben
--=20

--
From: Benjamin Woods
woodsb02@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOc73CBXybHpDX82PMDqQ=FVxK=1Jf%2BqOMrTSSxOsHxLn5RF6g>