... | ... | @@ -82,6 +82,7 @@ See the "conflicts resolution" section below for how to handle |
|
|
|
|
|
4. Perform any pending upgrade and clear out old pins:
|
|
|
|
|
|
apt update && apt -y upgrade &&
|
|
|
: Check for pinned, on hold, packages, and possibly disable &&
|
|
|
rm -f /etc/apt/preferences /etc/apt/preferences.d/* &&
|
|
|
rm -f /etc/apt/sources.list.d/backports.debian.org.list &&
|
... | ... | @@ -93,7 +94,6 @@ See the "conflicts resolution" section below for how to handle |
|
|
rm -f /etc/apt/sources.list.d/proposed-updates.list &&
|
|
|
rm -f /etc/apt/sources.list.d/sid.list &&
|
|
|
rm -f /etc/apt/sources.list.d/testing.list &&
|
|
|
apt update && apt -y upgrade &&
|
|
|
: purge removed packages &&
|
|
|
apt purge $(dpkg -l | awk '/^rc/ { print $2 }') &&
|
|
|
apt autoremove -y --purge &&
|
... | ... | |