mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
tools_update: add --allow-releaseinfo-change option to apt update to prevent the classic nightmare when debian changes from stable to oldstable
This commit is contained in:
parent
5063e12835
commit
ac6d68711c
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ def tools_update(target=None):
|
|||
|
||||
# Update APT cache
|
||||
# LC_ALL=C is here to make sure the results are in english
|
||||
command = "LC_ALL=C apt-get update -o Acquire::Retries=3"
|
||||
command = "LC_ALL=C apt-get update -o Acquire::Retries=3 --allow-releaseinfo-change"
|
||||
|
||||
# Filter boring message about "apt not having a stable CLI interface"
|
||||
# Also keep track of wether or not we encountered a warning...
|
||||
|
|
Loading…
Add table
Reference in a new issue