pkgng seems not to work properly

I'm running 9.1-RELEASE and while I've run the pkg2ng command, and have
Code:
WITH_PKGNG=YES
in make.conf, I'm not able to install new packages via pkg. For instance:

Code:
# pkg install devel/fossil; echo $?
Updating repository catalogue
3

As you can see the command exits with a failure error code, that however I cannot find in the documentation to know what it is about.

Any idea?
 
(I) have WITH_PKGNG=YES in make.conf, I'm not able to install new packages via pkg.
That's for when you build from source. Whereas pkg install is for when you install binaries. If you don't have binary packages, there's nothing to install. Completely different concepts.
  1. Set your package repositories: https://wiki.freebsd.org/pkgng
  2. If you run poudriere, set a second package repository for a local folder.
  3. use # pkg install OR ONE OF
    • # make install devel/fossill
    • # portmaster devel/fossil)
But NOT both. Choose one method or the other.
 
Back
Top