+
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
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1957781
Title:
when i upgrade my package ask me yes or no ?
Status in apt package in Ubuntu:
Invalid
Bug description:
ubuntu 21.10
use sudo apt upgrade
toshiba@toshiba-Satellite-C850-B908:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-headers-5.13.0-25 linux-headers-5.13.0-25-generic
linux-image-5.13.0-25-generic linux-modules-5.13.0-25-generic
linux-modules-extra-5.13.0-25-generic
The following packages will be upgraded:
ghostscript ghostscript-x gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0
libexiv2-27 libfprint-2-2 libgs9 libgs9-common libjavascriptcoregtk-4.0-18
libnss-systemd libpam-systemd libqt5core5a libqt5dbus5 libqt5gui5
libqt5network5 libqt5widgets5 libsystemd0 libudev1 libwebkit2gtk-4.0-37
linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04
linux-image-generic-hwe-20.04 linux-libc-dev openssh-client
qt5-gtk-platformtheme systemd systemd-sysv systemd-timesyncd udev
29 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
27 standard security updates
Need to get 148 MB of archives.
After this operation, 504 MB of additional disk space will be used.
Do you want to continue? [Y/n] 1
Get:1 http://sy.archive.ubuntu.com/ubuntu impish-updates/main amd64
systemd-timesyncd amd64 248.3-1ubuntu8.2 [30.8 kB]
--
so i click 1 not y or yes ? and the upgrading begin?
is that normal ?
i mean using 1 as yes?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1957781/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp