From cf2b178f993354929a1158ee762d27a1e9dfc80c Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Sun, 1 Dec 2024 12:21:55 +0100 Subject: [PATCH] Replace gpg --update-trustdb by gpg --check-trustdb Both arguments do the same but --check-trustdb avoids user interaction and is implemented in gpg-from-sq. Closes: #1077600 Suggested-by: Blair Noctis --- mmdebstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmdebstrap b/mmdebstrap index 9d4bea1..8e830d0 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -6391,7 +6391,7 @@ sub main() { } # initialize gpg trustdb with empty one { - 0 == system(@gpgcmd, '--update-trustdb') + 0 == system(@gpgcmd, '--check-trustdb') or error "gpg failed to initialize trustdb:: $?"; } if (!-d $options->{apttrustedparts}) {