Skip to content

Commit

Permalink
Make Check-Valid-Until=false a default flag for apt-get
Browse files Browse the repository at this point in the history
Signed-off-by: Artyom Bakhtin <[email protected]>
  • Loading branch information
bakhtin authored and DaanDeMeyer committed Nov 14, 2024
1 parent 920e397 commit 03c3279
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mkosi/installer/apt.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def cmd(cls, context: Context, command: str = "apt-get") -> list[PathString]:
"-o", "APT::Get::Allow-Remove-Essential=true",
"-o", "APT::Sandbox::User=root",
"-o", "Acquire::AllowReleaseInfoChange=true",
"-o", "Acquire::Check-Valid-Until=false",
"-o", "Dir::Cache=/var/cache/apt",
"-o", "Dir::State=/var/lib/apt",
"-o", "Dir::Log=/var/log/apt",
Expand Down

0 comments on commit 03c3279

Please sign in to comment.