Ubuntu Server

apt purge --auto-remove -y snapd squashfs-tools friendly-recovery apport at modemmanager
apt purge --auto-remove -y unattended-upgrades
apt purge --auto-remove -y apparmor ufw
sudo systemctl disable apt-daily-upgrade.timer
sudo systemctl mask apt-daily-upgrade.service
sudo systemctl disable apt-daily.timer
sudo systemctl mask apt-daily.service