On 2011-06-27 18:29 +0200, Guillem Jover wrote:

> On Mon, 2011-06-27 at 15:01:20 +0200, Sven Joachim wrote:
>> On 2011-06-27 13:43 +0200, Roger Broadbent wrote:
>> > After a little further investigation, it appears that before upgrade, I 
>> > had no
>> > packages that included messages in LC_MESSAGES for the Turkish locale, and 
>> > thus
>> > /usr/share/locale/tr did not exist. On upgrade to 6.0.2, several packages 
>> > now
>> > have Turkish local error messages. As it happens, the first to attempt to
>> > install was e2fsprogs, which failed with the error above. By moving
>> > /usr/share/locale/tr/ aside and reinstalling otrher packages with files in
>> > /usr/share/locale/tr/LC_MESSAGES/  (I chose vino), I was able to show that
>> > other packages ensure this directory is created and do not fail in  the 
>> > same
>> > way as e2fsprogs.
>
>> I can confirm that this problem does not show up with (e.g.) coreutils
>> instead of e2fsprogs, but that does not necessarily mean that e2fsprogs
>> is broken.
>
> I can reproduce this, but only if removing the directory tree for a
> package which has both these directories and other files replaced by
> another package, before installing it.
>
> So what I don't know is how the file system ended up missing those
> directories, do any of you guys have something like localepurge
> installed by any chance? Because as the logs show the directories
> are shipped in many other already installed packages (the
> “tarobject ... found” message).

I don't think that localepurge removes directories.  For the issue at
hand, I did "rm -rf /usr/share/locale/tr" in a throwaway chroot to
reproduce it.

Some people may be tempted to do this as a shortcut to free disk space
after adding such directories to dpkg's path-exclude list, rather than
reinstalling packages piecemeal.

And accidents that lead to deletion of directory trees also happen.

> Also this probably should be RC, and a targetted fix released for
> stable.

I agree.

Cheers,
       Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to