puppetd -t
+upgrade once more (security etc)
+
+ apt-get update && apt-get dist-upgrade
+
+rest follows
+
+ apt-get dist-upgrade
check for obsolete packages
purge removed packages
- dpkg --get-selections | awk '$2!="install" {print $1}'
- echo "really purge these [y/N]?"; read ans; [ "$ans" = "y" ] && dpkg --purge `dpkg --get-selections | awk '$2!="install" {print $1}'`
+ dpkg --get-selections | awk '$2=="deinstall" {print $1}'
+ echo "really purge these [y/N]?" && read ans && [ "$ans" = "y" ] && dpkg --purge `dpkg --get-selections | awk '$2=="deinstall" {print $1}'`
+ echo "These are not at install:" && dpkg --get-selections | awk '$2!="install" {print $1}'
possibly reboot