FreeBSD plans to make pkgbase the sole method for installing and upgrading the base system starting with FreeBSD 16; FreeBSD 15 is the final release series to support freebsd-update. The author argues that the documented pkgbase upgrade procedure is cumbersome compared with the old single-command workflow, requiring repository configuration, several pkg commands, bootloader handling, checks for new configuration files, and cleanup. In response, they created pkgbase(8), a BSD-licensed tool intended to automate those steps and provide a simpler, familiar upgrade experience.
The tool supports upgrading to a specified FreeBSD version, updating boot code, finding .pkgnew configuration files, checking kernel modules, and reporting the system version. A demonstrated run upgrades FreeBSD 15.1-RELEASE to 15.2-BETA1: it updates pkg first, then upgrades the base-system packages, with pkg still asking the user to approve the operation. The author says that confirmation could be made automatic but leaves it in place in this first public release. The example highlights the scale of the package-based transition - 213 base packages are upgraded - and the tool’s effort to handle practical tasks that otherwise require manual commands.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.