Skip to content
Snippets Groups Projects
Commit 249caecb authored by Peter Palfrader's avatar Peter Palfrader
Browse files

do more apt autoremoves on upgrade

parent 4c65aaa5
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,7 @@ Procedure
7. Post-upgrade procedures:
apt-mark manual git &&
apt --purge autoremove &&
apt purge $(for i in apt-transport-https dh-python emacs24-nox gnupg-agent libbind9-140 libcryptsetup4 libdns-export162 libdns162 libevent-2.0-5 libevtlog0 libgdbm3 libicu57 libisc-export160 libisc160 libisccc140 libisccfg140 liblvm2app2.2 liblvm2cmd2.02 liblwres141 libmpfr4 libncurses5 libperl5.24 libprocps6 libpython3.5 libpython3.5-minimal libpython3.5-stdlib libruby2.3 libssl1.0.2 libunbound2 libunistring0 python3-distutils python3-lib2to3 python3.5 python3.5-minimal ruby-nokogiri ruby-pkg-config ruby-rgen ruby-safe-yaml ruby2.3 sgml-base xml-core git-core gcc-6-base:amd64 nagios-plugins-basic perl-modules-5.24 libsensors4:amd64 grub2 iproute libncursesw5 libustr-1.0-1; do dpkg -l "$i" 2>/dev/null | grep -q '^ii' && echo "$i"; done) &&
dpkg --purge libsensors4:amd64 syslog-ng-mod-json
......@@ -101,6 +102,7 @@ Procedure
sudo ttyrec -e screen /var/log/upgrade-buster.ttyrec.3
# review and purge old packages, including kernels
apt --purge autoremove
dsa-check-packages | tr -d ,
while deborphan -n | grep -q . ; do apt purge $(deborphan -n); done
apt --purge autoremove
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment