pkgng woes

Matthew Pounsett matt at conundrum.com
Tue Jan 7 22:14:23 UTC 2014


On 2014-01-07, at 17:08 , Patrick <gibblertron at gmail.com> wrote:

> I'm trying to move to pkgng on some 9.2 systems, and I'm having a hard
> time finding some working examples of the configuration files one
> would need to pull in packages from the official FreeBSD package
> servers. Is there something obvious I'm missing?

I'm running it on a fresh 9.2-RELEASE system with no special configuration at all.  I'm using the default pkg.conf:

# cat /usr/local/etc/pkg.conf
packagesite: http://pkg.FreeBSD.org/freebsd:9:x86:64/latest

# 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 please wait
_http._tcp.pkg.FreeBSD.org
Installing pkg-1.2.4_1... done
[…]

You get some instructions that are important if you've been using the old ports system, and then you're ready to use it.

I am getting warnings about the use of PACKAGESITE in the default config, but it works.  





More information about the freebsd-questions mailing list