From owner-freebsd-doc@freebsd.org Thu Aug 27 16:32:02 2015 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD4A69C449C for ; Thu, 27 Aug 2015 16:32:02 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 41EC89C3 for ; Thu, 27 Aug 2015 16:32:02 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from zero-gravitas.local (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t7RGVpv7088359 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 27 Aug 2015 17:31:52 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t7RGVpv7088359 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1440693112; bh=SpgQN/OTFp2e91jdukPiQfq9TxAKhTsQSID62MVujmw=; h=Subject:To:References:From:Date:In-Reply-To; z=Subject:=20Re:=20pkgng=20intro=20doc=20problem|To:=20freebsd-doc@ freebsd.org|References:=20<04be01d0e0e1$d56c6aa0$80453fe0$@chrysal isnet.org>=0D=0A=20<55DF377C.7080401@freebsd.org>|From:=20Matthew= 20Seaman=20|Date:=20Thu,=2027=20A ug=202015=2017:31:43=20+0100|In-Reply-To:=20<55DF377C.7080401@free bsd.org>; b=Uset/BDbPRgKZuQkmNpGqHvVa3BRkj9IV9pZ+CH71qevzs0b1qmp+3qzbyqp5ozZh Rvlh/Kncuu0v5/+E00zY8nEyNXVpAD0GEQ76aquznVp2rsPz3UMgOCfLv6sCnFkvjf J3J0nBNvCRZKfiNgTkex8d09JZ7UZfzMmDHUnP1s= 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 zero-gravitas.local Subject: Re: pkgng intro doc problem To: freebsd-doc@freebsd.org References: <04be01d0e0e1$d56c6aa0$80453fe0$@chrysalisnet.org> <55DF377C.7080401@freebsd.org> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <55DF3B6F.5090001@infracaninophile.co.uk> Date: Thu, 27 Aug 2015 17:31:43 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55DF377C.7080401@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cDM60m0UcFFxP3R4lvOQLCuUupGkiIVka" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 16:32:02 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cDM60m0UcFFxP3R4lvOQLCuUupGkiIVka Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015/08/27 17:14, Allan Jude wrote: > On 2015-08-27 12:02, Chris wrote: >> Hi >> >> =20 >> >> Just to let you know following the hendbook here doesnt work cleanly. >> >> =20 >> >> https://www.freebsd.org/doc/handbook/pkgng-intro.html >> >> =20 >> >> Here is the output on a clean installed FreeBSD 9.3 machine, note the = error >> that pops up bold highlighted. >> >> =20 >> >> I ran pkg info at the end, to verify no existing ports are installed. >> >> =20 >> >> "root@test:/home/cc # pkg >> >> The package management tool is not yet installed on your system. >> >> Do you want to fetch and install it now? [y/N]: y >> >> Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:9:x86:64/lat= est, >> please wait... >> >> Verifying signature with trusted certificate pkg.freebsd.org.201310230= 1... >> done >> >> Installing pkg-1.5.6... >> >> Extracting pkg-1.5.6: 100% >> >> Message for pkg-1.5.6: >> >> If you are upgrading from the old package format, first run: >> >> =20 >> >> # pkg2ng >> >> pkg: not enough arguments >> >> Usage: pkg [-v] [-d] [-l] [-N] [-j |-c |= -r >> ] [-C ] [-R ] [-o var=3D= value] >> [-4|-6] [] >> >> =20 >> >> For more information on available commands and options see 'pkg help'.= >> >> root@test:/home/cc # pkg2ng >> >> Converting packages from /var/db/pkg >> >> Analysing shared libraries, this will take a while...=20 >> >> Checking all packages: 100% >> >> root@test:/home/cc # pkg info >> >> pkg-1.5.6 Package manager >> >> root@test:/home/cc #" >> >> =20 >> >> Regards >> >> =20 >> >> Chris >> >> _______________________________________________ >> freebsd-doc@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-doc >> To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"= >> >=20 > pkg2ng is only required if you are upgrading a system that used the old= > package system. >=20 > By default, a fresh install has no packages, that is expected. There's also a 'bootstrap' command for pkg(7) [ie. the stub that comes with the OS which will download and install the real pkg(8)] which is designed specifically to avoid this sort of problem. That is certainly in FreeBSD 10.x and above. I can't remember off hand if that functionality was MFC'd to any of the 9.x branches though. Cheers, Matthew --cDM60m0UcFFxP3R4lvOQLCuUupGkiIVka Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJV3zt3XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnIsIQAJ9ikCqPrrhJPfwWwNMMIivD cg7KLpU0L0slQsXggS8Qgh6ElV4dewRV3qh3JgWYvY0K2YHOEaLLA71U4sifP9Ij rIzjrBGeY8Qw4TcOfqvGAsZbrHBIIPqbIqSnen7hGzSGo6r39T0fnal+N+4QoDxL e0utyqKkzqMilRTMavh6J/jz6hhC2/wtyQinr0HgUhr/srbRf+1XEImt5NKdO5iQ 92saUZyZqtBRCFCRd7FrMXA+JtMxfaWsrCcv+yi+1DNTNjneazq/dyvpy26XUAaP pklkNqk5YZ+iNAyYnQSwYNtroMLTGPzzk+HgRSQdwb3E+xZRxVRZ+wEdlFz1tki+ oRPLzmqFoVxsT5eu+Tb+SEAGmaOm1aigRer//9nfvAzQK47VI9tbzsy24ocQmE4R OFyTdv2rNt/U/lgZlOpC7rR3+yhg1tFiYAI9h4lq6mB0rlI7x7Q/bGwyqpjWi5o/ 95iQ4Wqwi6vfi8x+oY5Si3I/Z3j3FiuJEFGDwOYbkJxfN9qQl6vtXRNEHdCWe+iw t5Aor8bS+C4dLOuanllgL09QY2O3Gq85kIdhwicxsJ1gWbzrM5TfAB92jhSxfhCe r7V1HWCCbVfDKNlTdvJYL+6lNmIcJDW42z0s9ZUmSfFeLtMhB2vTBvQOd26f8XYz cJtK0VuoCyMMoUKrbzJx =PUdl -----END PGP SIGNATURE----- --cDM60m0UcFFxP3R4lvOQLCuUupGkiIVka--