[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#641967: marked as done (apt downloads Translation-de even if Acquire::Languages=none)



Your message dated Tue, 10 Apr 2012 10:56:45 +0200
with message-id <CAAZ6_fD75t1_XdbKoG4Dhxik5E4ijDre3FLm7BhrrFuUzUZF4w@mail.gmail.com>
and subject line Re: Bug#641967: apt downloads Translation-de even if Acquire::Languages=none
has caused the Debian Bug report #641967,
regarding apt downloads Translation-de even if Acquire::Languages=none
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
641967: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641967
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.8.15.7
Severity: normal

Hi,

I've put this in my apt.conf, because the manual page apt.conf say “To
force apt to use no Translation file use the setting
Acquire::Languages=none,” but apt-get still downloads translation files.
I want to disable them completely.

Acquire {
    Languages "none";
};

% apt-config dump |grep Lan
Acquire::Languages "";
Acquire::Languages:: "none";
Acquire::Languages:: "de";

% ls /var/lib/apt/lists/*i18*
/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_main_i18n_Index
/var/lib/apt/lists/ftp.de.debian.org_debian_dists_unstable_main_i18n_Translation-de

Bye, Jörg.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "powerpc";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
APT::Install-Suggests "0";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::NeverAutoRemove:: "^gnumach$";
APT::NeverAutoRemove:: "^gnumach-image.*";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
APT::Cache-Limit "64000000";
APT::Get "";
APT::Get::Purge "true";
APT::Get::AutomaticRemove "false";
APT::Get::HideAutoRemove "true";
APT::Archives "";
APT::Archives::MinAge "14";
APT::Periodic "";
APT::Periodic::AutocleanInterval "7";
APT::Periodic::RandomSleep "0";
APT::Architectures "";
APT::Architectures:: "powerpc";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
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::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/mnt/cdrom";
Acquire::Retries "2";
Acquire::http "";
Acquire::http::Max-Age "604800";
Acquire::Languages "";
Acquire::Languages:: "none";
Acquire::Languages:: "de";
DPkg "";
DPkg::Options "";
DPkg::Options:: "--force-confold";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "etcgit import-apt-preinst; rc=$?; test $rc -eq 127 && exit 0 || exit $rc";
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::etcgit "";
DPkg::Tools::Options::etcgit::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "etcgit import-apt-postinst; rc=$?; test $rc -eq 127 && exit 0 || exit $rc";
DPkg::Post-Invoke:: "test ${NO_APT_REMOUNT:-no} = yes || mount -o remount,ro / || true";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
DPkg::Post-Invoke:: "if [ -x /usr/bin/rkhunter ] && grep -qiE '^APT_AUTOGEN=.?(true|yes)' /etc/default/rkhunter; then /usr/share/rkhunter/scripts/rkhupd.sh; fi";
DPkg::Pre-Invoke "";
DPkg::Pre-Invoke:: "mount -o remount,rw /";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- (/etc/apt/preferences present, but not submitted) --

-- (/etc/apt/sources.list present, but not submitted) --

-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 3.1.0-rc5.ledtest-00231-ged2888e-dirty
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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    
ii  gnupg                   1.4.11-3      
ii  libc6                   2.13-20       
ii  libgcc1                 1:4.6.1-10    
ii  libstdc++6              4.6.1-10      
ii  zlib1g                  1:1.2.5.dfsg-1

apt recommends no packages.

Versions of packages apt suggests:
ii  apt-doc     0.8.15.7
ii  aptitude    0.6.4-1 
ii  bzip2       1.0.5-7 
ii  dpkg-dev    1.16.0.3
ii  lzma        4.43-14 
ii  python-apt  0.8.0   

-- no debconf information

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP


--- End Message ---
--- Begin Message ---
Version: 0.8.15.9

On Mon, Apr 9, 2012 at 18:59, W. Martin Borgert <debacle@debian.org> wrote:
> "Acquire::Languages=none;" in /etc/apt/apt.conf

Sure, this doesn't work, as this is not valid configuration syntax.
See "man apt.conf" for details.

You want to do something like this:
echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/99no-translation
(note especially the absence of the equal sign)

But keep in mind that you will not have LongDescriptions this way.



The bug is fixed in sid/experimental with the following entry:
(which has a testcase, so i am reasonable sure this really work)

  * apt-pkg/aptconfiguration.cc:
    - do not builtin languages only if none is forced (Closes: #643787)


I am therefore closing this bug.


Best regards

David Kalnischkies


--- End Message ---

Reply to: