You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
An exception is reported: Exception occurred, no output from apt-cache policy
Version
Distribution Ubuntu 20.04
Lynis version 3.0.6
Expected behavior
Output
2021-10-13 16:24:05 Performing test ID KRNL-5788 (Checking availability new Linux kernel)
2021-10-13 16:24:05 Test: Searching apt-cache, to determine if a newer kernel is available
2021-10-13 16:24:05 Result: found /usr/bin/apt-cache
2021-10-13 16:24:05 Test: checking presence of /vmlinuz or /boot/vmlinuz
2021-10-13 16:24:05 Result: found /boot/vmlinuz
2021-10-13 16:24:05 Test: checking readlink location of /boot/vmlinuz
2021-10-13 16:24:05 Output: readlink reported file /boot/vmlinuz-5.4.0-88-generic
2021-10-13 16:24:05 Test: checking package from dpkg -S
2021-10-13 16:24:05 Output: dpkg -S reported package linux-image-5.4.0-88-generic
2021-10-13 16:24:05 Test: Using apt-cache policy to determine if there is an update available
2021-10-13 16:24:05 Kernel installed:
2021-10-13 16:24:05 Kernel candidate:
2021-10-13 16:24:05 Result: Exception occurred, no output from apt-cache policy
2021-10-13 16:24:05 Exception: test has an exceptional event (KRNL-5788:01) with text NoText
2021-10-13 16:24:10 Suggestion: Check the output of apt-cache policy to determine why its output is empty [test:KRNL-5788] [details:-] [solution:-]
2021-10-13 16:24:10 Result: apt-cache policy did not return an installed kernel version
# dpkg -l | grep linux-image-5.4.0-88-generic
ii linux-image-5.4.0-88-generic 5.4.0-88.99 amd64 Signed kernel image generic
Describe the bug
An exception is reported: Exception occurred, no output from apt-cache policy
Version
Expected behavior
Output
Additional context
Depends on system language settings.
The temporary solution is:
LC_ALL=C lynis audit system
The text was updated successfully, but these errors were encountered: