[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Logout at apt upgrade



Loïc Grenié wrote:
     Dear Debian users,

     when I apt upgrade my system, I often (one every three, more
   or less) find myself brutally logged out of the window system,
   with systemd services painfully restarting (or failing to restart).
   The only way I can recover is usually to reboot. I've tried to
   manually stop, kill the leftover processes and restart the services,
   one after the other, but it's very long and does not always work.
   I have observed this situation for a few years (maybe two or three,
   maybe more, I'm slow to bore).

     Am I the only one? Is there a way to upgrade the system without
   rebooting as it used to be a few years ago? I remember updating
   libc.so without rebooting -- only the kernel needed reboot, and
   the window system, if specific files changed.

      Thanks, best,

          Loïc

Have you tried the "needrestart" package? It runs after any updates and will tell you what needs restarting and will by default defer any restart that would cut off the branch you're standing on.

If it wants to restart logind or tells me that the DE is using old libraries I'll log out and run  it again from a VT.



Reply to: