• mustkana@lemm.ee
    link
    fedilink
    arrow-up
    2
    arrow-down
    3
    ·
    edit-2
    1 year ago

    You basically have no control. It updates as many times as it wants, when it wants. You can try to adjust some timers to change the window when forced updates are rolled out, but can never tell it to NOT update something.

    This is incorrect:

    snap refresh --hold=forever

    In general, I’d advise you to do a bit of research beforehand when giving advice…

    Edit: Downvotes for factual information? Really?

    • Piranha Phish@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      The --hold feature was introduced with snapd v2.58 which was released as recently as Dec 1, so less than 9 months ago. So I would consider this a relatively new feature.

      Furthermore, as best as I can tell from the documentation, there isn’t even a way to configurably hold updates in general or for a specific package like can be done with apt-preferences; refresh.hold only allows 90 days out.

      I think it is a perfectly valid criticism that the snap developers didn’t implement this feature at all until well into the life of the product and then, even then, done begrudgingly at best evidenced by the minimal implementation.

      Now, I feel like I did my research, but feel free to let me know if there’s something I can do better or if you have any other general life advice for me.

      • mustkana@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Thanks, this is a very good reply, and it would have been wonderful, when the original reply would have been similar.