X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-wiki.git;a=blobdiff_plain;f=input%2Fhowto%2Fupgrade-to-stretch.mdwn;h=92ffc2c052ce3730df3b2d5d5859d62c1aafd4e9;hp=93e955928cafb513cd14441680072c491d1a5565;hb=9061e132d38c354d068878e281c6cf8c536c7bf0;hpb=6a9fcafea5122e4440acf83797b6da06789ea38f diff --git a/input/howto/upgrade-to-stretch.mdwn b/input/howto/upgrade-to-stretch.mdwn index 93e9559..92ffc2c 100644 --- a/input/howto/upgrade-to-stretch.mdwn +++ b/input/howto/upgrade-to-stretch.mdwn @@ -30,7 +30,7 @@ commands: apt-get update && apt-get dist-upgrade && : Only try to purge packages that are installed, else apt gets angry && - apt-get purge $(for i in 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 libreadline6:arm64 gcc-4.9-base:arm64 gcc-4.8-base:arm64 libruby2.1:arm64 ruby2.1 libssl1.0.0:arm64; do dpkg -l "$i" 2>/dev/null | grep -q '^ii' && echo "$i"; done) && + apt-get purge $(for i in 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 libreadline6:arm64 gcc-4.9-base:arm64 gcc-4.8-base:arm64 libruby2.1:arm64 ruby2.1 libssl1.0.0:arm64 libaugeas-ruby sysvinit; do dpkg -l "$i" 2>/dev/null | grep -q '^ii' && echo "$i"; done) && (puppet agent -t || true) && apt-get --purge autoremove && while [ "$(deborphan -n | wc -l)" -gt 0 ] ; do apt-get purge $(deborphan -n); done &&