Web lists-archives.com

Re: [Samba] dns module not found




On Fri, 3 Nov 2017 17:07:28 +0100
Dirk Laurenz via samba <samba@xxxxxxxxxxxxxxx> wrote:

> Nope, but that was not the problem...
> 
> 
> root@samba01:~# dpkg -l | grep python-dns
> root@samba01:~# apt-get install python-dns
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following NEW packages will be installed:
>   python-dns
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 28.7 kB of archives.
> After this operation, 135 kB of additional disk space will be used.
> Get:1 http://mirrordirector.raspbian.org/raspbian stretch/main armhf
> python-dns all 2.3.6-3 [28.7 kB] Fetched 28.7 kB in 0s (81.3 kB/s)
> Selecting previously unselected package python-dns.
> (Reading database ... 24304 files and directories currently
> installed.) Preparing to unpack .../python-dns_2.3.6-3_all.deb ...
> Unpacking python-dns (2.3.6-3) ...
> Setting up python-dns (2.3.6-3) ...
> root@samba01:~# /usr/sbin/samba_dnsupdate --help
> Traceback (most recent call last):
>   File "/usr/sbin/samba_dnsupdate", line 52, in <module>
>     samba.ensure_third_party_module("dns", "dnspython")
>   File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line
> 359, in ensure_third_party_module namespace="samba.third_party")
>   File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line
> 344, in import_bundled_package "%s.%s" % (namespace, modulename),
> fromlist=[namespace]) ImportError: No module named dns
> root@samba01:~#
> 

I suppose the question has to be, where did you get the 4.7 from ?
Stretch has 4.5.12 by default.

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba