[Aptitude-devel] Bug#848898: Bug#848898: libapt-pkg.so.4.12: invalid ELF header

Axel Beckert abe at debian.org
Tue Dec 20 17:21:31 UTC 2016


Hi Rouven-Matthias,

please always keep the bug report (848898 at bugs.debian.org) in Cc for replies.

On Tue, Dec 20, 2016 at 05:55:46PM +0100, Rouven-Matthias Müller wrote:
> no mixup i dont use unstable only stable.

Thanks for the confirmation.

> dpkg --verify apt libapt-inst1.5 libapt-pkg4.12
> 
> ??5??????   /usr/share/doc/libapt-pkg4.12/changelog.gz
> ??5??????   /usr/share/doc/libapt-pkg4.12/NEWS.Debian.gz
> ??5??????   /usr/share/doc/libapt-pkg4.12/copyright
> ??5??????   /usr/share/locale/zh_TW/LC_MESSAGES/libapt-pkg4.12.mo
> ??5??????   /usr/share/locale/zh_CN/LC_MESSAGES/libapt-pkg4.12.mo
[… probably all other locale files, too …]
> ??5??????   /usr/share/locale/ast/LC_MESSAGES/libapt-pkg4.12.mo
> ??5??????   /usr/share/locale/ar/LC_MESSAGES/libapt-pkg4.12.mo
> ??5??????   /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12.0

This looks bad. Looks as if the md5sum of all these files is broken,
i.e. they don't have the contents they should have. (See
http://rpm.org/max-rpm-snapshot/rpm.8.html#AEN19947 for details on how
to read those lines.)

> have you restarted your computer since the mentioned update?

Nope.

> do you think i should reinstall debian and hope the problem goes away?

If "ls -l /var/cache/apt/archives/*_1.0.9.8.4_*.deb" still yields
something, calling the following command as root hopefully fixes this
issue:

  dpkg -i /var/cache/apt/archives/*_1.0.9.8.4_*.deb

If they're no more there (or it doesn't solve the issue due to broken
.deb files on disk), I recommend to call "apt-get download apt
libapt-inst1.5 libapt-pkg4.12" on another amd64 Debian 8 Jessie
machine (for easy download verification) and copy the
/var/cache/apt/archives/*_1.0.9.8.4_*.deb files over to the broken
machine via e.g. scp, then install them via dpkg like above (but with
a possibly different path).

If all that doesn't help, there's likely something fishy with either
the file system or the disk below it.

For now, I'm leaving the bug report open until it's clear if it's just
a local (maybe hardware) issue or if there's a real and seldom
occurring bug lingering in here.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Aptitude-devel mailing list