Samba 4.11 samba-tools fails due to missing dependency
The command 'samba-tool domain schemaupgrade' fails with the following exception:
ERROR(<class 'ModuleNotFoundError'>): uncaught exception - No module named 'markdown' File "/usr/lib/python3.8/site-packages/samba/netcmd/init.py", line 186, in _run return self.run(*args, **kwargs) File "/usr/lib/python3.8/site-packages/samba/netcmd/domain.py", line 4154, in run from samba.ms_schema_markdown import read_ms_markdown File "/usr/lib/python3.8/site-packages/samba/ms_schema_markdown.py", line 26, in import markdown
It can be fixed by adding py3-markdown for the DC dependencies as follows:
OLD: _dc_deps="py3-dnspython tdb"
NEW: _dc_deps="py3-dnspython py3-markdown tdb"
Edited by Miguel Da Silva