Upgrading NetBSD from 11.0 to 11.1 dwarmstrong.org · 11 points · 0 comments · HN...
HN Best 200 @best
Upgrading NetBSD from 11.0 to 11.1 dwarmstrong.org · 11 points · 0 comments · HN thread
TL;DR The author describes upgrading a NetBSD amd64 system from 11.0 to 11.1 using sysupgrade(8), an in-place upgrade tool, rather than booting install media. The process went smoothly apart from one failed postinstall check on opensslcertsrehash, which was fixed by clearing the legacy certificate directory and running certctl rehash.
- The author chose sysupgrade for a minor version bump; the NetBSD Guide suggests sysinst (install media) is preferred for major upgrades like 10.1 to 11.1.
- Installation is done via pkgin install sysupgrade, then sysupgrade auto pointed at the NetBSD 11.1 CDN path for the machine's architecture.
- sysupgrade downloads the kernel and sets, unpacks them, and prompts for review and merging of configuration files; the author edited only a few such as passwd and sshd_config.
- One postinstall check failed (opensslcertsrehash); the fix was removing /etc/openssl/certs/*, running certctl rehash, verifying with certctl list, and re-running sysupgrade postinstall fix.
- The package repository configuration in /usr/pkg/etc/pkgin/repositories.conf must be manually updated to the 11.1 repositories.
Discussion The story has been posted with 11 points and no comments yet, so there is no discussion to summarize.