From owner-freebsd-ports@FreeBSD.ORG Sat Dec 7 17:48:26 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2489B76B for ; Sat, 7 Dec 2013 17:48:26 +0000 (UTC) Received: from mail941c35.carrierzone.com (mail941c35.nsolutionszone.com [209.235.152.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C2C551E87 for ; Sat, 7 Dec 2013 17:48:25 +0000 (UTC) X-POP-User: dlt.mebtel.net Received: from localhost (99-194-28-143.dyn.centurytel.net [99.194.28.143]) by mail941c35.carrierzone.com (8.13.6/8.13.1) with ESMTP id rB7HmMhS003321; Sat, 7 Dec 2013 17:48:24 GMT Date: Sat, 7 Dec 2013 12:48:22 -0500 From: Derek Tattersall To: Michael Gmelin Subject: Re: pkg error messages Message-ID: <20131207174822.GB2318@oriental.arm.org> References: <20131207014604.GA77351@oriental.arm.org> <20131207133805.2390c8cc@bsd64.grem.de> <20131207161019.GA1896@oriental.arm.org> <20131207173719.285f98c4@bsd64.grem.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131207173719.285f98c4@bsd64.grem.de> User-Agent: Mutt/1.5.22 (2013-10-16) X-CSC: 0 X-CHA: v=1.1 cv=ghczIY927Zvvzj+7CHNImheuTTvr6vTkp91Hz+3dUK8= c=1 sm=1 a=BTUk5m_ZKwEA:10 a=P2oOn6vrs4wA:10 a=GPr01A5e9VcA:10 a=kj9zAlcOel0A:10 a=IcaekXDbmfGgJsrWNwHfZw==:17 a=xwPayol1AAAA:8 a=6I5d2MoRAAAA:8 a=CjxXgO3LAAAA:8 a=pGLkceISAAAA:8 a=WJaaEYcYjdpr1x2UiXIA:9 a=CjuIK1q_8ugA:10 a=bPFmGhFUX2MA:10 a=0Ob1RWNGeVAA:10 a=rC2wZJ5BpNYA:10 a=MSl-tDqOz04A:10 a=IcaekXDbmfGgJsrWNwHfZw==:117 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A02020A.52A35F68.0074, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: dlt@mebtel.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Dec 2013 17:48:26 -0000 * Michael Gmelin [131207 12:41]: > On Sat, 7 Dec 2013 11:10:19 -0500 > Derek Tattersall wrote: > > > * Michael Gmelin [131207 08:16]: > > > On Fri, 6 Dec 2013 20:46:04 -0500 > > > Derek Tattersall wrote: > > > > > > > I have a 9STABLE server, amd64, with pkg 1.2.1. > > > > When doing a pkg search or pkg update, I get the following > > > > messages > > > > > > > > pkg: Error loading trusted certificates > > > > pkg: Unable to find catalogs > > > > > > > > How do I correct this problem? > > > > > > > > > > Can you post the output of: > > > > > > find /usr/local/etc/pkg > > > find /usr/share/keys/pkg > > > cat /usr/local/etc/pkg/repos/* > > > > > > -- > > > Michael Gmelin > > > > [dlt@lorne:2210:~]$ find /usr/local/etc/pkg > > /usr/local/etc/pkg > > /usr/local/etc/pkg/repos > > /usr/local/etc/pkg/repos/FreeBSD.conf > > /usr/local/etc/pkg/repos/FreeBSD.conf.orig > > [dlt@lorne:2211:~]$ find /usr/share/keys/pkg > > gfind: '/usr/share/keys/pkg': No such file or directory > > [dlt@lorne:2212:~]$ cat /usr/local/etc/pkg/repos/* > > # $FreeBSD: head/etc/pkg/FreeBSD.conf 258227 2013-11-16 15:54:46Z > > bapt $ FreeBSD: { > > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > > mirror_type: "srv", > > signature_type: "fingerprints", > > fingerprints: /usr/share/keys/pkg, > > enabled: true > > } > > FreeBSD: { > > url: "pkg+http://pkg.us-east.FreeBSD.org/${ABI}/latest", > > mirror_type: "srv", > > enabled: "yes" > > } > > Thanks for looking into this. There certainly seems to be some > > missing stuff. > > > Hi Derek, > > you're missing the keys in /usr/share/keys/pkg, those have been added > to FreeBSD fairly recently. You have two options, either download the > keys manually and install them on your syste,, e.g. from > http://svnweb.FreeBSD.org/base/head/share/keys/pkg > or alternatively comment on the lines starting with "signature_type" and > "fingerprints" in usr/local/etc/pkg/repos/FreeBSD.conf (in which case > pkg won't check the digital signature of packages when fetching them > from pkgsite). > > > > -- > Michael Gmelin Thanks for all your help. Between you and Brian Drewry, I was able to properly configure pkg. Thanks again to you both. -- Best regards, Derek Tattersall dlt@mebtel.net dlt666@yahoo.com dtatters@gmail.com