• armond
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    The only time a restart is needed to implement updates is when the kernel is updated. The "Software " program prompts you to do so, dnf does not.

    • snek_boiOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Thanks for the response! That’s interesting because it prompts further questions:

      • when I update through the “Software” program and then restart, I need to unlock my encrypted drive for the update to happen. Then, I get a “Updating your software, please don’t turn the machine off; it will restart when the update is complete” or something among those lines.
      • however, when I update through dnf, and then I restart, I don’t even get prompted to do the “Please unlock your drive”; the restart happens immediately, without doing a whole “Updating your software” screen.

      So this makes me think that:

      • when you update the kernel through “Software”, you’ve got to restart
      • when you update the kernel through dnf, it happens through a different method so that you don’t have to perform the update through restarting

      Is it correct to say that dnf upgrade performs the upgrade while the computer is running, bypassing the need to unencrypt my drive when it restarts? Does it update the kernel while the kernel is running? Or does dnf leave everything ready so that “right now, you’re running the old kernel, but when you restart, you’ll boot up in the new kernel, without having to install it because it will already be installed (I just installed it!)”.

      • armond
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        when you use dnf, and there is a kernel update, the kernel will not be updated until you restart, yes, you will still be using the old kernel until your next restart. You can confirm this by running: uname -r. I have no idea about the unencrypt part as I don’t use encryption! sorry.