# FreeBSD's pkgbase upgrade is a wall of commands, so this admin wrote a tool to replace it

Original title: New FreeBSD Pkgbase(8) Tool

> Hacker News story 50508356 · language: en · submitted 2026-11-15
> Web version: https://zeli.app/story/50508356
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 50 · by [vermaden](<https://news.ycombinator.com/user?id=vermaden>) · 💬 23
[original](<https://vermaden.wordpress.com/2026/11/10/freebsd-pkgbase-update-tool/>) · [HN discussion](<https://news.ycombinator.com/item?id=50508356>)

## Summary

FreeBSD 15.x is the last release where freebsd-update(8) works; from 16.0 on, pkgbase is the only way to update the base system. When the 15.2-BETA1 announcement offered a long, multi-step pkg procedure instead of a simple upgrade command, the author spent a couple of hours scripting pkgbase(8), a drop-in replacement that handles repository setup, UEFI/BIOS bootcode, .pkgnew files, and kernel modules. It's released under the BSD license on GitHub.

## Key quote

> I mean … how hard can it be to script it and automate it? … and do not get me started on AI – what I did here is all by my own hands and fingers in a classic sysadmin way – character by character – line by line – command after command – exception by exception … and it took me like 2-3 hours most.

## HN discussion (23 comments)

### [kemotep](<https://news.ycombinator.com/item?id=50549531>)

> I only started using FreeBSD last year but it was crazy to upgrade to 15 from 14 and be told that pkgbase, while experimental would be a much more unified solution. Come the 15.1 upgrade and you have to run like 5 commands compared to just the old FreeBSD-base fetch command.
>
> Still it’s great to see this work and the desktop-installer script streamline a lot of the experience. I like FreeBSD and have had an otherwise fantastic experience learning and using it.

### [drewg123](<https://news.ycombinator.com/item?id=50547877>)

> This looks very nice!  The one thing I think would be killer is if it could be integrated with boot environments, so you wind up with something like beinstall where a new BE is created and the update is done in the new BE.

### [soupbowl](<https://news.ycombinator.com/item?id=50553250>)

> This tool looks great and a much better UX for upgrading.

---

## Cite

- Page: https://zeli.app/story/50508356
- Date: 2026-11-15
- Source: vermaden.wordpress.com (https://vermaden.wordpress.com/2026/11/10/freebsd-pkgbase-update-tool/)
- Hacker News: https://news.ycombinator.com/item?id=50508356

## Other languages

- zh: https://zeli.app/zh/story/50508356 · markdown: https://zeli.app/zh/story/50508356.md
- ja: https://zeli.app/ja/story/50508356 · markdown: https://zeli.app/ja/story/50508356.md
- ko: https://zeli.app/ko/story/50508356 · markdown: https://zeli.app/ko/story/50508356.md
- de: https://zeli.app/de/story/50508356 · markdown: https://zeli.app/de/story/50508356.md
- es: https://zeli.app/es/story/50508356 · markdown: https://zeli.app/es/story/50508356.md
- ru: https://zeli.app/ru/story/50508356 · markdown: https://zeli.app/ru/story/50508356.md
