Login
You're viewing the code4lib.social public feed.
  • Oct 17, 2026, 12:23 PM

    That's a new one I'm seeing in #FreeBSD now:

    Newer FreeBSD version for package zxfer:
    To ignore this error set IGNORE_OSVERSION=yes
    - package: 1501000
    - running userland: 1500068
    Ignore the mismatch and continue? [y/N]:

    No idea. I suppose this is a representation of 15.01.000 and 15.00.068, as in major/minor/patch, without the separator?

    If the ABI had broken, my userland would already have crashed.
    How would I know as a user?
    I just want to upgrade.

    freebsd-update and pkg keep confusing me.

    💬 1🔄 0⭐ 0

Replies

  • Oct 17, 2026, 12:27 PM

    So I'm just YOLOing it now.

    New packages to be INSTALLED:
    py312-packaging: 26.3 [FreeBSD-ports]
    python312: 3.12.14_1 [FreeBSD-ports] (vulnerable!)

    I don't know why this old Python stuff is there... I'd be happy to have the latest.
    I haven't figured this out in many years of using FreeBSD.
    Guess I need to manually switch?
    No idea where to read up on this, search gets me nothing helpful.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Oct 17, 2026, 12:27 PM

    @CyReVolt you are running an unsupported freebsd 15.0 and installing a package built for 15.1, upgrage your OS first

    💬 0🔄 0⭐ 1
  • 💬 0🔄 0⭐ 0
  • Oct 17, 2026, 12:42 PM

    @CyReVolt I think @bapt@mastodon.social is right. You typically run freebsd-update install 3 times for an upgrade. Do the first one. Reboot. Do the second one. Upgrade all the packages. Do it a third time. I’m not sure which of the first 2 you missed, but this is what it looks like when the OS is on one version and pkg is on another.

    Also, if you haven’t seen freebsd-rustdate you should. It’s a rust implementation of FreeBSD update and it is absurdly faster.

    💬 1🔄 0⭐ 0
  • Oct 17, 2026, 12:47 PM

    @paco @_bapt_ Right, I'm running the second freebsd-update (the one after the reboot) in parallel with pkg upgrade.

    The many tools and steps confuse me quite a bit. So if I were to run pkg upgrade _after_ the multiple runs of freebsd-update, then I should not see that message, I suppose.

    Though I don't really get why pkg would be concerned here.
    There is $ABI in /etc/pkg/FreeBSD.conf - is that not taken from uname, but something else?
    Or, how can I figure out what $ABI would be?

    💬 1🔄 0⭐ 0
  • Oct 17, 2026, 1:00 PM

    It’s the same number of tools and steps as any operating system. On macOS one uses the Apple installer to upgrade the OS and then another installer (brew) to upgrade the unix software. On some Linuxes (Debian, Ubuntu) the release upgrade is one command, and apt to upgrade packages is a separate step. On windows the upgrade is one step and then Chocolatey upgrades the unix packages after.

    And the YOLO worked because on minor releases (15.x to 15.y) the ABI is compatible. Packages compiled for 15.x will run on 15.y. Getting the steps in the wrong order or skipping one is only painful on major release upgrades (15.x to 16.x).

    The unexpected errors are annoying. But you’re learning. The only way any of us recognise what mistake you made is because we ALL made that mistake ourselves at some point. Welcome to the club. 😜

    @CyReVolt @bapt@mastodon.social

    💬 2🔄 0⭐ 0
  • Oct 17, 2026, 1:07 PM

    @paco tbh I found it the worst on macOS, where it's even *more* tools to deal with; OS upgrade, OOB and in-band app upgrades, toolchain rebootstrapping all the time, Homebrew stuff... not very user friendly.

    There are communities working on way simpler OS distros, with just one single tool. Not a pile of scripts and more tools underneath.
    And I very much want that: safety by default.

    In that sense, I don't really feel like I'm "learning" anything here, I just need to get it done. Sorry. :3

    💬 0🔄 0⭐ 0
  • Oct 18, 2026, 5:33 AM

    @paco

    Modernised use of freebsd-update for minor and major upgrades to FreeBSD

    gist.github.com/grahamperrin/0

    On one hand, the gist above is relatively long.

    On the other hand, official freebsd.org/releases/15.1R/upg is relatively short but potentially troublesome:

    ― omission of FreeBSD-ports-kmods can lead to non-working graphics, and so on.

    #FreeBSD #upgrade #documentation #bug

    💬 0🔄 0⭐ 0