From owner-freebsd-arm@freebsd.org Sat Jul 21 14:10:42 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD11D104CCFB for ; Sat, 21 Jul 2018 14:10:42 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 343B28B66A for ; Sat, 21 Jul 2018 14:10:42 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.15.2/8.15.2) with ESMTPS id w6LE9Jdp038921 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 21 Jul 2018 07:09:19 -0700 (PDT) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.15.2/8.15.2/Submit) id w6LE9J02038920; Sat, 21 Jul 2018 07:09:19 -0700 (PDT) (envelope-from warlock) Date: Sat, 21 Jul 2018 07:09:19 -0700 From: John Kennedy To: Nicola Mingotti Cc: Ronald Klop , freebsd-arm@freebsd.org Subject: Re: Issues with packages Message-ID: <20180721140919.GA75644@phouka1.phouka.net> References: <43092f74-f303-35cc-765a-3634f1a90127@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 14:10:42 -0000 On Sat, Jul 21, 2018 at 03:33:59PM +0200, Nicola Mingotti wrote: > ... I have a few newbye question, > -] How do I check from which reposotory/directory my *pkg* is taking the > packages ? > -] Is it possible to change it ? > > I read around in many man pages but i can't find it. The pkg(8) man page would lead you to pkg.conf(5) which points you to to /usr/local/etc/pkg.conf and talks about the defaults of REPOS_DIR, which in turn points you look at the contents of /etc/pkg and /usr/local/etc/pkg/repos. The configuration you're looking for should be in /etc/pkg/FreeBSD.conf My RPI has this: FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes }