upgrade-to-stretch: add a missing &&
[mirror/dsa-wiki.git] / input / howto / upgrade-to-stretch.mdwn
index a0a6920..c1627e5 100644 (file)
@@ -13,6 +13,7 @@ todo:
   at least on lindsay samhain failed to configure after upgrading the package.  figure out details.
 
 commands:
+
        sed -i "s#jessie#stretch#g" /etc/apt/sources.list.d/debian.list /etc/apt/sources.list.d/security.list &&
        dpkg --clear-avail &&
        if [ -e /etc/apt/sources.list.d/buildd.debian.org.list ]; then
@@ -28,7 +29,7 @@ commands:
        (puppet agent -t || true) &&
        apt-get update &&
        apt-get dist-upgrade &&
-       apt-get purge libssl1.0.0:amd64 gcc-4.9-base:amd64 gcc-4.8-base:amd64 libapt-pkg4.12:amd64 libreadline6:amd64  libprocps3:amd64 sp libsp1c2 libaugeas-ruby1.8
+       apt-get purge libssl1.0.0:amd64 gcc-4.9-base:amd64 gcc-4.8-base:amd64 libapt-pkg4.12:amd64 libreadline6:amd64  libprocps3:amd64 sp libsp1c2 libaugeas-ruby1.8 &&
        apt-get --purge autoremove &&
        while [ "$(deborphan -n | wc -l)" -gt 0 ] ; do apt-get purge $(deborphan -n); done &&
        dpkg --clear-avail &&
@@ -51,7 +52,9 @@ more clean ups:
 
        (puppet agent -t || true) && (puppet agent -t || true)
 
-update dsa-nagios.git (add host to jessie hostgroup)
+On ppc64el (only VMs?) the network interface has been renamed from ethX to ibmvethX. Change /etc/network/interfaces accordingly.
+
+update dsa-nagios.git (add host to stretch hostgroup)
 
 re-init samhain and finish with a reboot