From owner-freebsd-cloud@freebsd.org Thu Aug 31 16:47:57 2017 Return-Path: Delivered-To: freebsd-cloud@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7C7EE01C8F for ; Thu, 31 Aug 2017 16:47:57 +0000 (UTC) (envelope-from raf@rafal.net) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 84E8E83E9B for ; Thu, 31 Aug 2017 16:47:57 +0000 (UTC) (envelope-from raf@rafal.net) Received: from edina.glencottage.net (unknown [86.40.118.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 76A42509B8 for ; Thu, 31 Aug 2017 12:47:55 -0400 (EDT) From: Rafal Lukawiecki Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Why pkg offers different versions of packages on two machines? Message-Id: <73266CFC-4040-4A48-8FAB-974439F7A690@rafal.net> Date: Thu, 31 Aug 2017 17:47:53 +0100 To: freebsd-cloud@freebsd.org X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 16:47:57 -0000 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 itself 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. = When 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=20 Project Botticelli Ltd