Propagate recent changes in buster script to bullseye as well

This commit is contained in:
Alexandre Aubin 2021-08-23 10:28:35 +02:00
parent b785f374f1
commit 097ac00b96

View file

@ -200,7 +200,7 @@ function apt_get_wrapper() {
function apt_update() {
apt_get_wrapper update
apt_get_wrapper update --allow-releaseinfo-change
}
###############################################################################
@ -261,7 +261,11 @@ function check_assertions()
function upgrade_system() {
apt_get_wrapper update \
# Some VPS don't have debconf install, therefore don't have debconf-apt-progress...
# c.f. https://github.com/YunoHost/issues/issues/1828
dpkg --list | grep -q '^ii debconf ' || { apt update --allow-releaseinfo-change; apt install debconf; }
apt_get_wrapper update --allow-releaseinfo-change \
|| return 1
# We need libtext-iconv-perl even before the dist-upgrade,