From owner-freebsd-questions@freebsd.org Thu Aug 31 23:49:23 2017 Return-Path: Delivered-To: freebsd-questions@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 5B581E0B9CE for ; Thu, 31 Aug 2017 23:49:23 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-ua0-x236.google.com (mail-ua0-x236.google.com [IPv6:2607:f8b0:400c:c08::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1210E6D0EA for ; Thu, 31 Aug 2017 23:49:23 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-ua0-x236.google.com with SMTP id g16so1780984uah.3 for ; Thu, 31 Aug 2017 16:49:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=aIWIJND8aPxp8fInh7JIl6Mzr5UdIGjJC/RbQcQJRcA=; b=piAIWOO3ZzaG8hKy8EK/h2RdtLc/tOgQ7vLyQmXJWHdbvxec5PsK93DDt57cWDt1ZS PhCQMwR/h7JR20MvYmkl/fxRPYSGmU8MC1aN5vvbQ1nXuha1eDTnO70HncVZGZEnxqAd DvfPqTis2PmN8cFkaCCqPCUCggiIXB4Rdju3fhvqWC124F8/u7qamw5zNPIWIu+bGpty jI2h0zcIatJqfCU65hantbXQGEy8Z7gr4claF1EEQTu88u1BussHU6Ymi61kmnI+TCgP comLylgONbAGU66oj3K1OGmtaaOgNYb1VB13XF9raoOa8FP8QPO1x1RXD/8PFYjyLFZO QTJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=aIWIJND8aPxp8fInh7JIl6Mzr5UdIGjJC/RbQcQJRcA=; b=bH7cpIbnwUMD4Jg/JMc7Mf3/c5RbbJHxkjSYlNKGLmKTOdkqqqBb448e8mB+fbgE4X HPjtu/S/Lb4IFCMo8m7X7qqTaKRsHkx0TBi8dRLmW6+IzIQzQeilkQRqh/6YSvL2Qllf x7TnCGUJUT5ZwyFhqeCBCco7MoUBIvNEcWfwBDjAJg4JN0JL2T1E6y+OkR4rhrwPPwlD 8KjiM76CH++b/eVpFlKVNUR2ypqY4qJd7aXh/Fh+Kv0G/ZoZokXnTCLmf7w1xW7Vzb7U tAad9qw414MuxUbNwWTB/kTFj4hHE97tmVojEFAwYcQQV6AaZ8aHMEgEWIXoM5kRPnB8 jU9w== X-Gm-Message-State: AHPjjUi19AE5OgVNq3ZWE8GR300cMJztSxCdT71QJM1p1jlhELuOCYE3 frDkod+zBMU2DVSoGpPnFQcIDo9NQCCe X-Google-Smtp-Source: ADKCNb50e1+hCKVfPBr+HoEyKHNtUD+sdc0Ic/IS62A1ZQH8apb/Q23UOSH/YXeR1/adAKw1e+YI+tZY+EwkqxXTFp8= X-Received: by 10.176.2.18 with SMTP id 18mr118199uas.16.1504223362100; Thu, 31 Aug 2017 16:49:22 -0700 (PDT) MIME-Version: 1.0 References: <73266CFC-4040-4A48-8FAB-974439F7A690@rafal.net> In-Reply-To: From: Ben Woods Date: Thu, 31 Aug 2017 23:49:11 +0000 Message-ID: Subject: Re: Why pkg offers different versions of packages on two machines? To: Rafal Lukawiecki , Ralf Mardorf via freebsd-questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2017 23:49:23 -0000 On Fri, 1 Sep 2017 at 12:57 am, Rafal Lukawiecki 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