update_manager: fix apt-get issue with changed release info
Add --allow-releaseinfo-change to the call to apt-get. This resolves an issue where the repos are chaning their "Suite" value from stable to oldstable with the release of Debian Bullseye. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
f1523ef5f8
commit
8a7b348899
|
@ -843,7 +843,8 @@ class PackageDeploy(BaseDeploy):
|
|||
if force or curtime > self.last_apt_update_time + 3600.:
|
||||
# Don't update if a request was done within the last hour
|
||||
await self.cmd_helper.run_cmd(
|
||||
f"{self.APT_CMD} update", timeout=300., notify=notify)
|
||||
f"{self.APT_CMD} update --allow-releaseinfo-change",
|
||||
timeout=300., notify=notify)
|
||||
self.last_apt_update_time = time.time()
|
||||
|
||||
async def install_packages(self,
|
||||
|
|
Loading…
Reference in New Issue