Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux:linux-tutorials:apt [2025/03/11 06:51] – [Disable debsecan (Debian Security) notifications] Zyzonixlinux:linux-tutorials:apt [2026/06/17 12:44] (current) Zyzonix
Line 8: Line 8:
 ==== Disable debsecan (Debian Security) notifications ==== ==== Disable debsecan (Debian Security) notifications ====
 If enabled the debsecan-package will send a daily email with all vulnerabilities in installed packages on the system. To disable remove the ''MAILTO'' and the cron entry from the file ''/etc/cron.d/debsecan'' by commenting them out. If enabled the debsecan-package will send a daily email with all vulnerabilities in installed packages on the system. To disable remove the ''MAILTO'' and the cron entry from the file ''/etc/cron.d/debsecan'' by commenting them out.
 +
 +==== Disable apt-news and esm-cache Error when updating ====
 +When getting the follwing error when running ''apt update'':
 +<code bash>
 +Failed to start apt-news.service: Unit apt-news.service is masked.
 +Failed to start esm-cache.service: Unit esm-cache.service is masked.
 +</code>
 +
 +Just run:
 +<code bash>
 +sudo systemctl mask apt-news.service
 +sudo systemctl mask esm-cache.service
 +sudo mv /etc/apt/apt.conf.d/20apt-esm-hook.conf /etc/apt/apt.conf.d/20apt-esm-hook.conf.disabled
 +</code>
  • linux/linux-tutorials/apt.txt
  • Last modified: 2026/06/17 12:44
  • by Zyzonix