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

    Uninstall packages AFTER download?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 4 Posters 785 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.
    • M
      mzac
      last edited by

      I was just wondering if it would make more sense that when package updates are available that maybe pfsense should download the packages BEFORE un-installing the new version.

      I had problems about 2 weeks ago with the latest upgrade that the snort package wasn't available and since it un-installed before downloading I lost my snort install.

      Thoughts?

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        Yes, I agree, it would be better if the package download happened first - all the PBIs and individual files got saved somewhere local. Then when all that is successful, start the real deinstall/reinstall code.

        I would also like to see the download try much harder - I have lots of sites with rubbish internet. On Windows, for example, I use "robocopy" to transfer files across site-to-site OpenVPN and it will keep trying for as long as you tell it to try, resuming where it left off when it manages to connect again. I would love it if there was a user-specifiable parameter somewhere telling how many times/how long or whatever to keep retrying before giving up.

        If someone(s) cares enough to come up with a design of how the process would flow and where the temporary files get saved, and then code it, I guess it would be accepted.

        Note: There might be some systems that are very tight on disk space (512MB and 1GB nanoBSD on CF/SD card) where it might be necessary to deinstall first just to make enough disk space? (and yes, 512MB installs do not auto-upgrade any more, so should soon stop being supported IMHO).

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

          @mzac:

          I was just wondering if it would make more sense that when package updates are available that maybe pfsense should download the packages BEFORE un-installing the new version.

          I had problems about 2 weeks ago with the latest upgrade that the snort package wasn't available and since it un-installed before downloading I lost my snort install.

          Thoughts?

          I agree as well that this is a great idea.  Have you submitted this as a feature request on https://redmine.pfsense.org/?  That's where the Core Team developers are most likely to see it.

          Bill

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

            https://redmine.pfsense.org/issues/3501
            https://redmine.pfsense.org/issues/3597

            Probably others.

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