Re: Bug#688416: grub-common: error creating directory `./usr/share/locale/de_CH/LC_MESSAGES': No such file or directory
reassign 688416 dpkg
On Sat, Sep 22, 2012 at 07:08:13PM +0200, Axel Beckert wrote:
> 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.
> > 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
Then that sounds like a dpkg bug to me, to be honest. Sure, excluding
the directories ought to mean they aren't created, but it shouldn't
cause packages that merely ship files in those directories to fail to
Colin Watson [firstname.lastname@example.org]