Bug#646790: apt: acquire::languages option behavior is inconsistent/broken
Package: apt
Version: 0.8.15.9
Severity: normal
Hello,
The behavior of the Acquire::Languages option is currently
unpredictable and behaves against the common configuration rules.
Default:
-8<-
$ apt-config dump | grep Acquire::Languages
Acquire::Languages "";
Acquire::Languages:: "en_US";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
->8-
If I add 'Acquire::Languages { "ru"; };' to configuration:
-8<-
$ apt-config dump | grep Acquire::Languages
Acquire::Languages "";
Acquire::Languages:: "ru";
Acquire::Languages:: "none";
->8-
1st breakage: entries "en_US" and "en" are deleted from the list.
2nd breakage: the entry "ru" is added not to the end of the list but to
the begin of it.
-- Package-specific info:
-- (/etc/apt/preferences present, but not submitted) --
-- (/etc/apt/sources.list present, but not submitted) --
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2010.08.28 GnuPG archive keys of the Debian a
ii gnupg 1.4.11-3 GNU privacy guard - a free PGP rep
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.6.1-10 GCC support library
ii libstdc++6 4.6.1-10 GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
ii aptitude 0.6.4-1 terminal-based package manager (te
ii bzip2 1.0.5-7 high-quality block-sorting file co
ii dpkg-dev 1.15.8.11 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
ii python-apt 0.7.100.1+squeeze1 Python interface to libapt-pkg
-- no debconf information
Reply to: