[Pkg-samba-maint] Bug#783581: samba-tool ImportError libnetif.so.0 invalid ELF header

Risto Paavola risto.paavola at gmail.com
Tue Apr 28 10:06:19 UTC 2015


Hello.

Steve, you were absolutely right, thank you for saving my day!

BR,
-Risto

2015-04-28 10:29 GMT+03:00 Steve Langasek <vorlon at debian.org>:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20150428/a84e4e3a/attachment.html>


More information about the Pkg-samba-maint mailing list