Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian dpkg (http://www.linux-archive.org/debian-dpkg/)
-   -   Bug#688416: grub-common: error creating directory `./usr/share/locale/de_CH/LC_MESSAGES': No such file or directory (http://www.linux-archive.org/debian-dpkg/706417-bug-688416-grub-common-error-creating-directory-usr-share-locale-de_ch-lc_messages-no-such-file-directory.html)

Colin Watson 09-22-2012 05:30 PM

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

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.
>
> 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@euro/*
> path-include=/usr/share/locale/de_DE.UTF-8/*
> #

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
unpack. Reassigning.

Cheers,

--
Colin Watson [cjwatson@debian.org]


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120922173023.GH30810@riva.dynamic.greenend.org.u k">http://lists.debian.org/20120922173023.GH30810@riva.dynamic.greenend.org.u k


All times are GMT. The time now is 09:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.