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

    [Solved] Corrupt config? Failed packages upgrade etc.

    Scheduled Pinned Locked Moved pfSense Packages
    11 Posts 4 Posters 3.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.
    • BBcan177B
      BBcan177 Moderator
      last edited by

      See if this Link helps you fix the issue.

      https://forum.pfsense.org/index.php?topic=65246.0

      "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
      • S
        SkyNET
        last edited by

        It seems that connecting to the source is not a problem. Although installing the package is.

        
        Beginning package installation for nmap .
        Downloading package configuration file... done.
        Saving updated package information... done.
        Downloading nmap and its dependencies... 
        Checking for package installation... 
         Downloading https://files.pfsense.org/packages/amd64/8/All/nmap-6.40_2-amd64.pbi ...  (extracting)
        Loading package configuration... done.
        Configuring package components...
        Additional files... nmap.inc failed.
        Removing package...
        Starting package deletion for nmap-6.40_2-amd64...done.
        Removing nmap components...
        Menu items... done.
        Loading package instructions...
        Include file nmap.inc could not be found for inclusion.
        Removing package instructions...done.
        Auxiliary files... done.
        Package XML... done.
        Configuration... done.
        done.
        Failed to install package.
        
        Installation halted.
        
        1 Reply Last reply Reply Quote 0
        • P
          phil.davis
          last edited by

          I just installed nmap on a 32-bit 2.2 snapshot:

          Beginning package installation for nmap .
          Downloading package configuration file... done.
          Saving updated package information... done.
          Downloading nmap and its dependencies... 
          Checking for package installation... 
           Downloading https://files.pfsense.org/packages/10/All/nmap-6.40_2-i386.pbi ...  (extracting)
          Loading package configuration... done.
          Configuring package components...
          Additional files... done.
          Loading package instructions...
          Custom commands...
          Menu items... done.
          Writing configuration... done.
          
          Installation completed.   Please check to make sure that the package is configured from the respective menu then start the package.
          

          This message in your output is not good:

          Include file nmap.inc could not be found for inclusion.
          

          That file came fine for me:

          ----rwxrwx  1 root  wheel  3678 May  1 14:45 /usr/local/pkg/nmap.inc
          

          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

          1 Reply Last reply Reply Quote 0
          • S
            SkyNET
            last edited by

            Just tried the new nmap 6.46 but it still shows that i'm missing the included nmap.inc file.
            I also checked the /usr/local/pkg folder. And indeed there was no file called nmap.inc

            Same story goes for other packages when I try to update them.

            Beginning package installation for nmap .
            Downloading package configuration file... done.
            Saving updated package information... done.
            Downloading nmap and its dependencies... 
            Checking for package installation... 
             Downloading https://files.pfsense.org/packages/amd64/8/All/nmap-6.46-amd64.pbi ...  (extracting)
            Loading package configuration... done.
            Configuring package components...
            Additional files... nmap.inc failed.
            Removing package...
            Starting package deletion for nmap-6.46-amd64...done.
            Removing nmap components...
            Menu items... done.
            Loading package instructions...
            Include file nmap.inc could not be found for inclusion.
            Removing package instructions...done.
            Auxiliary files... done.
            Package XML... done.
            Configuration... done.
            done.
            Failed to install package.
            
            Installation halted.
            

            After this, when I click on packages, the package menu looks strange. Not how it suppose to look. (see picture)
            It seems to fix it self after some time. Strange behavior if you ask me..
            If I can provide more information, please let me know.

            packages.PNG
            packages.PNG_thumb

            1 Reply Last reply Reply Quote 0
            • S
              SkyNET
              last edited by

              Interesting behavior pinging packages.pfsense.org via the CLI.

              I added a rule of the local-IP of the pfsense box to pfsense config itself to allow communication to al destinations. Did not work either.

              cli.PNG
              cli.PNG_thumb

              1 Reply Last reply Reply Quote 0
              • S
                SkyNET
                last edited by

                [Solved]

                Turning OFF Snort did the trick for me. Somehow snort did not like the traffic going to packages.pfsense.org and blocked all IP's to that destination.
                Explains why the menu fixed it self after some time.

                So disabling the Snort service worked for me!

                Nmap is now successfully installed. Hope this still might help some others. Thanks for the support!

                1 Reply Last reply Reply Quote 0
                • bmeeksB
                  bmeeks
                  last edited by

                  @SkyNET:

                  [Solved]

                  Turning OFF Snort did the trick for me. Somehow snort did not like the traffic going to packages.pfsense.org and blocked all IP's to that destination.
                  Explains why the menu fixed it self after some time.

                  So disabling the Snort service worked for me!

                  Nmap is now successfully installed. Hope this still might help some others. Thanks for the support!

                  You need to look on the ALERTS and/or BLOCKED tabs in Snort and either add Suppress List entries for the rules that triggered on packages.pfsense.org or disable those rules entirely.  You can, by clicking the plus (+) icon next to the IP address for packages.pfsense.org, add a suppress list entry to track for that IP only.  That will prevent future alerts and blocks on that IP.

                  If I recall, there are some HTTP_INSPECT false positives that are frequently triggered by the pfSense site and many others as well.  There is long thread here in the Packages Forum with suggestions for a comprehensive Suppress List configuration.

                  Bill

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

                    Bill, would it be beneficial to add the pfsense package repo to the whitelist page as a checkbox option? I personally haven't had this issue but if you look at the link I sent originally, Jimp had made the recommendation to check for a Snort block so I assume that it has happened to a few users.

                    "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
                    • bmeeksB
                      bmeeks
                      last edited by

                      @BBcan17:

                      Bill, would it be beneficial to add the pfsense package repo to the whitelist page as a checkbox option? I personally haven't had this issue but if you look at the link I sent originally, Jimp had made the recommendation to check for a Snort block so I assume that it has happened to a few users.

                      While not a bad idea, if the IP address changed, then it would become a false "fix" and folks would assume it was working when it in fact might not be.

                      Bill

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

                        @bmeeks:

                        While not a bad idea, if the IP address changed, then it would become a false "fix" and folks would assume it was working when it in fact might not be.

                        If pfSense could fix the code to allow domain names it would be really beneficial.

                        Couldn't an alias be setup as packages.pfsense.org and at each interface restart, it would perform a

                        dig packages.pfsense.org +short as the ip address?

                        I assume that the repo is coded in the update page and could be extracted.

                        Just a thought.

                        "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
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.