upgrade with freebsd-update

Hi!

I didn't try upgrade from 15.0 to 15.1 with freebsd-update on ufs sytem but I am confused. I did read one email:


Code:
OK, but how can this update be done?

The old command (which the Handbook suggests) doesn't work:

   #  freebsd-update -r 15.1-RELEASE upgrade
   freebsd-update is incompatible with the use of packaged base.  Please
   see https://wiki.freebsd.org/PkgBase for more information.

and the PkgBase wiki is a bit unclear (it tries to reinstall existing
files when trying to follow these instructions).

I get lost with all these FreeBSD.*.conf files. Are they documented

What is going on? Did anyone got the same msg?

Thank you.
 
The chances are, if you're getting that message, that somewhere along the line you switched to pkgbase--maybe you forgot? You have to have some pkgbase something there to get that message.
 
The chances are, if you're getting that message, that somewhere along the line you switched to pkgbase--maybe you forgot? You have to have some pkgbase something there to get that message.
I didn't try yet and I will wait more... I just read an email from someone who sent to "announce" mailing list. You can read there.
 
https://lists.freebsd.org/archives/freebsd-announce/2026-June/000275.html is the one I think you mean. However, I had one VM that wasn't using pkg base and freebsd-update worked with it, though I had some problems, so wound up converting it to pkg base.

But the problems I had weren't what you describe. I am pretty sure that means you have pkgbase. There is a way to tell, mentioned in the upgrade instructions.

from https://www.freebsd.org/releases/15.1R/installation/
The procedure for binary upgrades depends on the method used to manage the operating system.To determine this, run the following command:

pkg which /usr/bin/uname

If /usr/bin/uname was not installed by a package is shown, see Upgrading with Distribution Sets below.

If a package name is shown, such as FreeBSD-runtime-15.0, see Upgrading with Base System Packages below.


I guess that isn't really clear. But you can run the pkg which /usr/bin/uname and see if it says something like installed by package FreeBSD-runtime-something. If it does say that, then you know you are using pkgbase.

Not sure what it says if you were using distribution sets. I just threw a vm install into bhvye and chose distribution sets rather than pkg base and when I did that pkg which /usr/bin/uname I got a response of /usr/bin/uname was not found in the database. So, try it and see.
 
I received the same mail. I was wondering if it was for me and if I have to answer.
Let's Colin answers, so.

For information, I'm currently writing a script to help for the upgrades with pkgbase.
It lacks some tests and some polishing.
 
Back
Top