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/05 12:24] Zyzonixlinux:linux-tutorials:apt [2026/06/17 12:44] (current) Zyzonix
Line 7: Line 7:
  
 ==== 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'' from the file ''/etc/cron.d/debsecan''.+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.1741173898.txt.gz
  • Last modified: 2025/03/05 12:24
  • by Zyzonix