root@jump:~# sudo apt-get 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.
root@jump:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
"(Ubuntu 23.04+ only) Prevent APT trying to start spammy uninstalled services"
Meanwhile this point is also required for 22.04:
Steps to reproduce: Fresh installation apt update && apt dist-upgrade -y apply UnspamifyUbuntu apt update
Tested with manual and automatic installation.
Please remove the "(Ubuntu 23.04+ only)" :-)