Hi Mehdi, On Fri, Oct 22, 2010 at 15:54, Mehdi Dogguy <me...@debian.org> wrote: > I stumbled upon this annoying behaviour: > > $ apt-cache show cdebootstrap > [...] > Description-fr: > Tag: devel::debian, interface::commandline, qa::old-rc-bugs, role::program, > suite::debian
Am i right that the root account on your system has a different LANG environment than your user account? (at least that would be the easiest way to hit it, i guess) There is a cdebootstrap translation for fr available and it works correctly if the translation file is downloaded, but not if it is not (or at least if the cache was build without it). Attached patch should fix that in regards to that it should show you the inbuilt description in the Packages file if no suitable Translation file was found instead of defaulting to the first Description available (which could be unsuitable for the user and is therefore not even returned resulting in an empty description…). btw: You might want to add a file to your apt configuration including Acquire::Languages { "environment"; "en"; "none"; "fr"; }; to ensure that apt-get update will actually download the fr translation. Best regards David Kalnischkies
apt-bug-601016-description-translation
Description: Binary data