Bug#356997: apt: internationalization of yes/no answers does not accept displayed answers
Package: apt
Version: 0.6.43.3
Severity: important
Tags: l10n
In the german locale (de_DE), apt asks:
Möchten Sie fortfahren [J/n]?
(Do you want to continue [Y/n]?)
and eventually
Diese Pakete ohne Überprüfung installieren [j/N]?
(Install these packages without verification [y/N]?)
If you answer 'j' apt acts as if you'd answer 'n'!
Only if you answer 'y' apt continues as expected.
This normally does not occur in the first case, as 'y' is the predefined
answer and you virtually allways only hit enter.
But in the second case the predefined answer is 'n', so you have to tell
apt that you really want to install these packages by answering 'j',
what causes apt to cancel because it expects 'y'!
This is not clear to the user and is not what you would expect.
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
deb http://aptproxy/ftp.de.debian.org/debian/ unstable main non-free contrib
deb-src http://aptproxy/ftp.de.debian.org/debian/ unstable main non-free contrib
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-cko1-raidserver
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages apt depends on:
ii libc6 2.3.6-3 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.3-1 GCC support library
ii libstdc++6 4.0.3-1 The GNU Standard C++ Library v3
Versions of packages apt recommends:
pn debian-archive-keyring <none> (no description available)
-- no debconf information
Reply to: