Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion x-pack/auditbeat/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ func installDependencies(arch string, pkgs ...string) error {
return err
}

args := append([]string{"install", "-y", "--no-install-recommends"}, pkgs...)
// Due to the expired GPG keys in the old Debian version we must use `--force-yes` additionally to `-y`.
args := append([]string{
"install", "-y", "--force-yes",
"--allow-unauthenticated",
"--no-install-recommends",
}, pkgs...)
return sh.Run("apt-get", args...)
}