DE-IBH / apt-dater

terminal-based remote package update manager
GNU General Public License v2.0
101 stars 24 forks source link

Debian 10 doesn't display current Kernel version in listing #164

Closed Tyrewt closed 2 years ago

Tyrewt commented 5 years ago

Debian 10, upgraded from a past version, has the needrestart package (3.4-5) installed but doesn't display the Kernel version in the Apt-Dater listing.

Fresh installations of Debian 10 work with the same software versions.

mathiashro commented 4 years ago

Hello @Tyrewt, I can not confirm this behavior currently. I use as of now:

The output in apt-date is something like <hostname> (Debian 10 buster; 4.19.0-9-amd64).

May be you can recheck and comment (or close) this issue?

Tyrewt commented 4 years ago

As shown, this issue and #163 both remain with Debian 10. Some machines correctly report the Kernel, others do not.

apt-priv

kosli commented 2 years ago

@Tyrewt I just had the same issue. You need to make sure that your "apt-dater" user is allowed (sudo) to run the/usr/sbin/needrestart command. This solved the issue for me, as I had forget to add that command in my sudoers file.

Tyrewt commented 2 years ago

@Tyrewt I just had the same issue. You need to make sure that your "apt-dater" user is allowed (sudo) to run the/usr/sbin/needrestart command. This solved the issue for me, as I had forget to add that command in my sudoers file.

@kosli That was the culprit, not all hosts had that needrestart line, issue resolved. Thanks!