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

    Trying to update a 2.3.4_1 install to 2.4.2 and I am unable to check for updates

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    12 Posts 5 Posters 7.9k 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
      thecodemonk
      last edited by

      When I switched the update settings over to the 2.4 branch, it says "unable to check for updates". If I do option 13 from the console, I get this:

      Enter an option: 13
      
      >>> Updating repositories metadata...
      Updating pfSense-core repository catalogue...
      pkg-static: Repository pfSense-core has a wrong packagesite, need to re-create database
      Fetching meta.txz: . done
      Fetching packagesite.txz: . done
      Processing entries:
      pkg-static: wrong architecture: FreeBSD:11:amd64 instead of freebsd:11:x86:64
      pkg-static: repository pfSense-core contains packages with wrong ABI: FreeBSD:11:amd64
      Processing entries... done
      Unable to update repository pfSense-core
      Updating pfSense repository catalogue...
      pkg-static: Repository pfSense has a wrong packagesite, need to re-create database
      Fetching meta.txz: . done
      Fetching packagesite.txz: .......... done
      Processing entries:
      pkg-static: wrong architecture: FreeBSD:11:amd64 instead of freebsd:11:x86:64
      pkg-static: repository pfSense contains packages with wrong ABI: FreeBSD:11:amd64
      Processing entries... done
      Unable to update repository pfSense
      Error updating repositories!
      *** Welcome to pfSense 2.3.4-RELEASE-p1 (amd64 full-install)
      
      1 Reply Last reply Reply Quote 0
      • w0wW
        w0w
        last edited by

        Are you sure you did not messed up things by changing something in repo config?

        1 Reply Last reply Reply Quote 0
        • T
          thecodemonk
          last edited by

          @w0w:

          Are you sure you did not messed up things by changing something in repo config?

          I'm pretty sure I haven't touched it. What should I check?

          1 Reply Last reply Reply Quote 0
          • w0wW
            w0w
            last edited by

            Go to    System>Update>Update Settings
            Make sure you have selected branch "Latest stable version 2.4.x" or whatever it shows for you, also if it is already selected try to change it to something else, check for updates and then change it back and again check for updates, if it does not help then check for /usr/local/etc/pkg/repos
            there are two files
            freeBSD.conf

            
            FreeBSD: { enabled: no  }
            

            and
            pfSense.conf

            
            FreeBSD: { enabled: no }
            
            pfSense-core: {
              url: "pkg+https://pkg.pfsense.org/pfSense_v2_4_2_amd64-core",
              mirror_type: "srv",
              signature_type: "fingerprints",
              fingerprints: "/usr/local/share/pfSense/keys/pkg",
              enabled: yes
            }
            
            pfSense: {
              url: "pkg+https://pkg.pfsense.org/pfSense_v2_4_2_amd64-pfSense_v2_4_2",
              mirror_type: "srv",
              signature_type: "fingerprints",
              fingerprints: "/usr/local/share/pfSense/keys/pkg",
              enabled: yes
            }
            
            

            Plese note that current URL that is "pkg+https://pkg.pfsense.org/pfSense_v2_4_2_amd64-core" can be something different for you, if after first step it is not the same then post it here.

            1 Reply Last reply Reply Quote 0
            • T
              thecodemonk
              last edited by

              My files are exactly like what you posted.

              1 Reply Last reply Reply Quote 0
              • w0wW
                w0w
                last edited by

                Then you can try https://forum.pfsense.org/index.php?topic=135582.msg742380#msg742380 and https://forum.pfsense.org/index.php?topic=128732.msg711131#msg711131 (addition about pkg-static).
                Please be ready for full reinstall, backup your config and prepare installation media or at least download the latest image https://www.pfsense.org/download/ and some old 2.3 too if it completely refuses to install the latest https://atxfiles.pfsense.org/mirror/downloads/old/

                1 Reply Last reply Reply Quote 0
                • T
                  thecodemonk
                  last edited by

                  Thanks for the advice. After reading the posts on reddit and here about all the issues with upgrading to 2.4.x, I'm going to hold off for a while before doing anything. Seems to be a lot of issues. I'll prepare for a full reinstall, but it won't be happening for a while.

                  1 Reply Last reply Reply Quote 0
                  • w0wW
                    w0w
                    last edited by

                    There is always a lot of issues between upgrades, but that does not mean you will be affected, there was a bunch of issues in between 2.2 and 2.3 upgrades, for example, even more then now. Too much different hardware and software configurations. In case you don't use some well known packages that can cause problems, than there is very small probability that something will go wrong, but it's up to you what to do now.

                    1 Reply Last reply Reply Quote 0
                    • K
                      krpan
                      last edited by

                      Well, I have to chime in with a "me too"…

                      I've had upgrade failures (to 2.4.2) on several different pfSense installs (2.3.4 and 2.3.4_1)

                      In all cases pfSense is running on VMware (64bit) and has only open-vm-tool, acme and openvpn-client-export packages installed.

                      In all cases the failure occurs after the following three lines in the "update" window:

                      Updating repositories metadata… done.
                      Upgrading pfSense-repo... done.
                      2.4.2 version of pfSense is available

                      After that it reports a failure and GUI indicates (dashboard and updates page) it is no longer able to check for updates.

                      I do believe that the issue is related to pkg package… if I go into shell and try running pkg command it fails with the following error:

                      Shared object "libssl.so.8" not found, required by "pkg"

                      This suggest that once update process is started it mangles pkg package update.

                      Bottom line, something is indeed seriously wrong with the update/upgrade system.

                      ![Screen Shot 2017-12-01 at 01.14.49.png](/public/imported_attachments/1/Screen Shot 2017-12-01 at 01.14.49.png)
                      ![Screen Shot 2017-12-01 at 01.14.49.png_thumb](/public/imported_attachments/1/Screen Shot 2017-12-01 at 01.14.49.png_thumb)

                      1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan
                        last edited by

                        @krpan:

                        Shared object "libssl.so.8" not found, required by "pkg"

                        Saw this one earlier on the forum, and what to do about.

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        1 Reply Last reply Reply Quote 0
                        • w0wW
                          w0w
                          last edited by

                          krpan
                          I think you need to go deeper :)
                          Search this page for pkg-static and follow links ;)
                          But in your case it should be more faster just to install new VM with fresh 2.4.2 and restore configuration on it.

                          1 Reply Last reply Reply Quote 0
                          • N
                            netgatedt
                            last edited by

                            You should look at: https://redmine.pfsense.org/issues/8355
                            Specifically the last post I just made about NanoBSD being deprecated which leads you down this goatrope path.

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