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

    Ver 22.05 - Unable to check for updates, pkg info reports invalid url

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 4 Posters 1.1k 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.
    • S
      sheetsg77
      last edited by

      on dashboard, I get message "Unable to check for updates"

      on SystemPackage ManagerInstalled Packages, I get "There are no packages currently installed." when infact, packages are loaded and operational (i.e. pfBlockerNG)

      in shell, running "pkg info" returns

      pkg: invalid url: /pfSense_plus-v22_05_amd64-core
      pkg: Cannot parse configuration file!
      
      Any ideas what to look at/for?
      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @sheetsg77
        last edited by

        @sheetsg77

        Check and try this.

        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 2
        • S
          sheetsg77
          last edited by

          Yup, going to System/Update and changing to "Experimental", waiting for spinning wheel to finish, then changing back to "Stable" fixed the issue. Strange, but it worked.

          Thanks

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

            @sheetsg77

            Swapping the repository, from stable to dev to stable, forces the system download a new repository file. This new file will be good.
            ( my way of understanding things )

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

            bingo600B 1 Reply Last reply Reply Quote 0
            • bingo600B
              bingo600 @Gertjan
              last edited by

              @gertjan said in Ver 22.05 - Unable to check for updates, pkg info reports invalid url:

              @sheetsg77

              Swapping the repository, from stable to dev to stable, forces the system download a new repository file. This new file will be good.
              ( my way of understanding things )

              That is correct ...
              Netgate "Borked" a repos update (repos URL was not complete), that was active for some hours. Any "Box" pulling an update during that time , was left with an invalid repos update file.

              Switching to dev and back to stable, will pull the latest/"Non Borked" stable repos file.

              /Bingo

              If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

              pfSense+ 23.05.1 (ZFS)

              QOTOM-Q355G4 Quad Lan.
              CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
              LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

              GertjanG 1 Reply Last reply Reply Quote 2
              • GertjanG
                Gertjan @bingo600
                last edited by

                @bingo600

                Does this implies that, ones a bad /usr/local/etc/pkg/repos/pfSense.conf ( /usr/local/share/pfSEnse/pkg/repos/pfSense.conf) has been pulled in, update requests are impossible as long as admin doesn't correct things ?

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

                bingo600B stephenw10S 2 Replies Last reply Reply Quote 0
                • bingo600B
                  bingo600 @Gertjan
                  last edited by

                  @gertjan
                  Yep

                  See
                  https://forum.netgate.com/post/1062012

                  Bad

                  pfSense-core: {
                    url: "/pfSense_plus-v22_05_amd64-core",
                  

                  Updated/fixed:

                  pfSense-core: {
                    url: "pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core",
                  

                  If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                  pfSense+ 23.05.1 (ZFS)

                  QOTOM-Q355G4 Quad Lan.
                  CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                  LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                    @gertjan said in Ver 22.05 - Unable to check for updates, pkg info reports invalid url:

                    Does this implies that, ones a bad /usr/local/etc/pkg/repos/pfSense.conf ( /usr/local/share/pfSEnse/pkg/repos/pfSense.conf) has been pulled in, update requests are impossible as long as admin doesn't correct things ?

                    Yes, though that file is only a sym-link to the repo files in /usr/local/share/pfSense/pkg/repos/.
                    Those files are provided by the repo pkg and that's what was broken for a short time.

                    Steve

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