Repository navigation
pacman-helper: fix quick-remove with GPG-signing - #772
Merged
Merged
Conversation
When GPG-signing is enabled, a `--sign` option is passed to `quick_remove`. But d9bcad7 (pacman-helper: tolerate removing a package absent from a database, 2026-06-20) introduced logic that misinterprets that option as referring to the database file. This prevented the removal of the OpenSSL packages that I started in git-for-windows/git#6452 (comment) from working: While the package _files_ were deleted successfully, their corresponding items in the database survived. Signed-off-by: Johannes Schindelin <[email protected]>
Member
Author
|
I had forgotten to open this, and when I unshadowed OpenSSH and friends, the exact same thing happened again. And just like the OpenSSL mishap required a manual git-for-windows/pacman-repo@76a48f2, this OpenSSH & friends mishap required git-for-windows/pacman-repo@bfe30e9. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
When GPG-signing is enabled, a
--signoption is passed toquick_remove. But d9bcad7 (pacman-helper: tolerate removing a package absent from a database, 2026-06-20) introduced logic that misinterprets that option as referring to the database file.This prevented the removal of the OpenSSL packages that I started in git-for-windows/git#6452 (comment) from working: While the package files were deleted successfully, their corresponding items in the database survived.