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

Re: Bug#678227: Bug#641967: Apt downloads all description translations



On Tue, Aug 28, 2012 at 10:47:43AM +0200, Samuel Thibault wrote:
> David Kalnischkies, le Tue 28 Aug 2012 10:31:23 +0200, a écrit :
> > > The issue also happens at debian-installer time, thus downloading way
> > 
> > (I don't know why an "also" is in that sentence …)
> 
> That's actually because 678227 is what made debian-boot consider the
> issue quoted above "already reported" (see #684954).
> 
> > apt-cdrom copies every Translation-* file from the disk to /var/lib/apt/lists
> 
> Why?  Why not just for the current locale?

How about copying files for all configured locales on the system? Unless
someone installes locales-all, this would be the best solution in my
opinion (and the user can still overwrite it with APT configuration
options anyway).

> > So these files were already copied to /var/lib/apt/lists, it's just that
> > apt-get and everything else using libapt will not drop Translation-* files
> > in there on the first run as there is a good chance that this run will be
> > done by cron or a front-end in LANG=C loosing all this valuable data.
> 
> Then don't drop it in the LANG=C case, but do drop it in the LANG!=C
> case.

And let us not forget C.UTF-8 -- it seems that C.utf8 and similar is not
recognized, contrary to normal languages, so we'd need to check for C
and C.UTF-8.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

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


Reply to: