From owner-freebsd-questions@freebsd.org Sat Sep 2 14:10:54 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 B3D7AE1501F for ; Sat, 2 Sep 2017 14:10:54 +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 57D6163532 for ; Sat, 2 Sep 2017 14:10:54 +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 CA340509B6; Sat, 2 Sep 2017 10:10:51 -0400 (EDT) From: Rafal Lukawiecki Message-Id: Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Why pkg offers different versions of packages on two machines? Date: Sat, 2 Sep 2017 15:10:50 +0100 In-Reply-To: Cc: Ralf Mardorf via freebsd-questions To: Ben Woods References: <73266CFC-4040-4A48-8FAB-974439F7A690@rafal.net> X-Mailer: Apple Mail (2.3273) 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: Sat, 02 Sep 2017 14:10:54 -0000 > On 2 Sep 2017, at 00:35, Ben Woods wrote: > > Hi Rafal, > > I agree the FreeBSD.conf file you have shown here looks like it is pullin= g from quarterly. > > This is not the normal FreeBSD.conf file for FreeBSD 11-STABLE, which you= can see here: https://svnweb.freebsd.org/base/stable/11/etc/pkg/FreeBSD.con= f?revision=3D302408&view=3Dmarkup > > Perhaps check 2 things: > 1. Double check you have posted the /etc/pkg/FreeBSD.conf file from the 1= 1-STABLE machine, and that you don't have any temporary mount points overwri= ting it. > 2. Can you post the contents of all files in /etc/pkg/ and in /usr/local/= etc/pkg/repos/ > > Regards, > Ben Dear Ben, Here is the data that you have asked for, plus a couple of extras. This is = running in a jail on a FreeNAS device. There are no mounts over this part of= the file hierarchy. Having said that, your line of thought brought somethin= g up that I was clearly not aware of, and I think this solves the issue. The= re are two FreeBSD.conf files, one in /etc/pkg, where I was originally looki= ng, and another one in /usr/local/etc/pkg/repos/. That second one refers to = /latest. I did not realise there were two configs=E2=80=A6 Thank you for hel= ping me resolve the issue, very much, indeed. Outputs: $ name -a FreeBSD xyz 11.0-STABLE FreeBSD 11.0-STABLE #0 r313908+d7d07647f69(freenas/= 11.0-stable): Thu Jul 20 19:01:05 UTC 2017 root@gauntlet:/freenas-11-rel= eng/freenas/_BE/objs/freenas-11-releng/freenas/_BE/os/sys/FreeNAS.amd64 amd= 64 $ ls -a /etc/pkg/ . .. FreeBSD.conf $ cat /etc/pkg/FreeBSD.conf # $FreeBSD: releng/11.0/etc/pkg/FreeBSD.conf 303975 2016-08-11 23:39:23Z gj= b $ # # To disable this repository, instead of modifying or removing this file, # create a /usr/local/etc/pkg/repos/FreeBSD.conf file: # # mkdir -p /usr/local/etc/pkg/repos # echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf= # FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } $ ls -a /usr/local/etc/pkg/repos/ . .. FreeBSD.conf $ cat /usr/local/etc/pkg/repos/FreeBSD.conf FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/freebsd:11:x86:64/latest", mirror_type: "srv", enabled: yes } Many thanks, Rafal -- Rafal Lukawiecki Data Scientist Project Botticelli Ltd