On Wed, 17 Aug 2011, Dmitri Fedortchenko wrote: > My ubuntu installation does not live on NTFS and I'm still having this > issue: > > Preparing to replace gnome-user-guide 3.0.0+git20110406ubuntu10 (using > .../gnome-user-guide_3.0.0+git20110406ubuntu11_all.deb) ... > Unpacking replacement gnome-user-guide ... > dpkg: ../../src/archives.c:968: tarobject: Assertion `r == stab.st_size' > failed. > E: Sub-process /usr/bin/dpkg exited unexpectedly [...] > Hard to say what the problem was, this was a pretty fresh install.
Which version of dpkg and Ubuntu are you using? Can you also use -D131 to the dpkg invocation that is failing and send me the log? Also identify the problematic file with this log and check where it's stored. What filesystem is in use for the file that is failing? The dpkg code verifying this does basically only this: lstat(file, &stab); r = readlink(file, buf, stab.st_size + 1); assert(r == stab.st_size); So the if "lstat" and the "readlink" disagree, either there's a lower level bug (like a filesystem not working properly) or something else changed the symlink between the lstat() and the readlink(). Cheers, -- Raphaël Hertzog ◈ Debian Developer Follow my Debian News ▶ http://RaphaelHertzog.com (English) ▶ http://RaphaelHertzog.fr (Français) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/573696 Title: dpkg: ../../src/archives.c:763: tarobject: Assertion `r == stab.st_size' failed. Aborted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/573696/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs