This is the dependency issue I was facing.
# dnf install samba-dc
Last metadata expiration check: 2:58:07 ago on Tue 01 Aug 2017 05:35:43 AM MDT.
Error:
Problem: conflicting requests
- nothing provides python2-python = 2:4.7.0-0.7.rc3.fc27 needed by samba-dc-2:4.7.0-0.7.rc3.fc27.x86_64
not sure why it is a package called python2-python as it is samba python modules that they must have packaged up.
I tried some old documents on downloading the source package hoping it might be in there.
I had a setup build environment as it had recommended
rpmdev-setuptree
sudo dnf builddep samba-dc
dnf download --source samba-dc
rpm -ivh samba-4.7.0-0.7.rc3.fc27.src.rpm
rpmbuild -bp ~/rpmbuild/SPECS/samba.spec
seems to unpack the source but stops there with no errors.
This should have built all the rpms.
I force installed the samba-dc package via
dnf download samba-dc
rpm -i --nodeps samba-dc-4.7.0-0.7.rc3.fc27.x86_64.rpm
but then when I try to provision a domain I get
# samba-tool domain provision --use-rfc2307 --interactive
Traceback (most recent call last):
File "/bin/samba-tool", line 33, in <module>
from samba.netcmd.main import cmd_sambatool
ImportError: No module named samba.netcmd.main
Hence why I know above that python2-python must contain the samba python modules
It should probably be built from the samba source if I can get that building.
On Tue, Aug 1, 2017 at 8:21 AM, Dario Lesca <d.lesca@xxxxxxxxxx> wrote:
Fedora 27 have new version of Samba 4.7 with DC-AD enable.
https://fedoraproject.org/wiki/Changes/Samba_AD
https://lists.fedoraproject.org/archives/list/devel@lists. fedoraproject
.org/message/TTACDGQYZUJKD7ZLMDEYZQ7C34VMMB ZX/
I have try the F27 rawhide and I have found (for now) this two bugs.
https://bugzilla.redhat.com/show_bug.cgi?id=1476175
https://bugzilla.redhat.com/show_bug.cgi?id=1476187
Today there is this new rpm dependency problem.
> # LANG=C dnf update samba
> Last metadata expiration check: 2:24:22 ago on Tue Aug 1 12:06:41 2017.
> Dependencies resolved.
>
> Problem: package samba-dc-2:4.7.0-0.6.rc1.fc27.x86_64 requires samba = 2:4.7.0-0.6.rc1.fc27, but none of the providers can be installed
> - cannot install both samba-2:4.7.0-0.7.rc3.fc27.x86_64 and samba-2:4.7.0-0.6.rc1.fc27. x86_64
> - problem with installed package samba-dc-2:4.7.0-0.6.rc1.fc27.x86_64
> - cannot install the best update candidate for package samba-2:4.7.0-0.6.rc1.fc27.x86_64
> - nothing provides python2-python = 2:4.7.0-0.7.rc3.fc27 needed by samba-dc-2:4.7.0-0.7.rc3.fc27.x86_64
> ============================================================ ============================== ==============================
> Package Arch Version Repository Size
> ============================================================ ============================== ==============================
> Skipping packages with conflicts:
> (add '--best --allowerasing' to command line to force their upgrade):
> samba x86_64 2:4.7.0-0.7.rc3.fc27 rawhide 663 k
> Skipping packages with broken dependencies:
> samba-dc x86_64 2:4.7.0-0.7.rc3.fc27 rawhide 782 k
>
> Transaction Summary
> ============================================================ ============================== ==============================
> Skip 2 Packages
>
What is the best place to discuss this great new feature (samba AD-DC)
of Fedora 27?
Thanks
--
Dario Lesca
(inviato dal mio Linux Fedora 26 Workstation)
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@lists.fedoraproject.org
_______________________________________________ test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx