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

    Package Manger Issue

    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.
    • G Offline
      guardian Rebel Alliance
      last edited by

      I'm not sure exactly when it happened, but it was as a result of one of the upgrades from
      2.3 to 2.3.2 when I try to display either Installed packages / Available packages,
      all I get a message "Unable to retrieve package information"

      Any suggestions as to how to fix this?

      If you find my post useful, please give it a thumbs up!
      pfSense 2.7.2-RELEASE

      1 Reply Last reply Reply Quote 0
      • G Offline
        guardian Rebel Alliance
        last edited by

        I went through the logs and found this….

        Feb 16 16:35:59 	xinetd 	29963 	Reconfigured: new=0 old=1 dropped=0 (services)
        Feb 16 16:35:59 	xinetd 	29963 	readjusting service 6969-udp
        Feb 16 16:35:59 	xinetd 	29963 	Swapping defaults
        Feb 16 16:35:59 	xinetd 	29963 	Starting reconfiguration
        Feb 16 16:35:58 	xinetd 	29963 	Reconfigured: new=0 old=1 dropped=0 (services)
        Feb 16 16:35:58 	xinetd 	29963 	readjusting service 6969-udp
        Feb 16 16:35:58 	xinetd 	29963 	Swapping defaults
        Feb 16 16:35:58 	xinetd 	29963 	Starting reconfiguration
        Feb 16 16:35:57 	check_reload_status 		Reloading filter
        Feb 16 16:35:57 	php-fpm 	18800 	/rc.start_packages: The command '/sbin/ifconfig 'em1' delete '172.16.0.200'' returned exit code '1', the output was 'ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address'
        Feb 16 16:35:57 	php-fpm 	18800 	[pfBlockerNG] Starting cron process.
        Feb 16 16:35:57 	check_reload_status 		Reloading filter
        Feb 16 16:35:57 	check_reload_status 		Syncing firewall
        Feb 16 16:35:55 	php-fpm 	18800 	/rc.start_packages: The command '/usr/local/etc/rc.d/syslog-ng.sh stop' returned exit code '1', the output was ''
        Feb 16 16:35:50 	supervise/syslog-ng 	82446 	Daemon exited gracefully, not restarting; exitcode='0'
        Feb 16 16:35:50 	php-fpm 	18800 	/rc.start_packages: Reloading syslog-ng for configuration sync
        Feb 16 16:35:50 	php-fpm 	18800 	/rc.start_packages: Restarting/Starting all packages.
        Feb 16 16:35:49 	xinetd 	29963 	Reconfigured: new=0 old=1 dropped=0 (services)
        Feb 16 16:35:49 	xinetd 	29963 	readjusting service 6969-udp
        Feb 16 16:35:49 	xinetd 	29963 	Swapping defaults
        Feb 16 16:35:49 	xinetd 	29963 	Starting reconfiguration
        Feb 16 16:35:48 	check_reload_status 		Starting packages
        Feb 16 16:35:48 	check_reload_status 		Reloading filter
        Feb 16 16:35:46 	check_reload_status 		Syncing firewall 
        

        The address '172.16.0.200'' is coming from the  DNSBL Virtual IP in pfBlocker which is currently deactivated.

        I have also noticed that the DNS resolver is also throwing errors trying to resolve host names in aliases.  (hostname removed for security)

        Feb 16 16:47:55 filterdns failed to resolve host xxxxxxxxxxxxxxxxxxxxxxx will retry later again.

        I don't know if this is a firewall issue (WAN has an allow any/any/any as the top rule) and there is nothing in the logs.

        DNS resolution is working on clients and I can still surf the net.

        from a root shell

        host google.com FAILS
        ;; connection timed out; no servers could be reached

        ping 8.8.8.8  Works
        PING 8.8.8.8 (8.8.8.8): 56 data bytes
        64 bytes from 8.8.8.8: icmp_seq=0 ttl=56 time=33.534 ms

        Any suggestions would be much appreciated.

        If you find my post useful, please give it a thumbs up!
        pfSense 2.7.2-RELEASE

        1 Reply Last reply Reply Quote 0
        • RonpfSR Offline
          RonpfS
          last edited by

          @guardian:

          The address '172.16.0.200'' is coming from the  DNSBL Virtual IP in pfBlocker which is currently deactivated.

          This bug should be fixed in the next release of pfBlockerNG.

          2.4.5-RELEASE-p1 (amd64)
          Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
          Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

          1 Reply Last reply Reply Quote 0
          • G Offline
            guardian Rebel Alliance
            last edited by

            @RonpfS:

            @guardian:

            The address '172.16.0.200'' is coming from the  DNSBL Virtual IP in pfBlocker which is currently deactivated.

            This bug should be fixed in the next release of pfBlockerNG.

            Thank you, that is good to know…. but until that happens is there a way that I can use the command line to uninstall the package (or maybe all packages) so that I can get my system working again.

            If you find my post useful, please give it a thumbs up!
            pfSense 2.7.2-RELEASE

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

              The error for DNSBL is a notice msg. It was trying to delete the DNSBL vip address that was assigned to that IP, but the DNSBL vip was not assigned when the code ran.

              That error won't cause you any issues.

              "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
              • G Offline
                guardian Rebel Alliance
                last edited by

                Thanks BBcan177…. (and to the others who put so much work into pfSense.)

                I'm going to fork this post because I think there are multiple issues:

                • Fundamental design issues that may need to be addressed in pfSense - documented below

                • My current problem which is either an Unbound problem or a configuration error on my part - I'll start a new thread for this.

                I'm wondering if I am the only one having these problems with the package manager, or if there is an easy work around from the command line that I may not be aware of.

                Possible design issues with Package Manager

                Background
                All my package manager became totally nonfunctional after a restore.
                I wanted to restore my configuration but uninstall pfBlocker temporarily
                but couldn't because the package manger wasn't working.

                Issue #1

                Assumption
                If I understand the way things are operating the operation of the installed package list is dependent
                upon fully functional Internet connectivity - have I got that part correct?

                Problem
                If this is the case, then a package update that causes a loss of Internet connectivity creates a major
                problem because there is no easy way to uninstall it. Or am i missing something?

                Suggestion 1
                I would think that the installed packages should be displayed from the running config file (even if
                it's just a degraded form to allow removal).

                Issue #2

                Assumption
                Also if I understand things correctly there is no easy way to reload all backup items EXCEPT 1 or 2.

                Problem
                Partial restores are very messy/error prone.  It is necessary to do about 20 separate restores-one
                for each item on the drop down list EXCEPT the one to be excluded.  Easy to forget one, or make
                an error.  A partial restore may also cause other problems as well.

                Suggestion
                Make the restore UI a series of check boxes so that allow easy selection.  If code to reload the config
                can reload one section, it should be easy to implement this change.

                If you find my post useful, please give it a thumbs up!
                pfSense 2.7.2-RELEASE

                1 Reply Last reply Reply Quote 0
                • D Offline
                  doktornotor Banned
                  last edited by

                  pkg does NOT work offline:

                  • https://redmine.pfsense.org/issues/6594

                  pkg behaves like a severe Alzheimer

                  • https://redmine.pfsense.org/issues/6782

                  Switch to DNS forwarder to get DNS working if you are unable to fix it manually.

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

                    @guardian:

                    All my package manager became totally nonfunctional after a restore.
                    I wanted to restore my configuration but uninstall pfBlocker temporarily
                    but couldn't because the package manger wasn't working.

                    Maybe this was your issue?
                    https://redmine.pfsense.org/issues/6603

                    "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.