Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 4
    Blindly kill -9-ing any running apt processes strikes me as a spectacularly bad idea. What if you're interrupting an upgrade process halfway through installing a core library ? Commented Oct 9 at 4:31
  • @Shadur-don't-feed-the-AI I see your point now, thank you very much for the clarification. I’ll definitely test it and get back to you with the results. Commented Oct 9 at 6:19
  • In general, it is better if your script easy exit on any error. Goal is not to cover the errors, you r goal should be that they do not happen. Commented Nov 4 at 4:39