Control: tags -1 + unreproducible
On Sat, 07 Oct 2023 21:32:00 +0200 lukasz wrote:
> Package: apt-listbugs
> Version: 0.1.40
> Severity: minor
> X-Debbugs-Cc: thel...@gmail.com
>
> Dear Maintainer,
Hello and thanks for your bug report!
>
> *** Reporter, please consider answering these questions, where appropriate ***
>
> - What led up to the situation?
>Found 2 bugs in firefox package and asked me about confirming my
> installation.
> - What exactly did you do (or not do) that was effective (or ineffective)?
>I typed "Y" as the prompt asked me for.
> - What was the outcome of this action?
>The package apt-listbugs prompted help menu for me informing that "y" is
> the correct option, but not "Y"
> - What outcome did you expect instead?
>Confirm installation with "Y"as the prompt asked me.
I cannot reproduce the behavior you are reporting.
What I see is that both 'y' and 'Y' are equivalent answers:
Are you sure you want to install/upgrade the above packages? [Y/n/?/...] Y
and
Are you sure you want to install/upgrade the above packages? [Y/n/?/...] y
lead to the same result.
And there's a reason for that: there's code that converts the answers
to lower case, whatever the user entered.
See /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:492
answer = a.downcase
Maybe you added some blank character, before or after the 'Y' answer?
Could this explain what you experienced?
Please let me know.
If this is the case, well, maybe I could change that line into:
answer = a.downcase.strip
I will think about this possibility...
--
http://www.inventati.org/frx/
There's not a second to spare! To the laboratory!
. Francesco Poli .
GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgp0Be5Mjkss1.pgp
Description: PGP signature