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.
    • F Offline
      flipflip
      last edited by

      It's ok now.

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

        Hello flipflip

        i've the identical problem

        [2.4.1-RELEASE][admin@pfsense.home]/var/db/pkg: pkg update -f
        Updating pfSense-core repository catalogue…
        pkg: Repository pfSense-core load error: access repo file(/var/db/pkg/repo-pfSense-core.sqlite) failed: No such file or directory

        [2.4.1-RELEASE][admin@pfsense.home]/var/db/pkg: nslookup pfsense.org
        Server:        127.0.0.1
        Address:        127.0.0.1#53

        Non-authoritative answer:
        Name:  pfsense.org
        Address: 208.123.73.69
        Name:  pfsense.org
        Address: 2610:160:11:11::69

        what solution did you find?

        Thank you

        1 Reply Last reply Reply Quote 0
        • C Offline
          cm216
          last edited by

          I'm not sure if I have the exact same issue or not.
          I successfully upgraded to 2.4.2, and now I can't reinstall packages because when I look at the Available Packages page nothing comes up.
          I don't get any errors either.  The installed packages page works fine.
          Any thoughts?

          1 Reply Last reply Reply Quote 0
          • 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.