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

    Missing package repository after failed upgrade to 23.01. Please help

    General pfSense Questions
    3
    9
    1.4k
    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.
    • F
      furom
      last edited by furom

      Hi,

      I upgraded my 2100 to 23.01 and hit a now confirmed bug unfortunately. I reverted to 22.05 and thought I was back where I started. But... In this process things got messed up. I have no available packages in gui so went into ssh and did a pkg-static info pfSense-repo. This however told me pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
      So I did...

      pkg bootstrap -f
      The package management tool is not yet installed on your system.
      Do you want to fetch and install it now? [y/N]: y
      Bootstrapping pkg from pkg+https://repo.netgate.com/pkg/pfSense_plus-v23_01_aarch64-pfSense_plus_v23_01, please wait...
      Could not load client key /etc/thoth/key.pem
      Could not load client key /etc/thoth/key.pem
      Could not load client key /etc/thoth/key.pem
      Could not load client key /etc/thoth/key.pem
      Could not load client key /etc/thoth/key.pem
      Could not load client key /etc/thoth/key.pem
      pkg: Error fetching https://repo.netgate.com/pkg/pfSense_plus-v23_01_aarch64-pfSense_plus_v23_01/Latest/pkg.txz: Authentication error
      A pre-built version of pkg could not be found for your system.
      Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
      

      I don't know what to do next. I am on 22.05 without packages, need sudo to fix the bug (remove a bit of config-leftover) and then upgrade to 23.01. Please help me get at least sudo installed (I suppose the rest will be made available during the upgrade?)

      Thanks

      JonathanLeeJ S 2 Replies Last reply Reply Quote 0
      • JonathanLeeJ
        JonathanLee @furom
        last edited by

        @furom https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/reinstall-pfsense.html

        I did a BareMetal install it worked better than the in-place upgrade. That is what I recommend. If you have a saved configuration, it is smooth !!!!

        Make sure to upvote

        F 1 Reply Last reply Reply Quote 1
        • S
          SteveITS Galactic Empire @furom
          last edited by SteveITS

          @furom short term, they’ve halted the 1100/2100 updates to 23.01.

          Does your update branch setting show it’s on 22.05 or 23.01? Try changing your update branch to Previous (22.05) , wait a minute, and back to Current.

          To install packages and not bork pfSense the branch needs to be the same as your pfSense version.

          https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#upgrade-not-offered-library-errors

          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!

          F 2 Replies Last reply Reply Quote 1
          • F
            furom @JonathanLee
            last edited by

            @jonathanlee said in Missing package repository after failed upgrade to 23.01. Please help:

            @furom https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/reinstall-pfsense.html

            I did a BareMetal install it worked better than the in-place upgrade. That is what I recommend. If you have a saved configuration, it is smooth !!!!

            Thanks, I did that too but a left-over switch config mess things up for me. I suppose I should remove that before trying again, but really don't know. Yeah, I have the config I need so should perhaps give it a go again... Now a little afraid the issue I have is present on 23.01 as well (I never checked the packages before reverting)

            JonathanLeeJ 1 Reply Last reply Reply Quote 0
            • F
              furom @SteveITS
              last edited by furom

              @steveits said in Missing package repository after failed upgrade to 23.01. Please help:

              @furom short term, they’ve halted the 1100/2100 updates to 23.01.

              Does your update branch setting show it’s on 22.05 or 23.01? Try changing your update branch to Previous (22.05) , wait a minute, and back to Current.

              To install packages and not bork pfSense the branch needs to be the same as your pfSense version.

              https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#upgrade-not-offered-library-errors

              Nice one! I just assumed it was set to whatever version I was running, but you nailed it. It happily says 23.01 despite running 22.05. Will change and retry... :)

              Edit: Changed to Previous 22.05 and viola! I once again have packages available. Installing sudo now. Hopeful for a flash later if this works out. Thanks guys! :)

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

                @furom unfortunately it does not stop you from installing later version packages which is a problem if it tries to update, say, PHP.

                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!

                1 Reply Last reply Reply Quote 0
                • F
                  furom @SteveITS
                  last edited by

                  @steveits said in Missing package repository after failed upgrade to 23.01. Please help:

                  @furom short term, they’ve halted the 1100/2100 updates to 23.01.

                  Ah, didn't know that. I seem to be in a somewhat limbo anyways so I can just as well give it a go again. It could get worse, but believe it will work out.. (knock-on-wood)

                  1 Reply Last reply Reply Quote 0
                  • JonathanLeeJ
                    JonathanLee @furom
                    last edited by

                    @furom I had issues with the watchdog restarting squid durring the package reinstall in the past. so now I always disable it save the configuration and download that one. Last night I had to disable my 12am timer where the internet goes down rules also so I could complete the bare metal install because I started it around 11:45. For me the fresh install solved all my issues so far.

                    Make sure to upvote

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      furom @JonathanLee
                      last edited by

                      @jonathanlee said in Missing package repository after failed upgrade to 23.01. Please help:

                      For me the fresh install solved all my issues so far.

                      I'm happy to hear that. I am still in the midst of things, but one of these days I'll get it. :)

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