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

    Updates not working??

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    16 Posts 3 Posters 1.3k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Yes it should.

      Try running at the command line:
      pfSense-repoc
      pkg-static -d update

      See what errors those commands report.

      Steve

      A 1 Reply Last reply Reply Quote 0
      • A
        alano @stephenw10
        last edited by

        @stephenw10 said in Updates not working??:

        pfSense-repoc

        When I run pfSense-repoc, I get...

        ld-elf.so.1: /usr/local/sbin/pfSense-repoc: Undefined symbol "__libc_start1@FBSD_1.7"
        

        when I run pkg-static -d update, I get...

        DBG(1)[58719]> pkg initialized
        Updating pfSense-core repository catalogue...
        DBG(1)[58719]> PkgRepo: verifying update for pfSense-core
        pkg-static: Repository pfSense-core has a wrong packagesite, need to re-create database
        DBG(1)[58719]> PkgRepo: need forced update of pfSense-core
        DBG(1)[58719]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
        DBG(1)[58719]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_aarch64-core/meta.conf
        DBG(1)[58719]> opening libfetch fetcher
        DBG(1)[58719]> Fetch > libfetch: connecting
        DBG(1)[58719]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_09_aarch64-core/meta.conf with opts "i"
        DBG(1)[58719]> Fetch: fetcher chosen: https
        Fetching meta.conf: . done
        DBG(1)[58719]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_aarch64-core/packagesite.pkg
        DBG(1)[58719]> opening libfetch fetcher
        DBG(1)[58719]> Fetch > libfetch: connecting
        DBG(1)[58719]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_09_aarch64-core/packagesite.pkg with opts "i"
        DBG(1)[58719]> Fetch: fetcher chosen: https
        Fetching packagesite.pkg: . done
        DBG(1)[58719]> PkgRepo: extracting packagesite.yaml of repo pfSense-core
        DBG(1)[59039]> PkgRepo: extracting signature of repo in a sandbox
        DBG(1)[58719]> Pkgrepo, reading new packagesite.yaml for '/var/db/pkg/repo-pfSense-core.sqlite'
        Processing entries: . done
        pfSense-core repository update completed. 5 packages processed.
        Updating pfSense repository catalogue...
        DBG(1)[58719]> PkgRepo: verifying update for pfSense
        pkg-static: Repository pfSense has a wrong packagesite, need to re-create database
        DBG(1)[58719]> PkgRepo: need forced update of pfSense
        DBG(1)[58719]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
        DBG(1)[58719]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_aarch64-pfSense_plus_v23_09/meta.conf
        DBG(1)[58719]> opening libfetch fetcher
        DBG(1)[58719]> Fetch > libfetch: connecting
        DBG(1)[58719]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_09_aarch64-pfSense_plus_v23_09/meta.conf with opts "i"
        DBG(1)[58719]> Fetch: fetcher chosen: https
        Fetching meta.conf: . done
        DBG(1)[58719]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_aarch64-pfSense_plus_v23_09/packagesite.pkg
        DBG(1)[58719]> opening libfetch fetcher
        DBG(1)[58719]> Fetch > libfetch: connecting
        DBG(1)[58719]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_09_aarch64-pfSense_plus_v23_09/packagesite.pkg with opts "i"
        DBG(1)[58719]> Fetch: fetcher chosen: https
        Fetching packagesite.pkg: .......... done
        DBG(1)[58719]> PkgRepo: extracting packagesite.yaml of repo pfSense
        DBG(1)[59305]> PkgRepo: extracting signature of repo in a sandbox
        DBG(1)[58719]> Pkgrepo, reading new packagesite.yaml for '/var/db/pkg/repo-pfSense.sqlite'
        Processing entries:
        Newer FreeBSD version for package wol:
        To ignore this error set IGNORE_OSVERSION=yes
        - package: 1400094
        - running kernel: 1400073
        Ignore the mismatch and continue? [y/N]: pkg-static: repository pfSense contains packages for wrong OS version: FreeBSD:14:aarch64
        Processing entries... done
        Unable to update repository pfSense
        Error updating repositories!
        

        Now when I go to System Update, it recognizes that the latest base system is 23.09. However, when I confirm to install the updates, I get the following message:

        Another instance of pfSense-upgrade is running.  Try again later.
        

        Any ideas what to do now?
        Tnx.

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

          @alano Follow what Steve says, but for reference https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#upgrade-not-offered-library-errors

          Re “running” did you try restarting it?

          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!

          A 1 Reply Last reply Reply Quote 0
          • A
            alano @SteveITS
            last edited by

            @SteveITS , yes, I restarted it and it still recognizes the newer version, but if I press Confirm, I get the same message, "Another instance... try later".

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

              Ok, try running: pfSense-repoc-static

              Then try upgrading at the command line: pfSense-upgrade -d

              A 1 Reply Last reply Reply Quote 0
              • A
                alano @stephenw10
                last edited by

                @stephenw10 When I run pfSense-repoc-static, I get:

                pkg-static: No package(s) matching pfSense-pkg-*
                pfSense-repoc-static: cannot get package information
                failed to collect the system information.
                

                Am I doing something wrong? I'm running these commands within the GUI command line.

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

                  Nope that's a legitimate error. Try checking the pkg versions: pkg-static info -x pfsense

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    alano @stephenw10
                    last edited by

                    @stephenw10 Here's what I got...

                    pfSense-23.01
                    pfSense-Status_Monitoring-1.8
                    pfSense-base-23.01
                    pfSense-boot-23.01
                    pfSense-default-config-serial-23.01
                    pfSense-kernel-pfSense-23.01
                    pfSense-rc-23.01
                    pfSense-repo-23.01
                    pfSense-repoc-20230418_1
                    pfSense-u-boot-1100-20220428
                    pfSense-u-boot-2100-20210930_1
                    pfSense-u-boot-env-20230123
                    pfSense-upgrade-1.0_65
                    php81-pfSense-module-0.91
                    
                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Ah, OK. It's because you have a bad version of pfSense-upgrade. But since you can still see the repos you should be able upgrade it.

                      Run: pkg-static upgrade pfSense-upgrade

                      It should offer you version 1.2.1. You will have to agree to ignore the mismatch to allow it.

                      You may also need to: pkg-static upgrade pfSense-repoc

                      Steve

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        alano @stephenw10
                        last edited by

                        @stephenw10 Here's what I get...

                        Updating pfSense-core repository catalogue...
                        pfSense-core repository is up to date.
                        Updating pfSense repository catalogue...
                        Fetching meta.conf: . done
                        Fetching packagesite.pkg: .......... done
                        Processing entries:
                        Newer FreeBSD version for package wol:
                        To ignore this error set IGNORE_OSVERSION=yes
                        - package: 1400094
                        - running kernel: 1400073
                        Ignore the mismatch and continue? [y/N]: pkg-static: repository pfSense contains packages for wrong OS version: FreeBSD:14:aarch64
                        Processing entries... done
                        Unable to update repository pfSense
                        Error updating repositories!
                        

                        Not sure how to answer y/N with the GUI command line??

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

                          Better to use the actual command line not the GUI command prompt.

                          But if you have to use the gui you can run: pkg-static upgrade -y pfSense-upgrade

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            alano @stephenw10
                            last edited by

                            @stephenw10

                            Seems to be upgrading now... Will report back later today. Thanks for your help!

                            1 Reply Last reply Reply Quote 1
                            • A
                              alano
                              last edited by

                              Now I'm stuck. After a reboot, no GUI, no command line. I contacted netgate and they sent me a link to pfSense-plus-compat-recovery-23.09.1-RELEASE-aarch64.img, which I flashed on a USB drive, connected to the 1100 and restarted. However nothing.

                              Next steps would be appreciated.

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                alano @alano
                                last edited by

                                @alano

                                I can get to the console, but when I enter my username and password, I get..

                                login: /etc/rc.initial: No such file or directory

                                Not sure how to restore the software back to factory defaults get the device to load the firmware from the USB drive.

                                Please help

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

                                  You are able to connect to the serial console?

                                  What do you see when you try to boot the USB drive? How does it fail?
                                  https://docs.netgate.com/pfsense/en/latest/solutions/sg-1100/reinstall-pfsense.html

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S stephenw10 moved this topic from General pfSense Questions on
                                  • First post
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.