From owner-freebsd-stable@FreeBSD.ORG Mon Mar 3 09:27:31 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA6BDD7A for ; Mon, 3 Mar 2014 09:27:31 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 720A8E54 for ; Mon, 3 Mar 2014 09:27:31 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s239RI0N021203 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 3 Mar 2014 09:27:25 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s239RI0N021203 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1393838845; bh=kuBWUUZlzbXLEVuzj9o5LIj9zNsUo/+493ilscP7B98=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Mon,=2003=20Mar=202014=2009:27:06=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-stable @freebsd.org|Subject:=20Re:=20pkg|References:=20<53144507.1060306@ xenet.de>|In-Reply-To:=20<53144507.1060306@xenet.de>; b=W4OL3KXVeP8L3c3y/vpoIi+NkFpS/QOyx68UBTTlbORRVIgiD2MPOobcOM4L1/zHP lpZda+Rg6dS3L6pX0lsFYQ3P1PnYztF7HC55cOpvRlpQrAcIqs7w7zfyTKamNmpl5c 5eUnuhT+XgiyRJ5NAtUjFJUJ0/Au/EAaUWzb1qgw= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <53144AEA.10608@infracaninophile.co.uk> Date: Mon, 03 Mar 2014 09:27:06 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: pkg References: <53144507.1060306@xenet.de> In-Reply-To: <53144507.1060306@xenet.de> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mGI90v0rr1MLEXqgpIucR7fuGMiGbkkmV" X-Virus-Scanned: clamav-milter 0.98.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RDNS_NONE autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2014 09:27:32 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mGI90v0rr1MLEXqgpIucR7fuGMiGbkkmV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/03/14 09:01, Matthias Meyser wrote: > I have a fresh installed Freebsd machine > 10.0-STABLE #1 r262685 with no connection to the internet. >=20 > To install bind (with ironically left base) i need to bootstrap > pkg. To do that I build pkg-1.2.6.txz by source on another machine. > (same Freebsd Version) >=20 > Then i put pkg-1.2.6.txz on the first machine and did a >=20 > pkg add pkg-1.2.6.txz >=20 > this gives "Signature for pkg not available." >=20 > putting "SIGNATURE_TYPE: "none"" in > /usr/local/etc/pkg.conf did NOT solve this issue. Given you've no internet connectivity then this is probably what you need: create a /usr/local/etc/pkg/repos/FreeBSD.conf containing something like: FreeBSD: { enabled: no } That just switches off the default /etc/pkg/FreeBSD.conf >=20 > "setenv SIGNATURE_TYPE none" worked. >=20 > but now i get >=20 > pkg-static: sqlite: no such table: main.packages >=20 > Now I am lost. pkg will automatically create the sqlite database schema it needs if it doesn't already exist. I guess that somehow you've got a half-formed schema -- enough to stop it automatically re-creating the whole thing, but not enough to be usable. Try moving aside /var/db/pkg/local.sqlite and then run something like 'pkg -vv' -- this should recreate local.sqlite --mGI90v0rr1MLEXqgpIucR7fuGMiGbkkmV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTFEr0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTn0AQP/i0pV8EoXJPGojaNhaE8IGga Y99ZApeAYyAcBRg8YFpq8SYC7krGsp+c0NQo+cfc5LEnZuL9HIMLW22hIJ6Zuxmw VWC1fIx9kBSIIydQp3bVHW67iurXH+nmDNwEYyLooJe+kYODSJk59ttgspB3+/nK ikua0H3rAVuHCstAYbVhNrtcipqrajW3jWezj4rkYs53NLAPP9qw5yBMvapd3ABz OpM1fefTSTC2IAFwW4D/nVjSl1QPWZc5pU1ZXv/zokufcHCHljw76ob9Q//ULcxm fwwUJaKfT1+b6KGQbyWUCIfETQRXLuFlX6KiTUcrtuFFSWrGAmd2NE32ky+OsS/Q jnoo63rxWzDrGxHTaNW2Qmi2+XvEw/c2eHC93u1yrW/2JhDhHfYndQcwauRuMaDa mjsrIbrmNdRecOm2C6ysRNrmf6EFzaWBFyorttEn7amM4myD3xUiAEgQ4BH0eSM0 ay48MZVIDxD4Eb0wJPB/P9BZiQwm44z+eIewbTqJlpcLeHYnPpK80pn3xrZry4Y/ 7odykk82Ihx8RUzuI2JsvjZzE3nHPJk9sKuGR8BV7i9vg5UcxLzobokfQXPWlLcl qUMwAHVQPeVSV2x1sLwGAgxNIuMQJ6PvC1MI4zyo2WlWK8C6LJHfJS/zNvZY039F Ki5yz7Ys5o1mqd68DsoL =nylt -----END PGP SIGNATURE----- --mGI90v0rr1MLEXqgpIucR7fuGMiGbkkmV--