+

Yes, "1" is a valid expression to say "yes", as is "+" – at least in my
(german) locale, and perhaps in yours, too. You can check with `locale
yesexpr` – the output is a regex expression. For me it prints
"^[+1jJyY]" (without the quotes), so anything starting (^) with either
of the characters in between the square brackets counts as a yes. In any
application honoring this setting, apt isn't alone in this! And it is
sort of important to respect such settings as in some locals 'N' means
something different (I think e.g. in Norway it means yes).

1/0 make sense for technical persons to use btw as they will be familiar
to the concept of on/off, yes/no, … being encoded as 1/0. For less
technical people that can be a bit alien and showing all options would
probably confuse the heck out of people not familiar with regex syntax,
hence apts choice to display only two common options ("Y/n").

So, this is not a bug, but intended behavior and as such I am closing
this bugreport.

** Changed in: apt (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1957781

Title:
  when i  upgrade my package ask me yes or no ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1957781/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to