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

    Can't upgrade from 2.6 to 2.7 because wrong unzoo OS version?

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 3 Posters 610 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.
    • T
      thekorn
      last edited by

      Hello,

      was finally going to upgrade from 2.6.0-release to 2.7.x, but today I log in and see that pfsense is unable to check for updates.

      Worked through the troubleshooting upgrades page at https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html , and it recommends doing pkg-static update -f to update the package metadata.

      I believe this has revealed a large clue as to what's broken.

      pkg-static update-f output:

      [2.6.0-RELEASE][somebody@somebox]/home/somebody: sudo pkg-static update -f
      Updating pfSense-core repository catalogue...
      Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
      Fetching packagesite.pkg: 100%    2 KiB   1.8kB/s    00:01
      Processing entries: 100%
      pfSense-core repository update completed. 7 packages processed.
      Updating pfSense repository catalogue...
      Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
      Fetching packagesite.pkg: 100%  156 KiB 159.4kB/s    00:01
      Processing entries:   0%
      pkg-static: Newer FreeBSD version for package unzoo:
      To ignore this error set IGNORE_OSVERSION=yes
      - package: 1400085
      - running kernel: 1203500
      
      pkg-static: repository pfSense contains packages for wrong OS version: FreeBSD:14:amd64
      Processing entries: 100%
      Unable to update repository pfSense
      Error updating repositories!
      

      So it looks like there's a problem with unzoo. My first instinct is to go ahead and set ignore_osversion, but wanted to run it by y'all first before I do something stupid.

      Thanks!

      T 1 Reply Last reply Reply Quote 0
      • T
        Theseus @thekorn
        last edited by

        @thekorn

        I had the same problem. But I was able to fix it via SSH.

        1. SSH connection setup and login
        2. Enter option 13) Update from Console

        The upgrade process should now start and takes about 30 minutes. Afterwards you are on pfSense 2.7.0.
        Now you can upgrade from 2.7.0 to 2.7.2 with the WebGui.

        System -> Update -> select Branch 2.7.2 and wait approx. 10 minutes until you can confirm the status. The update to 2.7.2 will then take another 15 minutes.

        Translated with DeepL.com (free version)

        T 1 Reply Last reply Reply Quote 1
        • T
          thekorn @Theseus
          last edited by

          @Theseus Thank you! This worked! (Though no option to go to 2.7.2, only 2.7.0.)

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @thekorn
            last edited by

            @thekorn said in Can't upgrade from 2.6 to 2.7 because wrong unzoo OS version?:

            @Theseus Thank you! This worked! (Though no option to go to 2.7.2, only 2.7.0.)

            Try https://docs.netgate.com/pfsense/en/latest/releases/2-7-1.html#troubleshooting

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote 👍 helpful posts!

            T 1 Reply Last reply Reply Quote 0
            • T
              thekorn @SteveITS
              last edited by

              @SteveITS Thanks. I put it down for a bit, and when I went to look just now the option was magically there all by itself, so problem solved!

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