From owner-freebsd-arm@freebsd.org Sat Jul 21 15:14:44 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 A4CDD104E2B7 for ; Sat, 21 Jul 2018 15:14:44 +0000 (UTC) (envelope-from nmingotti@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 0CBEC8D2DD for ; Sat, 21 Jul 2018 15:14:44 +0000 (UTC) (envelope-from nmingotti@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id t13-v6so4397479wrv.12 for ; Sat, 21 Jul 2018 08:14:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=wz9JjVScV/Y8dkZln+9MowY8Shi7WvwEW78hPLt1lzo=; b=C/6ycZ+TiWUoQCNERy5UNBxbB1P+5rvOJrwhrxGkVhFpzKPP1cT2a/yqPuGxCUmsk4 8zZ5YsirDr7UBm37dWaXi/yyjAuV5vOSgt/m4ohxKyNSZPcQs+5xB9RTiEY7kaySG+hG +Jy8IOYnnxFzF2M3OThhNAi0ov1UyLLxbnT9V7wQmfniEU+0MlioVWBuu92tBNTBVEu/ CvR06/FbHauTDs6hkIrhsgfbpa5LMytjttZOdotKQ4ub2dJC5gvlNXj3uPLLsv7E4V9p PwU2Mn3bAioAY8zu922wBIXUdoJaGsyyuQ8OqOAukX9v4HfHGh4rnmaGKtLle5MDT6tC FutQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=wz9JjVScV/Y8dkZln+9MowY8Shi7WvwEW78hPLt1lzo=; b=VtUZAy8VpeozVIEs5l5AD0ciqwEnQiS8FSckYH9Cen7OkTiXYoXY7fYJA/tXMTFRmX AVBTYpDNliUu7sFJD3UsNWXAdACEnt1KBtPsbHuOBCaaueVVaQDgibFizxdoQzYzxvQu Mqk7IboGcx/xxyUUlrX7/I3O2CTwZOrVJIcZfB2aPOM8//tnyHdo51KPzs/+WrXOcW1D cj1Dpvl+0aFDzp5tLwfXF3RBrESG6/EeDVusGbrPnp4PZ6tRZGNL2Z346e9YPua8HcJ/ mG496lHeulBjB1YRZsrnSiUsRnLmtEEtKP5t4VfFY5BLQ0WCKE64bJ3e5Fc55skHEcDR Pajg== X-Gm-Message-State: AOUpUlGt3lXpkXrTuT4j+ccC3rVTsV6e1wVpV6JfEngvt6XVReYh7gfN 6QTQVTgdBcAkvt0v+6SpFlOJwSPY X-Google-Smtp-Source: AAOMgpfneu0z97hQ+ODdolsbSROGWBYdRmn8y5U1pafhIwZ/rpAUkTxLRv5wu2hZvsuQa1ridQ9DHQ== X-Received: by 2002:adf:959a:: with SMTP id p26-v6mr4088844wrp.202.1532186081895; Sat, 21 Jul 2018 08:14:41 -0700 (PDT) Received: from [172.16.0.150] (net-188-219-105-237.cust.vodafonedsl.it. [188.219.105.237]) by smtp.gmail.com with ESMTPSA id v188-v6sm3332658wme.43.2018.07.21.08.14.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Jul 2018 08:14:40 -0700 (PDT) Subject: Re: Issues with packages To: John Kennedy Cc: Ronald Klop , freebsd-arm@freebsd.org References: <43092f74-f303-35cc-765a-3634f1a90127@gmail.com> <20180721140919.GA75644@phouka1.phouka.net> From: Nicola Mingotti Message-ID: <08d1e35b-fafe-7c6f-a57e-e01cc39bd7a0@gmail.com> Date: Sat, 21 Jul 2018 17:14:39 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180721140919.GA75644@phouka1.phouka.net> Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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 15:14:44 -0000 On 07/21/18 16:09, John Kennedy wrote: > 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 > } Thank you John, I arrived at pkg.conf but I was not patient enough to land to /etc/pkg/FreeBSD.conf ;) anyhow, my FreeBSD.conf has this: FreeBSD: {   url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",   mirror_type: "srv",   signature_type: "fingerprints",   fingerprints: "/usr/share/keys/pkg",   enabled: yes } So the mistery of the missing but compilable packages is solved for me. I was picking packages from "quarterly" but compiling ports from a recently got ports tree, wich corresponds more closely to the "latest" package directory. I will look into "latest" before compiling the stuff myself next time. Bye Nicola -- -------------------------- Dr. Nicola Mingotti R&D - Borghi Srl CTO - BondInsider --------------------------