Date: Mon, 03 Mar 2014 09:27:06 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-stable@freebsd.org Subject: Re: pkg Message-ID: <53144AEA.10608@infracaninophile.co.uk> In-Reply-To: <53144507.1060306@xenet.de> References: <53144507.1060306@xenet.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53144AEA.10608>