Hello! I'm reading 5.5.1. Getting Started with pkgng<http://www.freebsd.org/doc/handbook/pkgng-intro.html> of the handbook and I'm using fresh installation of FreeBSD-9.2-RELEASE-i386.
I've installed pkg port 1.1.4 from /usr/ports/ports-mgmt/pkg and have run pkg2ng. It is mentioned in the handbook, that adding WITH_PKGNG is needed to be added to /etc/make.conf. It may turn out that by default this file does not exist, so it must be created manually or be copied from /usr/share/examples/etc/make.conf or elsewhere. Same thing about /usr/local/etc/pkg.conf. It may turn out that by default there is /usr/local/etc/pkg.conf.sample only. So, pkg could not find pkg.conf with PACKAGESITE variable, prints 'Updating repository catalogue' and bails out silently without telling any reason of such behaviour. Moreover, maybe it will be good to mention about pkgng wiki<https://wiki.freebsd.org/pkgng>. After running 'pkg update' and 'pkg install curl' (as it is shown in the example), pkg proposed to update from 1.1.4 to 1.2.1. As I can see, config format in pkg 1.2 has changed. And pkg 1.2.1 does not like empty pkg.conf file, while it is fixed in 1.2.2. And the last, there is no pkg.freebsd.org, as it is provided by default in pkg.conf. As I know, this repo was wiped out. There is pkgbeta.freebsd.orgnow and some repo at pc-bsd for amd64. Maybe something of this is worth mentioning in the docs. Thanks for attention! _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"