Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:linux-tutorials:apt [2025/03/04 07:45] Zyzonixlinux:linux-tutorials:apt [2026/06/17 12:44] (current) Zyzonix
Line 5: Line 5:
 <code bash>dpkg-reconfigure apt-listchanges</code> <code bash>dpkg-reconfigure apt-listchanges</code>
 Then select ''None'' as ''Method to be used to display changes''. Confirm all other requests with the default selected value. Then select ''None'' as ''Method to be used to display changes''. Confirm all other requests with the default selected value.
 +
 +==== 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.
 +
 +==== 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.1741070700.txt.gz
  • Last modified: 2025/03/04 07:45
  • by Zyzonix