Hi!

On Thu, 2011-08-25 at 11:57:42 +0200, Matthias Cramer wrote:
> On 08/25/11 11:51, Jonathan Nieder wrote:
> > Rene Engelhard wrote:
> >> On Thu, Aug 25, 2011 at 08:50:03AM +0200, Matthias Cramer wrote:
> >>> When upgrading to the newest package, dpkg fails to unpack the .deb file:
> >>>
> >>> Preparing to replace libreoffice-base 1:3.3.4-1 (using .../libreoffice-
> >>> base_1%3a3.3.4-2_amd64.deb) ...
> >>> Unpacking replacement libreoffice-base ...
> >>> dpkg: ../../src/archives.c:824: tarobject: Assertion `r == stab.st_size'
> >>> failed.
> >>> E: Sub-process /usr/bin/dpkg exited unexpectedly
> >>
> >> If at all, this is a dpkg bug. What makes you think it's alibreoffice bug?
> >> It got properly packed by dpkg-deb as anything else.

Most probably it's neither. That specific assertion checks that the
size of the symlink has not changed between the stat(2) and the
readlink(2) calls, and that the sizes are coherent with what POSIX
specifies.

In this case though that should have been a proper warning() and
ohshit() calls instead of an assert(), I'm changing that now.

> > Yes, an assertion failure in dpkg is by definition a dpkg bug (barring
> > hardware failures, etc).  Thanks for passing it on.
> > 
> > Matthias, what version of dpkg do you use?

The relevant question here would be, what file system(s) are you using?
Maybe some encrypted stuff? At some point it was discovered some of
those was not really POSIX compliant and got fixed but maybe you are
using an old version of that?

thanks,
guillem



-- 
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