Re: How does apt select and priotize translations?



On Thu, Sep 01, 2011 at 02:12:26PM +0000, Camaleón wrote:
On Sun, 28 Aug 2011 13:54:53 +0200, Dirk Weinhardt wrote:

I am about to install a particular package from wheezy on a squeeze
system. Packages from wheezy should be pinned to a priority of 50. While
configuring and testing apt I found that apt searches for German
translations although the system's locale is en_US.utf8 and pinning
priorities seem not to be applied to translations.

I have added wheezy main to sources.list: deb
http://ftp.debian.org/debian wheezy main

And I have assigned a pin priority of 50 to testing in apt's
preferences: Package: *
Pin: release a=testing
Pin-Priority: 50

The system's local initially was de_DE and I have changed that to
en_US.utf8 by running "dpkg-reconfigure locales". "locale" shows
"LANG=en_US.utf8" and "locale -a" does not list any de locale.

Why is apt still querying German translations and how can that be
avoided?

(...)

Mmm, interesting question.

I have "es" (Spanish) and "en" (English) locales in my wheezy system and
get sporadic updates for both -sometimes Spanish, sometimes English and
sometimes for both- package descriptions but true is that I never paid
attention on this because I guess it only affects to "descriptions" not
the packages nor application themselves :-?

Anyway, I would also like to know how this is managed, I mean, if
language package descriptions updates depend on the number of locale(s)
defined in the system or if it takes their settings from another source.

According to 'man apt.conf', Acquire::Languages can be set to declare
which translations one wants downloading. The pseudo-language
"environment" (which is part of the default setting) specifies that apt
should check $LC_MESSAGES. However, if this doesn't include a "de"
language, then it might actually be that Acquire::Languages was set at
install time.

Check /etc/apt/apt-conf.d/* for Acquire::Languages.


Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/pan.2011.09.01.14.12.26@xxxxxxxxx


--
Darac Marjal

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • How does apt select and priotize translations?
    ... I am about to install a particular package from wheezy on a squeeze system. ... Packages from wheezy should be pinned to a priority of 50. ... While configuring and testing apt I found that apt searches for German translations although the system's locale is en_US.utf8 and pinning priorities seem not to be applied to translations. ...
    (Debian-User)
  • Re: How does apt select and priotize translations?
    ... Packages from wheezy should be pinned to a priority of 50. ... configuring and testing apt I found that apt searches for German ... priorities seem not to be applied to translations. ... sometimes for both- package descriptions but true is that I never paid ...
    (Debian-User)
  • Re: package locally compiled gets "upgraded"
    ... prevents apt from upgrading it. ... Because it can tell it isn't the same package and it has a higher positive ... installed packages have a priority of 100 and ...
    (Debian-User)
  • Re: Debian
    ... Both apt and dpkg are package tools, as are aptitude, synaptic, ... Which is ultimately why Ubuntu, and via Ubuntu, Debian, is basically ... There have been lots of efforts to "improve" Debian before now, ...
    (Ubuntu)
  • APT -- if I do this will I screw the pooch?
    ... I typically use aptitude in command-line mode as a front-end to APT. ... I was thinking of setting up the notebook by doing a basic install off my old woody CDs I originally set up my desktop off of, getting a working net connection in place, then immediately upgrading everything via the net to current stable before building out the system any further. ... I don't want the notebook to have to download them all again, especially since security.debian.org, which has a lot of the latest versions of stable packages, seems to get overloaded and be very slow to download at times. ... This is because although I want them both to use the same repository of downloaded package files, I want the two machines to independently track what's installed, so I don't have to keep installed packages identical on both machines. ...
    (Debian-User)