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

Bug#643787: marked as done (apt-cache policy in non-default locale very slow)



Your message dated Fri, 14 Oct 2011 11:32:19 +0000
with message-id <E1REfzv-0001UH-M7@franck.debian.org>
and subject line Bug#643787: fixed in apt 0.8.15.9
has caused the Debian Bug report #643787,
regarding apt-cache policy in non-default locale very slow
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.)


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

If I run apt-cache policy (without arguments), it takes milliseconds.
If I run it under a different locale, e.g., LC_ALL=C apt-cache policy,
it takes about 4 or 5 seconds.  There are some package build tools
that indirectly call apt-cache policy with LC_ALL=C, which makes the
overall package build very slow.

After digging a little deeper, the relevant locale category is
LC_MESSAGES.  I guess it has to do with under which locale apt-get
update was run.  strace of the apt-cache calls shows interesting
differences; I can forward those to someone privately if you can't
reproduce it.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "true";
APT::Install-Suggests "false";
APT::Get "";
APT::Get::Purge "true";
APT::Get::AutomaticRemove "false";
APT::Get::Build-Dep-Automatic "true";
APT::Cache "";
APT::Cache::AllVersions "false";
APT::Cache::NamesOnly "true";
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::Periodic "";
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "1";
APT::Periodic::Unattended-Upgrade "0";
APT::Update "";
APT::Update::Post-Invoke "";
APT::Update::Post-Invoke:: "touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";
APT::Update::Post-Invoke:: "echo timestamp >/var/lib/apt/update_success";
APT::Archives "";
APT::Archives::MaxAge "14";
APT::Archives::MinAge "2";
APT::Archives::MaxSize "512";
APT::Cache-Limit "40000000";
APT::Default-Release "testing";
APT::Architectures "";
APT::Architectures:: "i386";
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 "/media/cdrom/";
Acquire::Languages "";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
DPkg "";
DPkg::Pre-Install-Pkgs "";
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";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e /var/lib/update-notifier/updates-available ]; then echo > /var/lib/update-notifier/updates-available; fi ";
Unattended-Upgrade "";
Unattended-Upgrade::Origins-Pattern "";
Unattended-Upgrade::Origins-Pattern:: "origin=Debian,label=Debian-Security,archive=stable";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- /etc/apt/preferences --

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

Package: debian-policy
Pin: release a=unstable
Pin-Priority: 991

Package: devscripts
Pin: release a=unstable
Pin-Priority: 991

Package: lintian
Pin: release a=unstable
Pin-Priority: 991

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

deb     http://cdn.debian.net/debian/ oldstable main contrib non-free
deb-src http://cdn.debian.net/debian/ oldstable main contrib non-free

deb     http://cdn.debian.net/debian/ stable main contrib non-free
deb-src http://cdn.debian.net/debian/ stable main contrib non-free

deb     http://cdn.debian.net/debian/ testing main contrib non-free
deb-src http://cdn.debian.net/debian/ testing main contrib non-free

deb     http://cdn.debian.net/debian/ unstable main contrib non-free
deb-src http://cdn.debian.net/debian/ unstable main contrib non-free

deb     http://cdn.debian.net/debian/ experimental main contrib non-free
deb-src http://cdn.debian.net/debian/ experimental main contrib non-free

deb     http://security.debian.org/ testing/updates main
deb-src http://security.debian.org/ testing/updates main

deb http://www.debian-multimedia.org testing main non-free

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring  2010.08.28      
ii  gnupg                   1.4.11-3        
ii  libc6                   2.13-21         
ii  libgcc1                 1:4.6.1-13      
ii  libstdc++6              4.6.1-13        
ii  zlib1g                  1:1.2.3.4.dfsg-3

apt recommends no packages.

Versions of packages apt suggests:
ii  apt-doc     <none> 
ii  aptitude    0.6.3-4
ii  bzip2       1.0.5-7
ii  dpkg-dev    1.16.1 
ii  lzma        4.43-14
ii  python-apt  0.8.0  
ii  synaptic    0.75.2 

-- no debconf information



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

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:

apt-doc_0.8.15.9_all.deb
  to main/a/apt/apt-doc_0.8.15.9_all.deb
apt-transport-https_0.8.15.9_amd64.deb
  to main/a/apt/apt-transport-https_0.8.15.9_amd64.deb
apt-utils_0.8.15.9_amd64.deb
  to main/a/apt/apt-utils_0.8.15.9_amd64.deb
apt_0.8.15.9.dsc
  to main/a/apt/apt_0.8.15.9.dsc
apt_0.8.15.9.tar.gz
  to main/a/apt/apt_0.8.15.9.tar.gz
apt_0.8.15.9_amd64.deb
  to main/a/apt/apt_0.8.15.9_amd64.deb
libapt-pkg-dev_0.8.15.9_amd64.deb
  to main/a/apt/libapt-pkg-dev_0.8.15.9_amd64.deb
libapt-pkg-doc_0.8.15.9_all.deb
  to main/a/apt/libapt-pkg-doc_0.8.15.9_all.deb



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 643787@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: Fri, 14 Oct 2011 12:00:09 +0200
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all amd64
Version: 0.8.15.9
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-transport-https - APT https transport
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 624218 640590 641490 643787 644104 644166
Changes: 
 apt (0.8.15.9) unstable; urgency=low
 .
   [ David Kalnischkies ]
   * Symbol file update
   * doc/apt-get.8.xml:
     - change wording of autoremove description as suggested
       by Robert Simmons, thanks! (Closes: #641490)
   * apt-pkg/deb/dpkgpm.cc:
     - use std::vector instead of fixed size arrays to store args and
       multiarch-packagename strings
     - load the dpkg base arguments only one time and reuse them later
   * cmdline/apt-get.cc:
     - follow Provides in the evaluation of saving candidates, too, for
       statisfying garbage package dependencies (Closes: #640590)
   * apt-pkg/algorithms.cc:
     - if a package is garbage, don't try to save it with FixByInstall
   * apt-pkg/init.cc:
     - silently ignore *.orig and *.save files by default
   * apt-pkg/policy.cc:
     - accept generic release pin expressions again in -t (Closes: #644166)
   * apt-pkg/deb/debmetaindex.cc:
     - none is a separator, not a language: no need for Index (Closes: #624218)
   * apt-pkg/aptconfiguration.cc:
     - do not builtin languages only if none is forced (Closes: #643787)
   * doc/apt.conf.5.xml:
     - apply spelling fix by Kevin Lyda, thanks! (Closes: #644104)
 .
   [ Christian Perrier ]
   * Fix spelling error (sensée) in French translation. Thanks
     to Corentin Le Gall for spotting it.
 .
   [ Colin Watson ]
   * ftparchive/cachedb.cc:
     - fix buffersize in bytes2hex
 .
   [ Michael Vogt ]
   * ftparchive/cachedb.cc:
     - make buffer fully dynamic (thanks to Colin Watson)
Checksums-Sha1: 
 fca48b3fac332453193bc82a87f5f3635079e529 1570 apt_0.8.15.9.dsc
 ba5764f96aa72c989da2b34a9261cfb432abd88a 3320165 apt_0.8.15.9.tar.gz
 de8a8a7550a20a8054ae965c7135b11bc5389cb5 241960 apt-doc_0.8.15.9_all.deb
 754034f4851035b48d6da83155b7ef56103683e5 740502 libapt-pkg-doc_0.8.15.9_all.deb
 99e99bd7e44a3244c64c715d3b0141ede141fe0f 2193598 apt_0.8.15.9_amd64.deb
 bcde270665c0509e45d08ea6966c05402296dc4b 162210 libapt-pkg-dev_0.8.15.9_amd64.deb
 2bcd4a5ded98966a8ffff48dc8d8011c650ef5a3 291544 apt-utils_0.8.15.9_amd64.deb
 3456971c8bf51315498948ee1af926e2eeda83de 92120 apt-transport-https_0.8.15.9_amd64.deb
Checksums-Sha256: 
 c226b250ba211a865500551735f6f5f87a0c8df63e4e7045156e96304e9f4394 1570 apt_0.8.15.9.dsc
 f5c09ced8d1be31e8790d11e7a4eb2cff9789b28af1c049785c6c13f4b9c1214 3320165 apt_0.8.15.9.tar.gz
 3dbe6966b1352ec1960a8dd2342f873f2195b168c83e6b368ce5a02e483ed6f0 241960 apt-doc_0.8.15.9_all.deb
 23ff2291150932b563773fb6ab3223874e899d209bbdf59fede54a8d8a371fe5 740502 libapt-pkg-doc_0.8.15.9_all.deb
 718ff8d23e635b7e472d61d5e8603439815ef3ef504b2ab5c3911f913542e8dd 2193598 apt_0.8.15.9_amd64.deb
 4fa84e4c2429215907e39cb12b1cd2adb01f30787f30f0c9ebb6c6f5fe68522c 162210 libapt-pkg-dev_0.8.15.9_amd64.deb
 72c3832ff6db919503c3806486e707ad2ec3ff0c5093d69381ce3b16e6048e6d 291544 apt-utils_0.8.15.9_amd64.deb
 25f696500f997edf5e0cb568435e46fedddc19039f5608f25e173853a35efeb1 92120 apt-transport-https_0.8.15.9_amd64.deb
Files: 
 fe15ee8f5975beb18030d6617ce3b469 1570 admin important apt_0.8.15.9.dsc
 47fe325ff15001b4fcb114c034a4f083 3320165 admin important apt_0.8.15.9.tar.gz
 c74d8f7fe56319e1d7a2ac94a03ac2a1 241960 doc optional apt-doc_0.8.15.9_all.deb
 1e3008621716f977810192b409559258 740502 doc optional libapt-pkg-doc_0.8.15.9_all.deb
 f0599c66a97979c11479999f7dd8d44f 2193598 admin important apt_0.8.15.9_amd64.deb
 767aec7cddabbae06f91225d9930d3db 162210 libdevel optional libapt-pkg-dev_0.8.15.9_amd64.deb
 92bcbbb5a39ed9d0522c514a34822050 291544 admin important apt-utils_0.8.15.9_amd64.deb
 aa1c9672b8e2ce8e6516c17022699520 92120 admin optional apt-transport-https_0.8.15.9_amd64.deb

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

iEYEARECAAYFAk6YDzAACgkQliSD4VZixzQMowCcC75T8KDZ8+cS4gKxeqxq79RT
r2YAnRnPJANEfeGb3hecbyrJWMnKUujx
=0DJP
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: