DE-IBH / apt-dater

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

Debian 9 doesn't display current Kernel version in listing #163

Closed Tyrewt closed 2 years ago

Tyrewt commented 5 years ago

Debian 9, upgraded from a past version, has the needrestart package (2.11-3+deb9u1) installed but doesn't display the Kernel version in the Apt-Dater listing.

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

mathiashro commented 4 years ago

Can you please review your other issue #164. My Debian "stretch" 9.13 is been reported as <hostname> (Debian 9.13 stretch; 3.16.0-042stab145.3). Looks currently good for me.

Tyrewt commented 4 years ago

As shown, this issue and #164 both remain with Debian 9.12. 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!