From 5d53c2476aa8368d8432d6088d9399cf88ca38ce Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 16 Mar 2011 15:21:21 +0100 Subject: [PATCH] further improvments to squeeze procedure --- input/howto/upgrade-to-squeeze.mdwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/input/howto/upgrade-to-squeeze.mdwn b/input/howto/upgrade-to-squeeze.mdwn index eb36eef..dc0b827 100644 --- a/input/howto/upgrade-to-squeeze.mdwn +++ b/input/howto/upgrade-to-squeeze.mdwn @@ -23,8 +23,8 @@ install deborphan, clean up purge removed packages - 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}'` + 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}' change sources list entries to squeeze: @@ -88,8 +88,8 @@ clean up old libs purge removed packages - 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}'` + 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