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:
c02c283
)
updates to squeeze upgrade notes, including about puppet
author
Peter Palfrader
<peter@palfrader.org>
Fri, 18 Mar 2011 09:44:30 +0000
(10:44 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 18 Mar 2011 09:44:30 +0000
(10:44 +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
0f6f416
..
2f16b41
100644
(file)
--- a/
input/howto/upgrade-to-squeeze.mdwn
+++ b/
input/howto/upgrade-to-squeeze.mdwn
@@
-21,6
+21,10
@@
install deborphan, clean up
orphaner -a
orphaner -a -n
orphaner -a
orphaner -a -n
+unhold puppet
+
+ echo puppet install | dpkg --set-selections &&
+ echo puppet-common install | dpkg --set-selections
purge removed packages
purge removed packages
@@
-44,6
+48,7
@@
rest follows
apt-get dist-upgrade
apt-get dist-upgrade
+use dash as system shell (/bin/sh).
reject changes to /etc/pam.d/sudo (puppet will install a new file later anyway)
reject changes to /etc/pam.d/sudo (puppet will install a new file later anyway)
@@
-88,13
+93,9
@@
Do the same for grub/grub-pc if you did upgrade-from-grub-legacy
(reboot)
upgrade-from-grub-legacy
(reboot)
(reboot)
upgrade-from-grub-legacy
(reboot)
- apt-get purge grub
+ apt-get purge grub
&&
apt-get install grub-pc
apt-get install grub-pc
-check for obsolete packages
-
- /usr/lib/nagios/plugins/dsa-check-packages
-
clean up old libs
orphaner
clean up old libs
orphaner
@@
-102,6
+103,12
@@
clean up old libs
orphaner -a
orphaner -a -n
orphaner -a
orphaner -a -n
+check for unneeded/obsolete packages
+
+ apt-get autoremove
+
+ /usr/lib/nagios/plugins/dsa-check-packages
+
purge removed packages
dpkg --get-selections | awk '$2=="deinstall" {print $1}' &&
purge removed packages
dpkg --get-selections | awk '$2=="deinstall" {print $1}' &&