Suppress needrestart verbosity to reduce console spam on apt install
Discord Message
Author: realami Channel: #feedback Link: https://discord.com/channels/1405685085923049482/1405686161791516873/1455725720532816027
Suggestion: reduce console spam by suppressing or reducing verbosity of needrestart, which currently emits at the end of every apt install invocation (that installs new packages) these lines:
Scanning processes...
Scanning linux images...
Failed to retrieve available kernel versions.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
(can either add NEEDRESTART_SUSPEND=1 to /etc/environment to replace the above with the single line packages have been installed but needrestart is suspended or can set $nrconf{verbosity} = 0; in /etc/needrestart/needrestart.conf)
At least until restarting VMs is supported 🙂
discord-bug
0 Comments
No comments yet.