Upgrading to 15.0 from source

A question which I thought would be easy to find an answer, but I haven't yet. Suppose you have used pkgbasify to get your system ready for pkgbase. Then you change your mind and decide to upgrade from source.
I know that if you've used pkgbasify you can't use freebsd-update. But can you do a src upgrade, where you buildworld and so on?

Thanks.
 
Hrrm, I might just wait till there are better instructions for using pkg base to upgrade. For example, the one that did successfully upgrade with pkgbase now, every time I run pkg udate, wants to remove freebsd-zfs. I say successfully, but I should rephrase that to
sorta works.
 
My advice is to install 14.3 in VM (that uses zfs on root), save a snapshot, then pkgbasify it, then do a diff with the snapshot to understand what changed. That ought to tell you how to de-pkgbasify it in the bud!
 
Suppose you have used pkgbasify to get your system ready for pkgbase.
Taking this literally:
I'm not completely sure, as I used pkgbasify some time ago on 15.0-BETA1, but on a freshly installed 15.0-RELEASE non-packaged base, running the latest pkgbasify simply enables FreeBSD-base. At that point, you do not have any packages yet. You can easily reverse this by disabling FreeBSD-base — and I want to emphasize this: before installing any packages.

Once you have installed packages, things become (very) different.
 
My advice is to install 14.3 in VM (that uses zfs on root), save a snapshot, then pkgbasify it, then do a diff with the snapshot to understand what changed. That ought to tell you how to de-pkgbasify it in the bud!
About "de-pkgbasify-ing" there is an ML thread:
Re: changing from pkgbase to regularbase, Sat, 22 Nov 2025 01:35:41 UTC:
there is no supported method to "depkgbasify" a system.
You can start to read at the beginning: changing from pkgbase to regularbase, along the way there are some suggestions to follow.
 
This is about a 14.3 that has been packaged basified but I haven't tried to update yet after problems with another unimportant system.
 
Back
Top