[Bug 963690] Re: dpkg assert failure: dpkg: ../../src/archives.c:978: tarobject: Assertion `r == stab.st_size' failed.

Cimeries 963690 at bugs.launchpad.net
Sat Mar 24 07:59:27 UTC 2012


*** This bug is a duplicate of bug 950108 ***
    https://bugs.launchpad.net/bugs/950108

How do I fix this?

** Changed in: dpkg (Ubuntu)
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/ubuntu/+source/dpkg/+question/191566

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/963690

Title:
  dpkg assert failure: dpkg: ../../src/archives.c:978: tarobject:
  Assertion `r == stab.st_size' failed.

Status in “dpkg” package in Ubuntu:
  Invalid

Bug description:
  Ubuntu 11.10

  Did system update, came back and it crashed. Tried to continue. got a
  error about python-lxml. Tried downloading apps from Ubuntu software
  center, again the same error.

  Here is a example from GLX-dock install:

  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 968, in simulate
      trans.unauthenticated = self._simulate_helper(trans)
    File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1092, in _simulate_helper
      return depends, self._cache.required_download, \
    File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 235, in required_download
      pm.get_archives(fetcher, self._list, self._records)
  SystemError: E:I wasn't able to locate a file for the python-lxml package. This might mean you need to manually fix this package.

  Not sure how to fix it manually, tried many methods from websites and
  forums, nothing seems to work.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: dpkg 1.16.0.3ubuntu5
  ProcVersionSignature: Ubuntu 3.0.0-16.29-generic 3.0.20
  Uname: Linux 3.0.0-16-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  AssertionMessage: dpkg: ../../src/archives.c:978: tarobject: Assertion `r == stab.st_size' failed.
  CrashCounter: 1
  Date: Sat Mar 24 00:08:34 2012
  ExecutablePath: /usr/bin/dpkg
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcCmdline: /usr/bin/dpkg --status-fd 63 --unpack --auto-deconfigure /var/cache/apt/archives/python-lxml_2.3-0.1build1_amd64.deb /var/cache/apt/archives/python-lxml-doc_2.3-0.1build1_all.deb
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  Signal: 6
  SourcePackage: dpkg
  StacktraceTop:
   raise () from /lib/x86_64-linux-gnu/libc.so.6
   abort () from /lib/x86_64-linux-gnu/libc.so.6
   __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
   ?? ()
   ?? ()
  Title: dpkg assert failure: dpkg: ../../src/archives.c:978: tarobject: Assertion `r == stab.st_size' failed.
  UpgradeStatus: Upgraded to oneiric on 2012-03-24 (0 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/963690/+subscriptions




More information about the foundations-bugs mailing list