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 04:56] Zyzonixlinux:linux-tutorials:apt [2026/06/17 12:44] (current) Zyzonix
Line 4: Line 4:
 To disable the sending of listchanges information from APT run the following command: To disable the sending of listchanges information from APT run the following command:
 <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.
 +
 +==== 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.1741060599.txt.gz
  • Last modified: 2025/03/04 04:56
  • by Zyzonix