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

    Cleanup package mess caused by restoring config

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 3.0k 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.
    • P Offline
      pftdm007
      last edited by

      When I reinstalled pfsense (2.2) I restored my config from a backup file that had been created on a previous pfsense release.  The restore feature tried to install some packages that are no longer supported and are leaving traces everywhere.

      For example

      In the services menu I see an entry for "Zabbix2 Agent", this should not be there as the package is not installed.  If I click on this entry I get "No valid package defined."

      In the Status > Services I see "ntop" and "zabbix_agentd " that are both "stopped" and cannot be started (of course they're not installed).

      In the Status menu I see "Vnstat2", this should not be there as the package is not installed.  If I click on this entery I get "No valid package defined."

      How do I cleanup the mess caused by the restore?

      1 Reply Last reply Reply Quote 0
      • P Offline
        pftdm007
        last edited by

        I found this Reddit thread where the OP has the same issue:

        https://www.reddit.com/r/PFSENSE/comments/4hnmw5/remove_orphaned_package_listing_after_upgrade_to/

        Someone recommended to play with config.xml… Is there a better/more "enterprise" way of solving this mess?

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

          Backup the config, check "do not backup package information", then restore that config. It will remove all package info, settings, etc.

          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
          • P Offline
            pftdm007
            last edited by

            Your suggestion actually worked quite well, writing this down for next time I clutter pfsense!!

            Thanks!

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