From: Peter Palfrader Date: Wed, 16 Mar 2011 14:21:21 +0000 (+0100) Subject: further improvments to squeeze procedure X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-wiki.git;a=commitdiff_plain;h=5d53c2476aa8368d8432d6088d9399cf88ca38ce further improvments to squeeze procedure --- 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