From a32262c9fcbabddc937a52024f95dedda86b47f1 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 22 Aug 2021 11:13:42 +0200 Subject: [PATCH] apt update exploding because repo changed its 'Suite' value from 'stable' to 'oldstable' >_> ... --- install_yunohost | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install_yunohost b/install_yunohost index a5b1c42..f96e0f3 100755 --- a/install_yunohost +++ b/install_yunohost @@ -200,7 +200,7 @@ function apt_get_wrapper() { function apt_update() { - apt_get_wrapper update + apt_get_wrapper update --allow-releaseinfo-change } ############################################################################### @@ -260,9 +260,9 @@ function upgrade_system() { # 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; apt install debconf; } + dpkg --list | grep -q '^ii debconf ' || { apt update --allow-releaseinfo-change; apt install debconf; } - apt_get_wrapper update \ + apt_get_wrapper update --allow-releaseinfo-change \ || return 1 # We need libtext-iconv-perl even before the dist-upgrade,