Thursday, April 18, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1139  / 3 Years ago, sun, june 6, 2021, 4:57:02

After logging into Ubuntu 22.04 via SSH, the usual welcome message does not refresh itself any longer and I don't know why this happens. In addition to that I get the following error message when running sudo apt update :


Failed to start apt-news.service: Unit apt-news.service not found.  
Failed to start esm-cache.service: Unit esm-cache.service not found.

More From » command-line

 Answers
7

Another solution (to remove the message on sudo apt update) is to disable the apt ESM hook completely:


$ sudo mv /etc/apt/apt.conf.d/20apt-esm-hook.conf /etc/apt/apt.conf.d/20apt-esm-hook.conf.disabled

Also, see this Q&A.


[#49] Sunday, June 6, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
strhen

Total Points: 27
Total Questions: 111
Total Answers: 103

Location: Angola
Member since Tue, Apr 25, 2023
1 Year ago
strhen questions
;