Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2015 12:14:52 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-doc@freebsd.org
Subject:   Re: pkgng intro doc problem
Message-ID:  <55DF377C.7080401@freebsd.org>
In-Reply-To: <04be01d0e0e1$d56c6aa0$80453fe0$@chrysalisnet.org>
References:  <04be01d0e0e1$d56c6aa0$80453fe0$@chrysalisnet.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--JDgUUCicPSJHpgUidgV86akCl2aGJVrAb
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2015-08-27 12:02, Chris wrote:
> Hi
>=20
> =20
>=20
> Just to let you know following the hendbook here doesnt work cleanly.
>=20
> =20
>=20
> https://www.freebsd.org/doc/handbook/pkgng-intro.html
>=20
> =20
>=20
> Here is the output on a clean installed FreeBSD 9.3 machine, note the e=
rror
> that pops up bold highlighted.
>=20
> =20
>=20
> I ran pkg info at the end, to verify no existing ports are installed.
>=20
> =20
>=20
> "root@test:/home/cc # pkg
>=20
> The package management tool is not yet installed on your system.
>=20
> Do you want to fetch and install it now? [y/N]: y
>=20
> Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:9:x86:64/late=
st,
> please wait...
>=20
> Verifying signature with trusted certificate pkg.freebsd.org.2013102301=
=2E..
> done
>=20
> Installing pkg-1.5.6...
>=20
> Extracting pkg-1.5.6: 100%
>=20
> Message for pkg-1.5.6:
>=20
> If you are upgrading from the old package format, first run:
>=20
> =20
>=20
>   # pkg2ng
>=20
> pkg: not enough arguments
>=20
> 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=3Dv=
alue]
> [-4|-6] <command> [<args>]
>=20
> =20
>=20
> For more information on available commands and options see 'pkg help'.
>=20
> root@test:/home/cc # pkg2ng
>=20
> Converting packages from /var/db/pkg
>=20
> Analysing shared libraries, this will take a while...=20
>=20
> Checking all packages: 100%
>=20
> root@test:/home/cc # pkg info
>=20
> pkg-1.5.6                      Package manager
>=20
> root@test:/home/cc #"
>=20
> =20
>=20
> Regards
>=20
> =20
>=20
> Chris
>=20
> _______________________________________________
> 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.

By default, a fresh install has no packages, that is expected.


--=20
Allan Jude


--JDgUUCicPSJHpgUidgV86akCl2aGJVrAb
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 (MingW32)

iQIcBAEBAgAGBQJV3zeBAAoJEBmVNT4SmAt+OWYP/jgD3Vtwsh1c/gKbVPTN2cKb
v1lTG0tFEaQyVFEc1V1tvWcquMH4zeVeL8/at/sizueQs6kzidLBYJaUqnFSij6Z
D1oY07Q3fvrSGC9GTb5SOkFY8DG/77D8lxVcWRmJ0SN2uRU+Hvi4oWg/7lrmFVoa
Qny3CAAD8nlVpBcgyODxYCflZsurbIVV84klR/hZqkp88kqTBuUosrukAdBmoppB
IRQaj5DQWUAiphhjDd2zy2/cgujAvqMCxg5yAdHCslIVzhUkMs/YQ3gMFae5ZvUD
1tMR8mCjMQxjBO7u9+jgEnEK4+leyuUAGBhVZ/zRBdZpUnQFb3FqeQwnOybZna/Q
0uHTVA6t5L7OIpdA5UzhfnfR71tfR0KRD3q7hHUvz4snJO+8FqyRtURom8arSUzP
0fr/Nd7fxt62/ew4Qj3droD/B930Ar+Okgzi62VimJ12seOLC93zpOM0R+suaz78
ARMQXtD7hiB4OuXu+5hGZmnfcsYCmK/R59jlqbE/hMBx9V6VSNDHSzWGoL1qjoeE
ou2vWdy1O1OH1jqTQyNVELKBVSR7h886Gdb9ujOuv16RrOhfgyRzFBxat7eApT84
L5wA7AXjyzBATCufeZT+P90EotBzJLQCOIgYGbhMOolE80IsZYxAUkZkkGSs34Em
5tSl8NEE1zXnSvSRe9sD
=Sa1o
-----END PGP SIGNATURE-----

--JDgUUCicPSJHpgUidgV86akCl2aGJVrAb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55DF377C.7080401>