Date: Sat, 2 Sep 2017 15:10:50 +0100 From: Rafal Lukawiecki <raf@rafal.net> To: Ben Woods <woodsb02@gmail.com> Cc: Ralf Mardorf via freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Why pkg offers different versions of packages on two machines? Message-ID: <D979B648-668E-4DAA-963E-D8929B19386C@rafal.net> In-Reply-To: <CAOc73CCg9jrfvxeVB1SY7btUYn1g1wsB=Z5G7t1Sfgp8HcY43A@mail.gmail.com> References: <73266CFC-4040-4A48-8FAB-974439F7A690@rafal.net> <F9D692F7-8A1E-4CF0-9A37-413416341D39@rafal.net> <CAOc73CBXybHpDX82PMDqQ=FVxK=1Jf%2BqOMrTSSxOsHxLn5RF6g@mail.gmail.com> <A5287E6D-F153-4E91-AAD2-9CD3DF1869CA@rafal.net> <CAOc73CCg9jrfvxeVB1SY7btUYn1g1wsB=Z5G7t1Sfgp8HcY43A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 2 Sep 2017, at 00:35, Ben Woods <woodsb02@gmail.com> 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 <https://svnweb.freebsd.org/base/stable/11= /etc/pkg/FreeBSD.conf?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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D979B648-668E-4DAA-963E-D8929B19386C>