Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

needrestart and xfce4-session

427 views
Skip to first unread message

Charles Curley

unread,
Jul 28, 2022, 10:40:05 AM7/28/22
to
Any time needrestart is run it complains about xfce4-session running
obsolete binaries or libraries.

--------------------------------------------------
root@ideapc:~# needrestart
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...

Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

User sessions running outdated binaries:
charles @ session #2: xfce4-session[2280]
root@ideapc:~#
--------------------------------------------------

Recently a new Linux kernel came down the pipeline, so I
rebooted. That should flush out all obsolete binaries or libraries,
but I still get the message.

Further, I get it on three different AMD-64 machines, all running
Debian 11 as updated.

The Debian web site reports that the current version of xfce4-session
should be 4.16.0-1, and indeed that is what I have.

Is there any way to check the dependencies of xfce4-session short of
writing a script to parse the dependencies reported by "apt show
xfce4-session"?

This is more obnoxious than a show stopper, so I don't want to put a
lot of effort into it.

--
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

David Wright

unread,
Jul 29, 2022, 12:20:05 AM7/29/22
to
This machine has got as far as apt-get upgrade with the recent point
release, so I've yet to dist-upgrade for the new kernel and reboot.
At the moment it shows:

$ /sbin/needrestart
Scanning processes...
Your outdated processes:
bash[928], systemd[886]
$ /sbin/needrestart -v
[main] eval /etc/needrestart/needrestart.conf
[main] needrestart v3.5
[main] running in user mode
[Core] Using UI 'NeedRestart::UI::stdio'...
[main] systemd detected
[main] #886 uses deleted /usr/lib/i386-linux-gnu/libcrypto.so.1.1
[main] #928 uses obsolete binary /usr/bin/bash
Your outdated processes:
bash[928], systemd[886]
$

so perhaps try adding the -v.

Cheers,
David.

Charles Curley

unread,
Jul 30, 2022, 11:10:05 AM7/30/22
to
On Thu, 28 Jul 2022 23:10:33 -0500
David Wright <deb...@lionunicorn.co.uk> wrote:

> This machine has got as far as apt-get upgrade with the recent point
> release, so I've yet to dist-upgrade for the new kernel and reboot.
> At the moment it shows:
>
> $ /sbin/needrestart
> Scanning processes...
> Your outdated processes:
> bash[928], systemd[886]
> $ /sbin/needrestart -v

Thank you. That produced some interesting results. One such program is
the nextcloud client for Linux, nextcloud-desktop et al.. Another is
smart-notifier, which reports:

charles@hawk:~$ /usr/share/smart-notifier/smart_notifier/gui.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk

charles@hawk:~$

That one is clearly a bug in the program. On of the dependencies for it
is python 3, but the program probably isn't getting it.

et al.

Most of these will require bug reports, but I don't have time to do
those right now. And I suspect many will go away with the next version
of Debian anyway.
0 new messages