From owner-freebsd-ports@FreeBSD.ORG Fri Oct 10 18:32:20 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7701E5E4 for ; Fri, 10 Oct 2014 18:32:20 +0000 (UTC) Received: from nm15-vm2.access.bullet.mail.gq1.yahoo.com (nm15-vm2.access.bullet.mail.gq1.yahoo.com [216.39.63.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 89690FC4 for ; Fri, 10 Oct 2014 18:32:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1412965796; bh=oBJtBWpRGKY8/O9iFPuxxUabq7d0XlVWBH6EwCFke3s=; h=Received:Received:Received:DKIM-Signature:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:From:To:Subject:Date:Message-ID:References:In-Reply-To:X-Mailer:MIME-Version:Content-Type:Content-Transfer-Encoding:From:Subject; b=zas0y/eJWiFcgyqV5nhHCpGcOCPzaaXZUS0Hu6wH5xyA4pVySjwnQ3e6bzqU1ZwNmm1YAMivtH7xtafzesMn7FKS5msLC3Zg2jXyi12gvwAW7smLgMTKPqPX8o+9ZD2iE/xd1zH4DjbWSbAbqwYFh+dIg8dBVi6USAAsmzfdgzA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=att.net; b=NECem7nOarmaIUzzeHCD6KerYv1s92HND+pSMA53b2qiDz0cmiZ9iP1M0r9jotzPzYhHlozAfZKg+G2x2Pp0tU5agy50lDwz2bKXCztZyFdL+gt6hNBvtnYdQ2GWmtgRCV44ktOprYPbPpeY5fvaQ7z01HvH5mcZiNSxKHfQAyg=; Received: from [216.39.60.173] by nm15.access.bullet.mail.gq1.yahoo.com with NNFMP; 10 Oct 2014 18:29:56 -0000 Received: from [67.195.23.144] by tm9.access.bullet.mail.gq1.yahoo.com with NNFMP; 10 Oct 2014 18:29:56 -0000 Received: from [127.0.0.1] by smtp116.sbc.mail.gq1.yahoo.com with NNFMP; 10 Oct 2014 18:29:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1412965796; bh=oBJtBWpRGKY8/O9iFPuxxUabq7d0XlVWBH6EwCFke3s=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:From:To:Subject:Date:Message-ID:References:In-Reply-To:X-Mailer:MIME-Version:Content-Type:Content-Transfer-Encoding; b=J0LLYAyK6Zvscrj4HRgMUTj4dEey/xyxO4rwomIia1pvLyXlXY+JWZD0pY7eROX2NriNyBOTlpfjznHpy/RIcCp5fuCZ+dkk9Qg54OwD11uIBn8FMxffNF8S1DcCM7ybpxQ6EQ5erj0Eex1F/BDfTF2BZ30CQdETMfTNqYIj0pU= X-Yahoo-Newman-Id: 143609.19323.bm@smtp116.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: zA3tZUcVM1knr1GBAifAcWRxIP3hbZAzMtTrSwwdQgDKaH6 4InA30DqyOmVf3TCD_dmLin1zeiz3P_c9303CpwGcaqxeTGCXOEb8H0ldwU7 SltDbphRqxJ9ykLiyL_FdGF8Ac2gtmpRplJBHoLOvnNdbLsuUqCdWeCeDDvR VS__G1Qfvj0AmLKtwDB2J5NXPSlE9u39XxybJ8gNu5hqdRRtNY_sCdy8fZnb rpZsRTHz047lhMsS9luIkwhu1rqg4Q.qH09VKJzjcDQD7kWemUvydM4k6uCh lAwxaNJwb4XnleRXZX51vSArsP8zCFJC8yaPGQ9BUM0Zg2mA1wpQ8rQSmHsr c4FN3Nb6zsRB7ehBjuaC5J1vJqKR5ijSb_tzWUOAMzP1SvkGzUws3ni.UT0N UoXaTdIRCSJDaxWW8yzZO00oYce8GUGmu1dnFUkUFCbsIYfCzdJjfbHu1zRE gmaFuNtHn4lOqyJ3Pst7MtotSWQekPFMjgU525ZOZ2ZjpBfOjlFhLV6Z3gXw B9I2LyfAtEL29ikgpe7QbSzyUq2pws6oMgASuFjL1kJk- X-Yahoo-SMTP: pPvqnOaswBBbYZLVYFzvU7GaowLcbNioPp.aF8KvOjZk From: Auld Besom To: freebsd-ports Subject: Re: PKG not quite ready for prime time Date: Fri, 10 Oct 2014 14:29:55 -0400 Message-ID: <079g3al8tmta89l8b471esttb0et8av02b@4ax.com> References: <543817AA.8080305@gmx.de> <54381F2B.7020800@gmx.de> In-Reply-To: <54381F2B.7020800@gmx.de> X-Mailer: Forte Agent 4.2/32.1118 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2014 18:32:20 -0000 On Fri, 10 Oct 2014 20:02:19 +0200, you wrote: >On 2014-10-10 19:43, scratch65535@att.net wrote: >> >> On Fri, 10 Oct 2014 19:30:18 +0200, you wrote: >> >>> On 2014-10-10 19:13, scratch65535@att.net wrote: >>>> I'm having quite a lot of trouble converting to pkg due to there >>>> being no obvious source of accurate documentation. I got this >>>> after I thought I had it solved and could install something: >>>> >>>> 11:36 Fri, 10 Oct [momcat:root]~> pkg install firefox >>>> Updating FreeBSD repository catalogue... >>>> pkg: Repository FreeBSD has a wrong packagesite, need to >>>> re-create database >>>> Fetching meta.txz: 100% 968 B 1.0k/s 00:01 >>>> pkg: Error loading trusted certificates >>>> pkg: repository FreeBSD has no meta file, using default settings >>>> Fetching digests.txz: 100% 2 MB 119.8k/s 00:17 >>>> pkg: Error loading trusted certificates >>>> pkg: Unable to update repository FreeBSD >>>> All repositories are up-to-date. >>>> pkg: Repository FreeBSD has a wrong packagesite, need to >>>> re-create database >>>> pkg: Repository FreeBSD cannot be opened. 'pkg update' required >>>> Updating database digests format: 100% >>>> pkg: No packages available to install matching 'firefox' have >>>> been found in the repositories >>>> >>>> >>>> Just for the record, could someone knowledgeable please post the >>>> real, current list of required config files and their contents OR >>>> a pointer to known-good+complete documentation? >>>> >>>> Thanks! >>> >>> Please show us the following output >>> $ pkg info pkg >> >> >> [momcat:root]~> pkg info pkg >> pkg-1.3.8_3 >> Name : pkg >> Version : 1.3.8_3 >> Installed on : Fri Oct 10 07:57:56 EDT 2014 >> Origin : ports-mgmt/pkg >> Architecture : freebsd:9:x86:64 >> Prefix : /usr/local >> Categories : ports-mgmt >> Licenses : BSD2CLAUSE >> Maintainer : portmgr@FreeBSD.org >> WWW : http://wiki.freebsd.org/pkgng >> Comment : Package manager >> Shared Libs provided: >> libpkg.so.3 >> Flat size : 8.18MiB >> Description : >> Package management tool >> >> WWW: http://wiki.freebsd.org/pkgng >> >> >>> >>> and from next command everything from "Repositories:" to the end (last ~10 lines) >>> $ pkg -vv >> >> >> Repositories: >> FreeBSD: { >> url : >> "pkg+http://pkg.freebsd.org/freebsd:8:x86:64/latest", >> enabled : yes, >> mirror_type : "SRV", >> signature_type : "FINGERPRINTS", >> fingerprints : "/usr/share/keys/pkg" >> } >> 13:41 Fri, 10 Oct [momcat:root]~> >> > >There is a architecture mismatch, your pkg claims to be a 9.x package and your repo wants to install 8.x packages. >I suspect this is a upgraded system that has maunualy changes in the repo file. > >Locate the file "/etc/pkg/FreeBSD.conf" and make sure it looks like the following lines (the variable ${ABI} instead "freebsd:8:x86:64") >(it is possible a correct copy exists in /usr/src/etc/pkg/FreeBSD.conf) > >FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes >} > > >after fixing the repo run >$ pkg update -f I had it as ${ABI} to begin with, but had no luck that way either (see below). Then I changed it, unaware that that first 8 was the version, or even that there are o/s version-dependent versions of pkg. 14:25 Fri, 10 Oct [momcat:root]/etc/pkg> cat FreeBSD.conf FreeBSD: { url: "pkg+http://pkg.freebsd.org/${ABI}/latest", enabled: true, signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", mirror_type: "srv" } 14:25 Fri, 10 Oct [momcat:root]/etc/pkg> pkg update -f Updating FreeBSD repository catalogue... pkg: Repository FreeBSD has a wrong packagesite, need to re-create database Fetching meta.txz: 100% 968 B 1.0k/s 00:01 pkg: Error loading trusted certificates pkg: repository FreeBSD has no meta file, using default settings Fetching digests.txz: 100% 2 MB 119.8k/s 00:17 pkg: Error loading trusted certificates pkg: Unable to update repository FreeBSD 14:25 Fri, 10 Oct [momcat:root]/etc/pkg>