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

    Unable to download any packages

    Scheduled Pinned Locked Moved pfSense Packages
    18 Posts 4 Posters 2.5k 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.
    • F
      fearnothing
      last edited by

      Hi, I've recently noticed a problem with not being able to download any packages. I don't know how long this has been a thing as I haven't tried to install any new ones or update old ones for quite a few months. All I get is:

      Beginning package installation for [package] .
      Downloading package configuration file…

      And there it stays. There are no entries in my firewall logs or system logs that give any clues. What do I look at next to troubleshoot this?

      Also it may not be relevant but in my pfsense version section I've been getting an error "Fatal error: Call to undefined function curl_init() in /etc/inc/pfsense-utils.inc on line 1641". Is that a separate problem?

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Which version of pfSense are you running?

        1 Reply Last reply Reply Quote 0
        • F
          fearnothing
          last edited by

          2.15-RELEASE, last updated in August.

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            I forgot to ask if you're running a nano version on hardware or the standard version on a PC or virtual machine.

            1 Reply Last reply Reply Quote 0
            • F
              fearnothing
              last edited by

              Standard in a VM, ESXi 5.10.

              1 Reply Last reply Reply Quote 0
              • KOMK
                KOM
                last edited by

                The curl error may apply since curl transfers data.  If pfSense uses curl to download updates and it's barfing, that would explain your lack of updates.  A quick search shows someone else had this same problem without solution, unfortunately.

                1 Reply Last reply Reply Quote 0
                • F
                  fearnothing
                  last edited by

                  If it was a curl error shouldn't I get system log messages?

                  1 Reply Last reply Reply Quote 0
                  • KOMK
                    KOM
                    last edited by

                    Well, you would think so.  Ever since FreeBSD deprecated the 8.3 stuff and moved it to a different FTP server, it caused problems for some packages.  2.2 will be out soon.  Perhaps an upgrade may fix your issue.

                    1 Reply Last reply Reply Quote 0
                    • C
                      cmb
                      last edited by

                      Re-upgrading to 2.1.5 should fix, you most likely were using pkg_add to install something that overwrote and broke php-curl.

                      @KOM:

                      Ever since FreeBSD deprecated the 8.3 stuff and moved it to a different FTP server, it caused problems for some packages.

                      All the stock built-in packages are pulled only from us and have no such issues. If you're getting in and mucking with pkg_add, yes that's the case.

                      1 Reply Last reply Reply Quote 0
                      • F
                        fearnothing
                        last edited by

                        Still have this issue; any suggestions that would be less of a PITA than a complete reinstall?

                        1 Reply Last reply Reply Quote 0
                        • C
                          cmb
                          last edited by

                          You don't need to reinstall, just re-apply the update file for the same version you're already on and it'll fix.

                          1 Reply Last reply Reply Quote 0
                          • F
                            fearnothing
                            last edited by

                            That sounds good, would you mind pointing me to the instructions on how to do that please?

                            1 Reply Last reply Reply Quote 0
                            • F
                              fearnothing
                              last edited by

                              Ok, I just tried that. It didn't work. What's next?

                              1 Reply Last reply Reply Quote 0
                              • BBcan177B
                                BBcan177 Moderator
                                last edited by

                                @fearnothing:

                                Ok, I just tried that. It didn't work. What's next?

                                Is this happening for all packages? or just one in particular?

                                "Experience is something you don't get until just after you need it."

                                Website: http://pfBlockerNG.com
                                Twitter: @BBcan177  #pfBlockerNG
                                Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                                1 Reply Last reply Reply Quote 0
                                • F
                                  fearnothing
                                  last edited by

                                  All packages; also note the error message I mentioned that appears on the dashboard where pfsense's update status would normally be.

                                  1 Reply Last reply Reply Quote 0
                                  • BBcan177B
                                    BBcan177 Moderator
                                    last edited by

                                    Can you ping packages.pfsense.org ? Is IPv6 disabled?

                                    "Experience is something you don't get until just after you need it."

                                    Website: http://pfBlockerNG.com
                                    Twitter: @BBcan177  #pfBlockerNG
                                    Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      fearnothing
                                      last edited by

                                      Yes, and no. Although when I tried disabling it, there was no change.

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        fearnothing
                                        last edited by

                                        [bump] last call for help before I just nuke and pave.

                                        Update 28/02 for anyone who encounters a similar problem:
                                        Backed up configuration, nuked, paved, restored config. Issue was resolved. My guess is that an update failed in the middle of writing files or something similar and borked some download functions.

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