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

Bug#788316: marked as done (Please allow to switch off translations completly)



Your message dated Wed, 10 Jun 2015 14:02:35 +0200
with message-id <20150610120234.GA6391@crossbow>
and subject line Re: Bug#788316: Please allow to switch off translations completly
has caused the Debian Bug report #788316,
regarding Please allow to switch off translations completly
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.)


-- 
788316: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788316
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Package: apt
Version: 1.0.9.10
Severity: wishlist
Tags: l10n

Hi,

Although for me this is important, I believe that this bugreport goes
into wishlist report.

Currently when updating apt lists, most of the time is spend in
downloading that translations that you seldom want to have for system
administration.

Per default, it is downloading the users locales (eventually two lists
if de and de_DE) _and_ english translations. There seems to be no way to
even disable the additional translations.

There is a configureation option "Acquire::Languages" but it does not
really help. When you set it to an empty value or to False it default
runs crazy and downloads all locales like done when there is no such
parameter. So the best that could get archived is setting it to "en"
currently.

To emphasize this a bit. Only the english translations counting up to
over 170MB for only english. When acquiring also other locales that
translations get far bigger than the packages lists itself. And that on
every single system! And that translations are downloaded complete every
time, what adds a big amount of time to the update procedure.

So please switch that translations off per default and only acquire
translations if the user opts in for them. Or at least give the user a
way to switch them of. I cannot believe that there are that many people
out there that care about the translations and just want to have there
servers updated.

I found even a different ticket about excessive traffic on a server for
this translation downloads. This ticket is not about this but this is
part of the problem.

So, please again, respect your admins to give them a way to switch of
that excessive and unneeded translations off completely.

- -- Package-specific info:

- -- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
APT::Install-Suggests "0";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image-3\.19\.5$";
APT::NeverAutoRemove:: "^linux-image-4\.0\.4$";
APT::NeverAutoRemove:: "^linux-headers-3\.19\.5$";
APT::NeverAutoRemove:: "^linux-headers-4\.0\.4$";
APT::NeverAutoRemove:: "^linux-image-extra-3\.19\.5$";
APT::NeverAutoRemove:: "^linux-image-extra-4\.0\.4$";
APT::NeverAutoRemove:: "^linux-signed-image-3\.19\.5$";
APT::NeverAutoRemove:: "^linux-signed-image-4\.0\.4$";
APT::NeverAutoRemove:: "^kfreebsd-image-3\.19\.5$";
APT::NeverAutoRemove:: "^kfreebsd-image-4\.0\.4$";
APT::NeverAutoRemove:: "^kfreebsd-headers-3\.19\.5$";
APT::NeverAutoRemove:: "^kfreebsd-headers-4\.0\.4$";
APT::NeverAutoRemove:: "^gnumach-image-3\.19\.5$";
APT::NeverAutoRemove:: "^gnumach-image-4\.0\.4$";
APT::NeverAutoRemove:: "^.*-modules-3\.19\.5$";
APT::NeverAutoRemove:: "^.*-modules-4\.0\.4$";
APT::NeverAutoRemove:: "^.*-kernel-3\.19\.5$";
APT::NeverAutoRemove:: "^.*-kernel-4\.0\.4$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-3\.19\.5$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-4\.0\.4$";
APT::NeverAutoRemove:: "^linux-tools-3\.19\.5$";
APT::NeverAutoRemove:: "^linux-tools-4\.0\.4$";
APT::VersionedKernelPackages "";
APT::VersionedKernelPackages:: "linux-image";
APT::VersionedKernelPackages:: "linux-headers";
APT::VersionedKernelPackages:: "linux-image-extra";
APT::VersionedKernelPackages:: "linux-signed-image";
APT::VersionedKernelPackages:: "kfreebsd-image";
APT::VersionedKernelPackages:: "kfreebsd-headers";
APT::VersionedKernelPackages:: "gnumach-image";
APT::VersionedKernelPackages:: ".*-modules";
APT::VersionedKernelPackages:: ".*-kernel";
APT::VersionedKernelPackages:: "linux-backports-modules-.*";
APT::VersionedKernelPackages:: "linux-tools";
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::Periodic "";
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "1";
APT::Periodic::MaxAge "30";
APT::Periodic::MinAge "2";
APT::Periodic::MaxSize "500";
APT::Update "";
APT::Update::Pre-Invoke "";
APT::Update::Pre-Invoke:: "if [ -x /usr/bin/daptup ]; then /usr/bin/daptup --pre; fi";
APT::Update::Post-Invoke "";
APT::Update::Post-Invoke:: "if [ -x /usr/bin/daptup ]; then /usr/bin/daptup --post; fi";
APT::Update::Post-Invoke-Success "";
APT::Update::Post-Invoke-Success:: "touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";
APT::Update::Post-Invoke-Success:: "test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i";
APT::Get "";
APT::Get::Show-Upgraded "true";
APT::Get::Show-Versions "true";
APT::Get::Purge "true";
APT::Cache "";
APT::Cache::AllVersions "false";
APT::Architectures "";
APT::Architectures:: "amd64";
APT::Architectures:: "i386";
APT::Compressor "";
APT::Compressor::. "";
APT::Compressor::.::Name ".";
APT::Compressor::.::Extension "";
APT::Compressor::.::Binary "";
APT::Compressor::.::Cost "1";
APT::Compressor::gzip "";
APT::Compressor::gzip::Name "gzip";
APT::Compressor::gzip::Extension ".gz";
APT::Compressor::gzip::Binary "gzip";
APT::Compressor::gzip::Cost "2";
APT::Compressor::gzip::CompressArg "";
APT::Compressor::gzip::CompressArg:: "-9n";
APT::Compressor::gzip::UncompressArg "";
APT::Compressor::gzip::UncompressArg:: "-d";
APT::Compressor::bzip2 "";
APT::Compressor::bzip2::Name "bzip2";
APT::Compressor::bzip2::Extension ".bz2";
APT::Compressor::bzip2::Binary "bzip2";
APT::Compressor::bzip2::Cost "3";
APT::Compressor::bzip2::CompressArg "";
APT::Compressor::bzip2::CompressArg:: "-9";
APT::Compressor::bzip2::UncompressArg "";
APT::Compressor::bzip2::UncompressArg:: "-d";
APT::Compressor::xz "";
APT::Compressor::xz::Name "xz";
APT::Compressor::xz::Extension ".xz";
APT::Compressor::xz::Binary "xz";
APT::Compressor::xz::Cost "4";
APT::Compressor::xz::CompressArg "";
APT::Compressor::xz::CompressArg:: "-6";
APT::Compressor::xz::UncompressArg "";
APT::Compressor::xz::UncompressArg:: "-d";
APT::Compressor::lzma "";
APT::Compressor::lzma::Name "lzma";
APT::Compressor::lzma::Extension ".lzma";
APT::Compressor::lzma::Binary "xz";
APT::Compressor::lzma::Cost "5";
APT::Compressor::lzma::CompressArg "";
APT::Compressor::lzma::CompressArg:: "--format=lzma";
APT::Compressor::lzma::CompressArg:: "-9";
APT::Compressor::lzma::UncompressArg "";
APT::Compressor::lzma::UncompressArg:: "--format=lzma";
APT::Compressor::lzma::UncompressArg:: "-d";
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::solvers "";
Dir::Bin::solvers:: "/usr/lib/apt/solvers";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Bin::bzip2 "/bin/bzip2";
Dir::Bin::xz "/usr/bin/xz";
Dir::Bin::lzma "/usr/bin/xz";
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]+$";
Dir::Ignore-Files-Silently:: "\.save$";
Dir::Ignore-Files-Silently:: "\.orig$";
Dir::Ignore-Files-Silently:: "\.distUpgrade$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom/";
Acquire::PDiffs "false";
Acquire::Check-Valid-Until "false";
Acquire::Languages "";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
DPkg "";
DPkg::Pre-Invoke "";
DPkg::Pre-Invoke:: "if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; 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::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | egrep -c '(remove|purge)') != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/apt-listbugs apt";
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/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "3";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::InfoFD "20";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
RPM "";
RPM::Pre-Invoke "";
RPM::Pre-Invoke:: "if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi";
RPM::Post-Invoke "";
RPM::Post-Invoke:: "if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi";
AptListbugs "";
AptListbugs::Severities "critical,grave,serious";
CommandLine "";
CommandLine::AsString "apt-config dump";

- -- /etc/apt/preferences --

Package: *
Pin: release o=Mowgli
Pin-Priority: 995

Package: *
Pin: release o=Mowgli-security
Pin-Priority: 995

Package: *
Pin: release o=Jones
Pin-Priority: 99

Package: *
Pin: origin www.srce.hr
Pin-Priority: 99

Package: *
Pin: release a=unstable
Pin-Priority: 800

Package: *
Pin: release o=apt-build
Pin-Priority: 750

Package: *
Pin: release a=stable
Pin-Priority: 700

Package: *
Pin: release a=oldstable
Pin-Priority: 600

Package: *
Pin: release a=experimental
Pin-Priority: 110

Package: apache2
Pin: version *
Pin-Priority: -1000

Package: apache2-mpm-itk
Pin: version *
Pin-Priority: -1000

Package: apache2-mpm-event
Pin: version *
Pin-Priority: -1000

Package: apache2-mpm-prefork
Pin: version *
Pin-Priority: -1000

Package: apache2-mpm-worker
Pin: version *
Pin-Priority: -1000

- -- /etc/apt/sources.list --

deb file:///home/ftp/pub/debian sid unofficial
deb-src file:///home/ftp/pub/debian sid unofficial
deb file:///home/ftp/pub/debian-security sid unofficial-secured
#!#deb file:/misc/debian-build ./

# Lokale Pakete f�r Ikki
#!#deb file:/misc/debian-ikki ./
#deb-src file:/misc/debian-ikki ./

# Lokale Mirror
#!#deb file:/mirror/debian sid main contrib non-free
#!#deb file:/mirror/debian-marillat sid main

#!#deb file:/mirror/debian lenny main contrib non-free
#!#deb file:/mirror/debian-marillat lenny main
#!#deb file:/mirror/debian-security lenny/updates main contrib non-free

#deb file:/mirror/debian sarge main contrib non-free
#deb file:/mirror/debian-non-US sarge/non-US main contrib non-free
#deb file:/mirror/debian-security sarge/updates main contrib non-free

#deb file:/mirror/webcleaner ./
#deb-src file:/mirror/webcleaner ./

#deb ftp://debian.ethz.ch/debian lenny main contrib non-free
#deb ftp://debian.ethz.ch/debian sid main contrib non-free
deb ftp://ftp.de.debian.org/debian sid main contrib non-free
deb ftp://ftp.de.debian.org/debian testing main contrib non-free
deb http://www.deb-multimedia.org/ sid main non-free
deb-src http://www.deb-multimedia.org/ sid main non-free

# Sources
#deb-src ftp://debian.ethz.ch/mirror/debian lenny main contrib non-free
#deb-src ftp://debian.ethz.ch/mirror/debian sid main contrib non-free
deb-src ftp://ftp.de.debian.org/debian sid main contrib non-free

# Diverses
# Java
#deb-src http://snapshot.debian.net/archive pool thoughttracker
#deb http://snapshot.debian.net/archive pool kernel-patch-cryptoloop
#deb http://snapshot.debian.net/archive pool scrollz
#deb http://snapshot.debian.net/archive pool fuse
#deb http://snapshot.debian.net/archive pool nvidia-graphics-drivers
#deb-src http://snapshot.debian.net/archive pool nvidia-graphics-drivers
#deb-src http://snapshot.debian.net/archive pool lvm2

# Experimental
#deb ftp://debian.ethz.ch/mirror/debian experimental main contrib non-free
deb ftp://ftp.de.debian.org/debian experimental main contrib non-free
deb-src ftp://debian.ethz.ch/mirror/debian experimental main contrib non-free

#deb ftp://ftp.de.debian.org/debian sarge main contrib non-free
#deb ftp://ftp.de.debian.org/debian-security sarge/updates main contrib non-free

# Wine
#deb http://www.lamaresh.net/apt sid main
#deb-src http://www.lamaresh.net/apt sid main

# Zum Downgraden des kaputten fuse
#deb http://snapshot.debian.org/archive/debian/20100201T042505Z sid main

# udev ist kaput
#deb http://snapshot.debian.org/archive/debian/20110420T045508Z sid main

# And lsb-base is also broken in version 4.1+Debian9
deb http://snapshot.debian.org/archive/debian/20121105T153933Z sid main

# Bug in udev
deb http://snapshot.debian.org/archive/debian/20150129T160917Z sid main

deb file:///home/local_repo sid main

- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (500, 'testing'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.4 (SMP w/8 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages apt depends on:
ii  debian-archive-keyring  2014.3
ii  gnupg                   1.4.19-3
ii  libapt-pkg4.12          1.0.9.10
ii  libc6                   2.19-18
ii  libgcc1                 1:5.1.1-9
ii  libstdc++6              5.1.1-9

apt recommends no packages.

Versions of packages apt suggests:
ii  apt-doc                      1.0.9.10
pn  aptitude | synaptic | wajig  <none>
ii  dpkg-dev                     1.18.1
ii  python-apt                   0.9.4

- -- no debconf information

- -- 
Klaus Ethgen                              http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen <Klaus@Ethgen.de>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQGcBAEBCgAGBQJVd/MZAAoJEKZ8CrGAGfasS2oL/iLlJizL3eoT3Gd6fLk25S9W
QhBtbwo3/zpGTQ83Cr8VUhvtveF8oCvs2a6fU6OnOobu6FQyaAStc4kur1vXjs8p
99hGGIGjT3n2P77/tHTCZmhNaIpzg17410to7FYd1GFZAkCX8T11ntibWgRlfHY4
++C2ReqC7vg+//xilSNpxUNyW1USQBeabrOzpkbnpJjnIZqVgzpNGHiledrnbtSC
wt/Ky5o+ISJ8LCKJg69kPiumhA9Ha/h827UD4TYAtJqTeyqS0Y8t4pfOpWnTHP/g
rNGHiqWhp2twGCWtz7I6Lbdsj2iX0aJrNRDxnEoY13Box1c6yKEZUFzeMxnfm9wa
VATC/KSFffSBZokRDx3mbeN7+5HAn3SY9A3NuvkX32TOnbso5RCX+WNu3yVSV5mG
BmYvy0OhAJzMTflapgjZTd5RNQ/UIOxP8ww8dqwpsaj8+wxGB8DMuFAZs/I5EBBh
+TsGoUdzdqiNpWjank7+vLNxtgd0pw0LuJtrP9CYzw==
=zlSb
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
On Wed, Jun 10, 2015 at 09:19:45AM +0100, Klaus Ethgen wrote:
> There is a configureation option "Acquire::Languages" but it does not
> really help. When you set it to an empty value or to False it default
> runs crazy and downloads all locales like done when there is no such
> parameter. So the best that could get archived is setting it to "en"
> currently.

The documentation of this option is rather explicit on how to not
download any Translation-* files. See man apt.conf(5).
Hint: Acquire::Languages=none

If you really want that is an entirely different thing as this severely
cripples the usefulness of e.g. 'apt-cache search' as there is nothing
to search in anymore, so 'en' might really be the best, but you have the
choice.

So, as this feature is already implemented and documented: closing bug.


> To emphasize this a bit. Only the english translations counting up to
> over 170MB for only english. When acquiring also other locales that
> translations get far bigger than the packages lists itself. And that on

The english translation used to be directly embedded in the packages
lists. This was changed to allow not downloading it at all – and to be
able to download it only once even if you get the Packages file for
multiple architectures. That these files get bigger and bigger… well,
lets all stop adding free software to Debian! Lets see how popular that
suggestion will gone be… ;)


> every single system! And that translations are downloaded complete every
> time, what adds a big amount of time to the update procedure.

That is your fault. You have disabled pdiffs…

You probably did this in the past as you perceived it as slow.
Try it again, it went through a major speedup.
I think you will like it.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: