projects
/
mirror
/
dsa-wiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f3c7380
)
further improvments to squeeze procedure
author
Peter Palfrader
<peter@palfrader.org>
Wed, 16 Mar 2011 14:20:40 +0000
(15:20 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 16 Mar 2011 14:20:40 +0000
(15:20 +0100)
input/howto/upgrade-to-squeeze.mdwn
patch
|
blob
|
history
diff --git
a/input/howto/upgrade-to-squeeze.mdwn
b/input/howto/upgrade-to-squeeze.mdwn
index
ef8a397
..
eb36eef
100644
(file)
--- a/
input/howto/upgrade-to-squeeze.mdwn
+++ b/
input/howto/upgrade-to-squeeze.mdwn
@@
-66,6
+66,13
@@
do a puppet run:
puppetd -t
puppetd -t
+upgrade once more (security etc)
+
+ apt-get update && apt-get dist-upgrade
+
+rest follows
+
+ apt-get dist-upgrade
check for obsolete packages
check for obsolete packages
@@
-81,8
+88,9
@@
clean up old libs
purge removed 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
possibly reboot