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

[-- Attachment #1 --]
On 2015-08-27 12:02, Chris wrote:
> Hi
> 
>  
> 
> Just to let you know following the hendbook here doesnt work cleanly.
> 
>  
> 
> https://www.freebsd.org/doc/handbook/pkgng-intro.html
> 
>  
> 
> Here is the output on a clean installed FreeBSD 9.3 machine, note the error
> that pops up bold highlighted.
> 
>  
> 
> I ran pkg info at the end, to verify no existing ports are installed.
> 
>  
> 
> "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/latest,
> please wait...
> 
> Verifying signature with trusted certificate pkg.freebsd.org.2013102301...
> 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:
> 
>  
> 
>   # 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=value]
> [-4|-6] <command> [<args>]
> 
>  
> 
> 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... 
> 
> Checking all packages: 100%
> 
> root@test:/home/cc # pkg info
> 
> pkg-1.5.6                      Package manager
> 
> root@test:/home/cc #"
> 
>  
> 
> Regards
> 
>  
> 
> 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"
> 

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.


-- 
Allan Jude


[-- Attachment #2 --]
-----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-----

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