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

    Disable uninstall & reinstall packages after restore a config on pfSense 2.6.0

    Scheduled Pinned Locked Moved General pfSense Questions
    pfsense 2.6.0
    3 Posts 3 Posters 723 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.
    • A
      alivdel
      last edited by

      Hello,

      I want to know if there is a way to deactivate triggering packages reinstallation in background on pfSense 2.6.0.

      Thanks.

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @alivdel
        last edited by

        @alivdel

        That's an easy one.

        After pfSense, do not use the 'import config' under DiagnosticsBackup & RestoreBackup & Restore.

        Or, bit more tricky : before you import the config.xml, remove the list with 'installed' packages from the config.xml.
        The config.xml can be edited. Just keep in mind : All errors you make will back fire ;)

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 1
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by stephenw10

          Yeah just do that.
          It is possible to disable the pkg reinstall process but not in any easy way. For example if you interrupt the boot and go into single user mode you can remove the 'needs_package_sync' file from /conf. If you're running ZFS that's a bit involved but possible.

          https://docs.netgate.com/pfsense/en/latest/troubleshooting/single-user-mode.html#single-user-mode-zfs

          You could probably also comment out the check in rc.bootup but that's likely more error prone.

          Steve

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