Date: Thu, 27 Aug 2015 17:31:43 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-doc@freebsd.org Subject: Re: pkgng intro doc problem Message-ID: <55DF3B6F.5090001@infracaninophile.co.uk> In-Reply-To: <55DF377C.7080401@freebsd.org> References: <04be01d0e0e1$d56c6aa0$80453fe0$@chrysalisnet.org> <55DF377C.7080401@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jail name or id>|-c <chroot path>|= -r >> <rootdir>] [-C <configuration file>] [-R <repo config dir>] [-o var=3D= value] >> [-4|-6] <command> [<args>] >> >> =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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55DF3B6F.5090001>