dports: pkg v1.2 available, some reconfiguration necessary

John Marino dragonflybsd at marino.st
Thu Nov 28 17:29:22 PST 2013


The current version of pkg is 1.1.4_10.
The next version, 1.2.1 has just been put into dports.  It brings in a
lot of capability, most notably the ability to handle signed packages
(something we may start doing), and a better capability to handle
multiple repositories.

Most people only have one thing defined in /usr/local/etc/pkg.conf and
that is PACKAGESITE.  This item has been deprecated from pkg.conf and
pkg will repeatedly remind you if you leave it set.

To avoid these warning, do the following steps after installing pkg 1.2:
1) Delete /usr/local/etc/pkg.conf
2) Optional: copy /usr/local/etc/pkg.conf.sample to
/usr/local/etc/pkg.conf and edit it as desired
3) cp /usr/local/etc/pkg/repos/df-latest.conf.sample to
/usr/local/etc/pkg/repos/df-latest.conf .

There are 4 possible repos listed in df-latest.conf, but three are
disabled.  If you prefer a different mirror, disable "Avalon" and enable
on of the other three.  Conversely, there is also a
df-release.conf.sample if you prefer to use RELEASE repositories instead.

For now this is only an issue if you build from source, but within a few
days it could be available as a binary upgrade, so keep these
instructions handy.

John


More information about the Users mailing list