From: Renjaya Raga Zenta Date: Wed, 8 May 2024 02:45:04 +0000 (+0700) Subject: apt: Allow release info change X-Git-Tag: v23.1~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78592fd72c0edebdc1629f1d13dc114da5aa3bce;p=thirdparty%2Fmkosi.git apt: Allow release info change Allow the update command to continue downloading data from a repository which changed its information of the release contained in the repository indicating e.g a new major release. APT will fail at the update command for such repositories until the change is confirmed to ensure the user is prepared for the change. --- diff --git a/mkosi/installer/apt.py b/mkosi/installer/apt.py index 3eb3426a3..f782fa76d 100644 --- a/mkosi/installer/apt.py +++ b/mkosi/installer/apt.py @@ -140,6 +140,7 @@ class Apt(PackageManager): "-o", "APT::Get::Allow-Change-Held-Packages=true", "-o", "APT::Get::Allow-Remove-Essential=true", "-o", "APT::Sandbox::User=root", + "-o", "Acquire::AllowReleaseInfoChange=true", "-o", "Dir::Cache=/var/cache/apt", "-o", "Dir::State=/var/lib/apt", "-o", "Dir::Log=/var/log/apt",