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

Bug#678227: marked as done ([apt] Indices updates download descriptions in all languages by default)



Your message dated Tue, 11 Sep 2012 15:32:49 +0000
with message-id <E1TBSSH-0004PS-Ri@franck.debian.org>
and subject line Bug#678227: fixed in apt 0.9.7.5
has caused the Debian Bug report #678227,
regarding [apt] Indices updates download descriptions in all languages by default
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.)


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

With the modularization of package descriptions in distinct index files, there is now one file for each language which has some descriptions. By default, APT fetches all of these. Since the protocol is not optimized for this, indices update are now pretty slow, even when nothing changed.

The Acquire::Languages configuration item controls which languages are downloaded. By default, "environment" and English are (explicitly) downloaded. For example, in a French system, Acquire::Languages would normally request (explicitly) French and English description files to be downloaded. But as explained in apt.conf(5), files for more languages may be downloaded:
Note: To prevent problems resulting from APT being executed in different environments (e.g. by different users or by other programs) all Translation files which are found in /var/lib/apt/lists/ will be added to the end of the list (after an implicit "none").

This is hacky, but not a particularly bad hack in practice, since most systems do not use more than 2 languages.

But since /var/lib/apt/lists/ initially contains the files for all languages, files for all languages are downloaded/updated, by default. This happens even if a single language is hardcoded as Acquire::Language's value.

The workaround is to remove unwanted descriptions files from /var/lib/apt/lists/:

# rm /var/lib/apt/lists/*_Translation-*


I imagine the fix is to only have files for the requested languages in /var/lib/apt/lists/ after installation.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641967 has information about a similar bug where description files would slow indices updates.




--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.9.7.5

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 678227@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 11 Sep 2012 15:56:44 +0200
Source: apt
Binary: apt libapt-pkg4.12 libapt-inst1.5 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all amd64
Version: 0.9.7.5
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package managment related utility programs
 libapt-inst1.5 - deb package format runtime library
 libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - documentation for APT development
 libapt-pkg4.12 - package managment runtime library
Closes: 670900 678227 684435 685192 685989 686346 686975
Changes: 
 apt (0.9.7.5) unstable; urgency=low
 .
   [ Manpages translation updates ]
   * Japanese (KURASAWA Nozomu) (Closes: #684435)
   * Portuguese (Américo Monteiro) (Closes: #686975)
 .
   [ David Kalnischkies ]
   * handle packages without a mandatory architecture (debian-policy §5.3)
     by introducing a pseudo-architecture 'none' so that the small group of
     users with these packages can get right of them without introducing too
     much hassle for other users (Closes: #686346)
   * apt-pkg/cdrom.cc:
     - copy only configured translation files from a CD-ROM and not all
       available translation files preventing new installs with d-i from
       being initialized with all translations (Closes: #678227)
     - handle Components in the reduction for the source.list as multi-arch CDs
       otherwise create duplicated source entries (e.g. "wheezy main main")
   * apt-pkg/packagemanager.cc:
     - unpack versions only in case a different version from the package
       is currently in unpack state to recover from broken system states
       (like different file in M-A:same package and other dpkg errors)
       and avoid re-unpack otherwise (Closes: #670900)
   * debian/control:
     - let libapt-pkg break apt < 0.9.4 to ensure that the installed http-
       method supports the new redirection-style, thanks to Raphael Geissert
       for reporting & testing (Closes: #685192)
   * doc/apt_preferences.5.xml:
     - use the correct interval (x <= P < y) for pin value documentation as
       these are the intervals used by the code (Closes: #685989)
   * apt-pkg/indexcopy.cc:
     - do not create duplicated flat-archive CD-ROM sources for foreign
       architectures on multi-arch CD-ROMs
     - do not warn about files which have a record in the Release file, but
       are not present on the CD to mirror the behavior of the other methods
       and to allow uncompressed indexes to be dropped without scaring users
   * apt-pkg/pkgcachegen.cc:
     - do not create 'native' (or now 'none') package structures as a side
       effect of description translation parsing as it pollutes the cache
Checksums-Sha1: 
 7e666c8c7e7c7ab27c858d54a19485232229ac98 1689 apt_0.9.7.5.dsc
 f87aebbc6b9c413821bc5f19c91c87224f016357 3387864 apt_0.9.7.5.tar.gz
 6e54a50f3f23ca461e2525df41a856f98beab286 260874 apt-doc_0.9.7.5_all.deb
 f13303f91b27168ae497e1de8ec2af407a104a43 960408 libapt-pkg-doc_0.9.7.5_all.deb
 d74697ed798b7e089bf40a3e05fd80532590ae33 882860 libapt-pkg4.12_0.9.7.5_amd64.deb
 1afa928bbd988ce3a910bc6ecd93c27fb673d84d 164498 libapt-inst1.5_0.9.7.5_amd64.deb
 73f443563ef51198d12678c0611d9af678a1a8f7 1234400 apt_0.9.7.5_amd64.deb
 f35d3c5999a8fbe336b98ff7bb439a8f45b54c51 185406 libapt-pkg-dev_0.9.7.5_amd64.deb
 195ed4819d3fddf1f3cf7b9770d47ab4e8c4b592 373924 apt-utils_0.9.7.5_amd64.deb
 e4fbf830b93d5cd83b1202005b544de2b3741c08 107078 apt-transport-https_0.9.7.5_amd64.deb
Checksums-Sha256: 
 0c04c31d986810d2b52de501a45fad989b0ec55d8a96f73544d89126c58de45e 1689 apt_0.9.7.5.dsc
 82ff902cc33dab89e875c5827f625a64b4b872c34f1a16a8f04e07a7a1c30ced 3387864 apt_0.9.7.5.tar.gz
 ca64252135bae07fa54a534488e8a234f282113b1353ddfc0e39072834ee7c5a 260874 apt-doc_0.9.7.5_all.deb
 6dbe1b97ad10fe96a90f58d7a378346545ca58f6c2629331c802aae53ba490b6 960408 libapt-pkg-doc_0.9.7.5_all.deb
 913b5a7f26ed9de17f4e4257189f2136f2d00af783da80654a1b7f57e514beb6 882860 libapt-pkg4.12_0.9.7.5_amd64.deb
 cb40f8f8788e71b034de387c78c61e0be9b2b09cacfe8c7b995394f4b2c5cf06 164498 libapt-inst1.5_0.9.7.5_amd64.deb
 3c0d3d4b72d5de132560a26e3c86b9d8d759354e6a349b46b1b203b18b0c5563 1234400 apt_0.9.7.5_amd64.deb
 11ca12b5f43266108df9845bf5040f71d0ddddccd9760dad7a1e4efb8e4f92da 185406 libapt-pkg-dev_0.9.7.5_amd64.deb
 78e2f8b98489dde3d297ca855c3da72e6b583b97352993de7e3c697190fa0590 373924 apt-utils_0.9.7.5_amd64.deb
 442c083c20401c30dbbfcd9f71af85451bd81dec4dc847885ef222dede4cbf54 107078 apt-transport-https_0.9.7.5_amd64.deb
Files: 
 83737a282f81be3d24be43a60ef5aa11 1689 admin important apt_0.9.7.5.dsc
 51bed58178d73c21e240cb4e137afa93 3387864 admin important apt_0.9.7.5.tar.gz
 2ef4da2a1cece4afc1688c5d3b9e3aeb 260874 doc optional apt-doc_0.9.7.5_all.deb
 a983ad6026b1fd187988a21220298740 960408 doc optional libapt-pkg-doc_0.9.7.5_all.deb
 aa21106040013490cfe64f26020e0340 882860 libs important libapt-pkg4.12_0.9.7.5_amd64.deb
 6851100d5db7997c2f4e58b179908a15 164498 libs important libapt-inst1.5_0.9.7.5_amd64.deb
 073cfd3f4781fe1978ca00ea6853e78f 1234400 admin important apt_0.9.7.5_amd64.deb
 acaaa33ff73372b684ffa75e652c1cec 185406 libdevel optional libapt-pkg-dev_0.9.7.5_amd64.deb
 7da608a838d4a58ce26c62498c2d70c2 373924 admin important apt-utils_0.9.7.5_amd64.deb
 06997202bccda2f2cb72fb162b17b03a 107078 admin optional apt-transport-https_0.9.7.5_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlBPV4AACgkQliSD4VZixzTcvwCePyBv2X3kGh0Ba/ATKszd2zxr
/H4AoIK/zrO+im4bX7XaRgX/KqvAMmh4
=Oqfs
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: