[Pkg-samba-maint] Bug#783581: samba-tool ImportError libnetif.so.0 invalid ELF header
Steve Langasek
vorlon at debian.org
Tue Apr 28 07:29:03 UTC 2015
Control: tags -1 moreinfo unreproducible
On Tue, Apr 28, 2015 at 08:44:30AM +0300, Risto Paavola wrote:
> I've installed samba package with aptitude. I'm trying to execute any
> samba-tool command (i.e. samba-tool domain provision --realm=[long_dom]
> --domain=[short_dom] --adminpass='[pass]' --server-role=dc --use-rfc2307)
> and it gives me an error:
> Traceback (most recent call last):
> File "/usr/bin/samba-tool", line 33, in <module>
> from samba.netcmd.main import cmd_sambatool
> File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 50, in <module>
> from samba._ldb import Ldb as _Ldb
> ImportError: /usr/lib/x86_64-linux-gnu/samba/libnetif.so.0: invalid ELF header
> The same goes to all sambta-tool parameteres, so samba-tool is unusable.
This library looks fine to me. It looks like you probably have a corrupted
file on disk. Please install the debsums package, run 'debsums -s
samba-libs', and verify whether a checksum error is reported for this file.
If the file is corrupt, you can correct it by reinstalling the package
('apt-get install --reinstall samba-libs').
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
More information about the Pkg-samba-maint
mailing list