Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Enabling FreeBSD repo on 23.01 gives "wrong OS version"

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 3 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kermee
      last edited by

      Hi. I'm following the guide here...

      https://docs.netgate.com/pfsense/en/latest/recipes/freebsd-pkg-repo.html

      ...to enable the FreeBSD repo to install xmlstarlet. However, after I have done so and run a pkg update, I get this error:

      Updating FreeBSD repository catalogue...
      Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
      Fetching packagesite.pkg: 100%    5 MiB   4.9MB/s    00:01
      Processing entries:   0%
      Newer FreeBSD version for package zziplib:
      To ignore this error set IGNORE_OSVERSION=yes
      - package: 1400084
      - running kernel: 1400073
      Ignore the mismatch and continue? [y/N]:
      pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:14:armv7
      Processing entries: 100%
      Unable to update repository FreeBSD
      Updating pfSense-core repository catalogue...
      pfSense-core repository is up to date.
      Updating pfSense repository catalogue...
      pfSense repository is up to date.
      Error updating repositories!
      

      Anyone know what's going on? I'm on an SG-3100. Thanks!

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        It's because it's built on a pre-release version the kernel checks the version numbers and they don't match.
        You may be able to install individual pkgs by uploading them or using pkg add with the direct URL. But it's not recommended. Anything that has a lot of dependencies will cause problems.

        Steve

        K 1 Reply Last reply Reply Quote 0
        • K
          Kermee @stephenw10
          last edited by

          @stephenw10 Thanks for the reply. Looks like you're correct. I tried to install the package manually:

          pkg add http://pkg.freebsd.org/FreeBSD:14:armv7/latest/All/xmlstarlet-1.6.1_2.pkg

          And when I ran it xml it gave me this:

          ld-elf.so.1: /usr/local/bin/xml: Undefined symbol "__libc_start1@FBSD_1.7"

          I just deleted the package and just giving up. Thanks.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            What were you wanting to do with it? Perhaps there's an alternative tool we have already.

            K 1 Reply Last reply Reply Quote 0
            • K
              Kermee @stephenw10
              last edited by

              @stephenw10 I'm trying to use the script for the VPN service PIA (Private Internet Access) to enable port forwarding and it relies on the tool, xml to parse XML files. It's no biggie. I reverted back everything. Thanks for your help.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Hmm, you have a link?

                K 1 Reply Last reply Reply Quote 0
                • K
                  Kermee @stephenw10
                  last edited by

                  @stephenw10 Sure do: https://github.com/fm407/PIA-NextGen-PortForwarding

                  1 Reply Last reply Reply Quote 0
                  • F
                    FSC830
                    last edited by

                    Did you see this too?

                    Regards

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      Kermee @FSC830
                      last edited by

                      @fsc830 Yeah. I came across it after I had posted.

                      It seems like the new FreeBSD 14.0 kernel used by pfSense Plus 23.01 is based on a pre-release version. So basically, I'm SOL for now.

                      I don't want to mess with the system too much so I just went ahead and reverted all the changes I had made. No biggie but thanks for the heads up.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.