pkg(8) is not a replacement for port management tools like can install third-party software from both binary packages and DPorts, pkg(8) installs only binary packages.
Updating repository catalogue
For fresh installations, the file /usr/local/etc/pkg/repos/sample is copied to /usr/local/etc/pkg/repos/df-latest so that pkg(8) works out of the box.
The files ending in the ".sample" extension are ignored; pkg(8) only reads files that end in ".conf" and it will read as many as it finds.
You may edit or add new repo configuration files as necessary. The normal use case is that someone builds specific packages (e.g.
using poudriere) which should have a higher priority over the official packages. The last output of "pkg -vv" lists all enable repositories and their priority values. done # pkg info ca_root_nss-3.13.5 The root certificate bundle from the Mozilla Project curl-7.24.0 Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers pkg-1.0.12 New generation package manager .
: Upgrade your firewall after having a proper plan and back out option.
As a minimum a snapshot before starting work and backup of the firewall configuration is recommended. Usually there are upgrading hints at /usr/dports/UPDATING, but there are issues with this method of communication Additionally, over time Administrators install packages to evaluate them or otherwise don't need them any longer, but often the Administrators forget to remove the package and its dependencies later.These extra packages still get upgraded unnecessarily.DPorts can and does feature ports unique to Dragon Fly, so it's truly a native system.The pkg(8) tool called "pkg" is a modern and fast binary package manager.For example, if an Administrator only requested on package to be installed, Libreoffice, pkg(8) might pull in 200 dependencies, but ~/would only contain the name of a single package.