diff --git a/ubuntu/scripts/cleanup.sh b/ubuntu/scripts/cleanup.sh index e7395f8..7c656e6 100644 --- a/ubuntu/scripts/cleanup.sh +++ b/ubuntu/scripts/cleanup.sh @@ -45,21 +45,18 @@ echo "remove obsolete networking packages" apt-get -y purge ppp pppconfig pppoeconf; echo "remove packages we don't need" -apt-get -y purge popularity-contest command-not-found friendly-recovery bash-completion fonts-ubuntu-font-family-console laptop-detect motd-news-config usbutils grub-legacy-ec2 +apt-get -y purge popularity-contest command-not-found friendly-recovery bash-completion laptop-detect motd-news-config usbutils grub-legacy-ec2 # 21.04+ don't have this echo "remove the installation-report" apt-get -y purge popularity-contest installation-report || true; -echo "remove the console font" -apt-get -y purge fonts-ubuntu-console || true; - echo "removing command-not-found-data" # 19.10+ don't have this package so fail gracefully apt-get -y purge command-not-found-data || true; echo "remove unnecessary packages via snap/apt" -snap remove lxd +snap remove lxd || true; # Exclude the files we don't need w/o uninstalling linux-firmware echo "Setup dpkg excludes for linux-firmware"