projects
/
mirror
/
dsa-wiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
slight update for upgrade list
[mirror/dsa-wiki.git]
/
input
/
howto
/
upgrade-to-wheezy.mdwn
diff --git
a/input/howto/upgrade-to-wheezy.mdwn
b/input/howto/upgrade-to-wheezy.mdwn
index
5a54701
..
c66f9db
100644
(file)
--- a/
input/howto/upgrade-to-wheezy.mdwn
+++ b/
input/howto/upgrade-to-wheezy.mdwn
@@
-23,6
+23,12
@@
upgrade stuff:
commands:
sed -i "s#squeeze#wheezy#g" /etc/apt/sources.list.d/debian.list /etc/apt/sources.list.d/security.list &&
commands:
sed -i "s#squeeze#wheezy#g" /etc/apt/sources.list.d/debian.list /etc/apt/sources.list.d/security.list &&
+ dpkg --clear-avail &&
+ rm -f /etc/apt/preferences.d/dsa-bacula-client &&
+ if [ -e /etc/apt/preferences.d/buildd ]; then
+ rm -f /etc/apt/preferences.d/buildd &&
+ sed -i "s#squeeze#wheezy#g" /etc/apt/sources.list.d/buildd.debian.org.list
+ fi &&
apt-get update &&
apt-get install dpkg apt samhain &&
service samhain stop &&
apt-get update &&
apt-get install dpkg apt samhain &&
service samhain stop &&
@@
-36,25
+42,33
@@
commands:
apt-get --purge autoremove &&
while [ "$(deborphan -n | wc -l)" -gt 0 ] ; do apt-get purge $(deborphan -n); done &&
apt-get purge liblzma2 lzma &&
apt-get --purge autoremove &&
while [ "$(deborphan -n | wc -l)" -gt 0 ] ; do apt-get purge $(deborphan -n); done &&
apt-get purge liblzma2 lzma &&
+ dpkg --clear-avail &&
apt-get clean
if /etc/apache2/apache2.conf was not changed, remove the include for httpd.conf.
purge removed packages
apt-get clean
if /etc/apache2/apache2.conf was not changed, remove the include for httpd.conf.
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}'` &&
echo "These are not at install:" && dpkg --get-selections | awk '$2!="install" {print $1}'
more clean ups:
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}'
more clean ups:
+ apt-get purge arrayprobe
/usr/lib/nagios/plugins/dsa-check-packages | tr -d ,
apt-get --purge autoremove
/usr/lib/nagios/plugins/dsa-check-packages | tr -d ,
apt-get --purge autoremove
+maybe
+ apt-get install firmware-linux
+
update dsa-nagios.git (add host to wheezy hostgroup)
update dsa-nagios.git (add host to wheezy hostgroup)
+reboot
+
+verify ipv6 routing still works.
+
re-init samhain
samhain --foreground -t update -p none -s none -l none -m none
re-init samhain
samhain --foreground -t update -p none -s none -l none -m none
-
-possibly reboot