In FreeBSD version 15, the names of the package sources were renamed in preparation for the switch to pkgbase. Anyone who has adapted the package sources according to these instructions should update them, as otherwise there will be a conflict of quarterly and latest packages. Whilst this often works fine, it leads to conflicts in the long run.
The file /etc/pkg/FreeBSD.conf contains the package sources specified by the system. Any deviations from these are not written directly to this file, but to a separate file /usr/local/etc/pkg/repos/FreeBSD.conf. This prevents this system file from being overwritten during an update.
FreeBSD: {
url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
...
FreeBSD-ports: {
url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
...
}
sed -i '' 's/^FreeBSD: {$/FreeBSD-ports: {/g' /usr/local/etc/pkg/repos/FreeBSD.conf
The BSDBox is my IT playground. Professional services around network, server and structure building I offer with my company computing-competence. If you find this content valuable and useful, I welcome feedback via matrix, email or follow me on Mastodon.