Bug#678227: Bug#641967: Apt downloads all description translations
- To: Julien Cristau <jcristau@debian.org>
- Cc: Samuel Thibault <sthibault@debian.org>, David Kalnischkies <kalnischkies+debian@gmail.com>, 678227@bugs.debian.org, debian-release@lists.debian.org
- Subject: Bug#678227: Bug#641967: Apt downloads all description translations
- From: Julian Andres Klode <jak@debian.org>
- Date: Tue, 28 Aug 2012 13:14:18 +0200
- Message-id: <[🔎] 20120828131007.GA10339@debian.org>
- Mail-followup-to: Julian Andres Klode <jak@debian.org>, Julien Cristau <jcristau@debian.org>, Samuel Thibault <sthibault@debian.org>, David Kalnischkies <kalnischkies+debian@gmail.com>, 678227@bugs.debian.org, debian-release@lists.debian.org
- Reply-to: Julian Andres Klode <jak@debian.org>, 678227@bugs.debian.org
- In-reply-to: <[🔎] 20120828110533.GO5484@radis.cristau.org>
- References: <[🔎] 20120827174323.GA22370@type.bordeaux.inria.fr> <[🔎] CAAZ6_fCfFk=w9bNwwsQgMzd0vq3rMEccqUKxjT3xAW3SrmSdWA@mail.gmail.com> <[🔎] 20120828084743.GF3532@type.bordeaux.inria.fr> <[🔎] 20120828123910.GA10339@debian.org> <[🔎] 20120828110533.GO5484@radis.cristau.org>
On Tue, Aug 28, 2012 at 01:05:33PM +0200, Julien Cristau wrote:
> On Tue, Aug 28, 2012 at 12:47:09 +0200, Julian Andres Klode wrote:
>
> > 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).
> >
> Just because I have locales-all installed doesn't mean I want every
> single translation downloaded. Getting just the english ones is painful
> enough thankyouverymuch.
Right, but the installer does not install locales-all (right?). So by
default, only the files for the configured locales will be copied.
We could add a switch to apt-cdrom to copy all configured locales for
d-i purposes, and then once we have translation files in /var/lib/apt/lists
only recognize those languages and the ones configured via APT
configuration. We don't even need a switch, we could just look at this
list if no languages are explicitely configured for APT or translations
found in /var/lib/apt/lists.
This solves the problem with initial setup copying all translation
files and should work for everyone.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Reply to: