Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.

FS#66575 - accepting PGP key with lowercase 'y' causes pacman to ask again until answer is blank

Attached to Project: Pacman
Opened by Peter Bartyik (vanek) - Thursday, 07 May 2020, 11:54 GMT
Task Type Bug Report
Category Scripts & Tools
Status Unconfirmed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version 5.2.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Summary and Info:
During full system upgrade when importing PGP key and accepting with lowercase 'y' I got prompted to accept the key again. This occasion when answering with uppercase 'Y' pacman asks again until I enter nothing and hit enter.

Exact output of the issue:

user@host$ sudo pacman -Syu
<... omitted ...>
(70/70) checking keys in keyring [------------------------------------------------------] 100%
downloading required keys...
:: Import PGP key 45A650E2638C536D, "kpcyrd <>"? [Y/n] y
:: Import PGP key 45A650E2638C536D, "kpcyrd <>"? [Y/n] Y
:: Import PGP key 45A650E2638C536D, "kpcyrd <>"? [Y/n] Y
:: Import PGP key 45A650E2638C536D, "kpcyrd <>"? [Y/n]
(70/70) checking package integrity [------------------------------------------------------] 100%
<... omitted ...>
This task depends upon

Comment by Eli Schwartz (eschwartz) - Sunday, 24 May 2020, 20:53 GMT
Accepting with "y" works perfectly for me...

IIRC this can be localized and will then accept localized responses, but that doesn't seem to be the case here!