Bug#688416: grub-common: error creating directory `./usr/share/locale/de_CH/LC_MESSAGES': No such file or directory

Axel Beckert abe at debian.org
Sat Sep 22 17:08:13 UTC 2012


Hi Colin,

Colin Watson wrote:
> > Preparing to replace grub-common 1.99-22.1 (using .../grub-common_2.00-5_amd64.deb) ...
> > Unpacking replacement grub-common ...
> > dpkg: error processing /var/cache/apt/archives/grub-common_2.00-5_amd64.deb (--unpack):
> >  error creating directory `./usr/share/locale/de_CH/LC_MESSAGES': No such file or directory
> > dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> > 
> > Maybe the "." in front of "/usr/share/locale/" shouldn't be there.
> 
> No, that's normal. This seems like either filesystem corruption, a
> kernel bug, or a dpkg bug to me, not a bug in the package.

Ok.

> What do these say?
> 
>   ls -ld /usr/share/locale
>   ls -ld /usr/share/locale/de_CH
>   ls -ld /usr/share/locale/de_CH/LC_MESSAGES

drwxr-xr-x 169 root root 4096 Sep 18 00:28 /usr/share/locale
ls: cannot access /usr/share/locale/de_CH: No such file or directory
ls: cannot access /usr/share/locale/de_CH/LC_MESSAGES: No such file or directory

And some more:

# ls -ld /usr/share/locale/de*
drwxr-xr-x 4 root root 4096 Dec 23  2011 /usr/share/locale/de
drwxr-xr-x 3 root root 4096 Dec 25  2011 /usr/share/locale/de_AT
drwxr-xr-x 3 root root 4096 Dec 22  2011 /usr/share/locale/de_DE
#

Maybe it's related to localepurge's new feature to use dpkg's
path-exclude and path-include directives or the switch to it from the
old localepurge technic:

# egrep 'locale[^a-z]*$|locale/de' /etc/dpkg/dpkg.cfg.d/50localepurge
path-exclude=/usr/share/locale/*
path-include=/usr/share/locale/de/*
path-include=/usr/share/locale/de_CH/*
path-include=/usr/share/locale/de_CH.UTF-8/*
path-include=/usr/share/locale/de_DE/*
path-include=/usr/share/locale/de_DE at euro/*
path-include=/usr/share/locale/de_DE.UTF-8/*
#

Can't remember having any fsck on that box recently...

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



More information about the Pkg-grub-devel mailing list