pacman: do not call pacman-key when --repository-key-check=no #3864
+4
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It gets stuck on my machine:
==> Generating pacman master key. This may take some time. gpg: Generating pacman keyring master key...
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/EB164F6892020464A09A4A6B7E2D4967893A191E.rev' gpg: Done
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Appending keys from archlinux.gpg...
==> Appending keys from debian-archive-bookworm-automatic.gpg...
==> Appending keys from debian-archive-bookworm-security-automatic.gpg...
==> Appending keys from debian-archive-bookworm-stable.gpg...
==> Appending keys from debian-archive-bullseye-automatic.gpg...
==> Appending keys from debian-archive-bullseye-security-automatic.gpg...
==> Appending keys from debian-archive-bullseye-stable.gpg...
==> Appending keys from debian-archive-keyring.gpg...
==> Appending keys from debian-archive-removed-keys.gpg...
==> Appending keys from debian-archive-trixie-automatic.gpg...
==> Appending keys from debian-archive-trixie-security-automatic.gpg...
==> Appending keys from debian-archive-trixie-stable.gpg...
==> Appending keys from debian-keyring.gpg...
Avoid calling it when --repository-key-check=no is used, as there's no point anyway, it won't be used