From c10beae92f4f074835d30bf7a1a7ca9df20be71d Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 16 Mar 2011 15:20:40 +0100 Subject: [PATCH] further improvments to squeeze procedure --- input/howto/upgrade-to-squeeze.mdwn | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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 -- 2.20.1