Hey, so i have kind of a noob question :D When i update all the packages on Tumbleweed with ‘sudo zypper dup’ there are many packages that need to get restarted since these active processes using deleted files. Normally i just restart my whole Computer for that but i wonder if there is another possibility, perhaps restarting only the libaries that are affected while my computer is still running. Is there a command for that or is it essential to restart the whole computer after updating?

  • MyNameIsRichard
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    There is sudo zypper ps -s which will show you all process needing a restart so you can manually handle them. I find it easier just to reboot though.

    • OnopordumAcanthiumOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      So you really need to restart every single one instead of all at the same time? That sucks D:

      • MyNameIsRichard
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I’ve never really looked for a way to do that. I suppose you could write a script to do it.

  • s20
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I could be wrong about this, but I don’t think you need to worry about it. Just keep doing your thing until you’re done, and then perform a restart when it’s convenient.

  • PhineaZ@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    May be a noob answer, but you only have to restart those were you actually want to use the updated version immediately. I did have problems updating certain packages (mainly firefox and file uh I mean directory browsers), but unless something stops working as intended you can just keep using your machine as usual. Packages will be “re” started upon next boot anyway.