X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fupgrade-to-squeeze.mdwn;h=eb36eef73955d78a96e98db9bf159c8874c7a6dc;hb=c10beae92f4f074835d30bf7a1a7ca9df20be71d;hp=ef8a3979cc83aa7eedff99b5a7a481026ff39c41;hpb=f3c7380f29fba6fcfe6fa5bcafd6fe1110fc4c3c;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/upgrade-to-squeeze.mdwn b/input/howto/upgrade-to-squeeze.mdwn index ef8a397..eb36eef 100644 --- a/input/howto/upgrade-to-squeeze.mdwn +++ b/input/howto/upgrade-to-squeeze.mdwn @@ -66,6 +66,13 @@ do a puppet run: puppetd -t +upgrade once more (security etc) + + apt-get update && apt-get dist-upgrade + +rest follows + + apt-get dist-upgrade check for obsolete packages @@ -81,8 +88,9 @@ clean up old libs 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