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

    Pfsense 'Clear Package Lock' not working

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    4 Posts 2 Posters 1.2k 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.
    • randombitsR
      randombits
      last edited by randombits

      I've had PFsense running for while and wanted to change from a 3.5in 500gb HD to a 2.5in 80gb I have. I first made a copy of the config from Back and Restore and installed a freshly downloaded ISO onto the 2.5in HD - I used Ventoy which VERY good BTW.

      All went well with the new install until I restored the config.xml back in, everything is working apart from I get the annoying message -

      'Packages are currently being reinstalled in the background.
      Do not make changes in the GUI until this is complete.
      If the above message is still displayed after a couple of hours, use the 'Clear Package Lock' button on the Diagnostics > Backup & Restore page and reinstall packages manually.

      (I left it overnight to reinstall itself)

      Which never goes away even after a reboots. I've tried unlocking and click reinstall packages but that fails owing to a lock on another package, just gives an ID. I really don't want to manually start from square one as it seems pointless to have 'Backup and Restore'.

      1 Reply Last reply Reply Quote 0
      • randombitsR
        randombits
        last edited by randombits

        I've started over with a fresh install, reloaded all the packages I use first then ran a config reinstall and still I get the same package lock.

        Any ideas what I can do ?

        screencapture-pfsense-pkg-mgr-installed-php-2020-09-18-18_24_40.png screencapture-pfsense-2020-09-18-18_27_07.png

        Clicking Start Service fails ...

        1 Reply Last reply Reply Quote 0
        • O
          oldlongjohnson
          last edited by

          This happens to me as well any time I try to restore packages from the config.

          I found 2 solutions, neither are optimal:

          1. Ignore the message, remove and reinstall the packages manually through the interface, then reboot. Your configs for the packages will be available. I'm sure this has the potential to cause a problem, but hasnt for me.

          2. Restore everything BUT package configs from the backup, reinstall the packages, then restore the package configs. This is tedious obviously, but it lets you install the packages manually and then restore their configs on top.

          Im wondering now if you could just install the packages as the first step, then restore the entire config. Never tried that but im assuming it would also solve the issue. I cant really try this since I have to restore my interface and PPPoE configs before I even have an internet connection, so I usually go with option 2. Just as a blind guess I would think this is probably the issue, packages probably get restored before all the other config areas necessary to have a working WAN connection, and arent marked for retry properly when the internet is available again. Just a complete guess though, I have no no real basis for it.

          1 Reply Last reply Reply Quote 0
          • randombitsR
            randombits
            last edited by

            The solution that worked for me is here, https://forum.netgate.com/topic/156964/how-do-i-change-hard-drive-on-a-working-install?_=1604859343667

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