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

Bug#643787: apt-cache policy in non-default locale very slow



On Thu, Sep 29, 2011 at 08:17:23PM +0300, Peter Eisentraut wrote:
> 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.

That's expected, APT needs to rebuild the cache to include/drop
translation indices.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.



Reply to: