Siduction Forum

Siduction Forum => Installation - Support => Topic started by: vayu on 2018/01/15, 11:59:17

Title: [SOLVED] apt messages "User sessions running outdated binaries"
Post by: vayu on 2018/01/15, 11:59:17
On my new install I'm getting new messages from apt. "User sessions running outdated binaries". It seems like it takes a long time for apt to tell me this.  How can I turn this off?

Also do I need "No services need to be restarted. No containers need to be restarted."? Can I set it to restart if needed?
Title: Re: apt messages "User sessions running outdated binaries"
Post by: piper on 2018/01/15, 13:36:26
Can I see

Code: [Select]
needrestart -v
From my experience needrestart had quite a few false positives last time I used it, granted, that was late 2016 early 2017, I purged it and never looked back

I didn't list all (google it)

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843778
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828103 - suppose to be fixed



Title: Re: apt messages "User sessions running outdated binaries"
Post by: vayu on 2018/01/15, 16:25:29
Thanks so much. I deleted needrestart. It's much better now.
Title: Re: [SOLVED] apt messages "User sessions running outdated binaries"
Post by: DriverDevel on 2023/10/03, 01:56:34
Potentially helpful issue details:
On my LMDE 5(?), behaviour of the needrestart package will cause annoying lockups / hangs on each apt activity.
I diagnosed this via
Code: [Select]
# needrestart -vwhich reported
[/etc/needrestart/notify.d/400-notify-send] notify user [USERNAME] on :0
The /etc/needrestart/notify.d/400-notify-send script
uses
NSEND='/usr/bin/notify-send'
Doing
Code: [Select]
/usr/bin/notify-send SomeTextas plain user does work (clickable notification popup successfully displayed), but as apt installation context (administrative user) does not work (long hang / almost-lockup).
Reason for notify-send failure? Unknown / more (Internet?) investigation needed.
Possibly a bug report about mal-functioning needrestart package should be filed.
Ah, a related bug:
"needrestart: notify-send timeout instead of notify"
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024426 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024426) 

HTH!