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

    2.4.1 Package Manager Unable to retrieve package information

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    17 Posts 13 Posters 11.9k Views 3 Watching
    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.
    • K Offline
      kall57
      last edited by

      I install pfsense with 2.4.2 and then push the backup file.

      Packets now work properly again  ;D

      I think the problem had to come from 2.4.1

      1 Reply Last reply Reply Quote 0
      • J Offline
        JustCallMeWoo
        last edited by

        "pkg upgrade pkg" command fixed it for me… read on...

        I upgraded from 2.3.x to 2.4.2_1 (multi stage upgrade and had to jump through a few hoops). I had the exact same issue with not being able to retrieve package info. Everything I found online didn't work (DNS, option 13 at console/ssh, pkg update command...). Eventually I found a post on some site that said to run "pkg update" and then "pkg upgrade pkg". I'm not linking the site because it contains content that drove my Norton Anti-Virus crazy. As soon as I ran "pkg upgrade pkg" at the console, I refreshed the 'Installed Packages' page and bam... fixed.

        1 Reply Last reply Reply Quote 0
        • S Offline
          siwar
          last edited by

          hi anyone can help me please my pfsense  2.4.2

          i can't install any package

          i try "pkg upgrade pkg"
          but dos't working  :( :( :(

          123.png
          123.png_thumb
          12.png
          12.png_thumb

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            @siwar:

            hi anyone can help me please my pfsense  2.4.2

            i can't install any package

            i try "pkg upgrade pkg"
            but dos't working  :( :( :(

            Fix your connectivity (WAN, default gateway) and/or fix your DNS resolution. The firewall itself cannot reach DNS servers to resolve a hostname.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • T Offline
              tonylopez1023
              last edited by

              In order to fix this problem, asuming that yours internet connection is working, you only need to fix the clock changing the host value in your NTP's client settings according to your region or country in the admin panel.

              And then you can successfully update your pkg repositories within the shell:

              pkg update
              pkg upgrade

              E 1 Reply Last reply Reply Quote 0
              • K Offline
                konradosa
                last edited by konradosa

                okay so I spent quite a bit of time investigating (version 2.4.2) why I cannot install a single package. I checked most of the options mentioned above, but in my case the problem was hidden in System > Routing > Gateways .... both on LAN and WAN interface settings the Default Gateway check box was checked...that is why all the DNS calls went out via the LAN GW and not out to the internet. Once I unchecked the box for LAN interface, all worked like a charm. There can only be one default gateway, rest has to be fixed with static routing!

                1 Reply Last reply Reply Quote 1
                • GrimsonG Offline
                  Grimson Banned
                  last edited by

                  So, why do you have a gateway on your LAN interface?

                  K 1 Reply Last reply Reply Quote 0
                  • K Offline
                    konradosa @Grimson
                    last edited by

                    @grimson we route management traffic via LAN (in this case transfer / DMZNet vlan, with a next hop on the other side, hence the dedicated GW on that interface) and the rest via WAN with its default gateway. I do not want to discuss my network topology here. I just hope that my post can save someone's time and frustration I went through. I guess it would be a nice feature to "limit" the option to have more than one default gateway selected as this caused the problem in the first place.

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      EricAtNetgate @tonylopez1023
                      last edited by

                      @tonylopez1023
                      [2.4.5-RELEASE][admin@mypfsense.local.lan]/root: pkg update
                      Updating pfSense-core repository catalogue...
                      pkg: https://repo.netgate.com/pkg/pfSense_factory-v2_4_5_aarch64-core/meta.txz: Bad Request
                      repository pfSense-core has no meta file, using default settings
                      pkg: https://repo.netgate.com/pkg/pfSense_factory-v2_4_5_aarch64-core/packagesite.txz: Bad Request
                      Unable to update repository pfSense-core
                      Updating pfSense repository catalogue...
                      pkg: https://repo.netgate.com/pkg/pfSense_factory-v2_4_5_aarch64-pfSense_factory-v2_4_5/meta.txz: Bad Request
                      repository pfSense has no meta file, using default settings
                      pkg: https://repo.netgate.com/pkg/pfSense_factory-v2_4_5_aarch64-pfSense_factory-v2_4_5/packagesite.txz: Bad Request
                      Unable to update repository pfSense
                      Error updating repositories!

                      my brand new 1100... unpacked it today. Package manager is not working at all :-(

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        rcoleman-netgate Netgate @EricAtNetgate
                        last edited by rcoleman-netgate

                        @ericatnetgate Please open a ticket at https://www.netgate.com/tac-support-request to request the current firmware!

                        Ryan
                        Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                        Requesting firmware for your Netgate device? https://go.netgate.com
                        Switching: Mikrotik, Netgear, Extreme
                        Wireless: Aruba, Ubiquiti

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