在Centos6.5上安装samba时遇到了一些麻烦。
我使用这个命令:
sudo yum install samba samba-client samba-common
但我不断收到此错误:
Error: Package: samba-winbind-clients-3.6.9-164.el6.i686 (tejas-barot-alub-tv)
Requires: samba-winbind = 3.6.9-164.el6
Installed: samba-winbind-3.6.9-168.el6_5.x86_64 (@updates)
samba-winbind = 3.6.9-168.el6_5
Available: samba-winbind-3.6.9-164.el6.x86_64 (tejas-barot-alub-tv)
samba-winbind = 3.6.9-164.el6
Available: samba4-winbind-4.0.0-58.el6.rc4.x86_64 (tejas-barot-alub-tv)
samba-winbind = 4.0.0-58.el6.rc4
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我看到我有所需的软件包,但是如何更改它们的版本,所以我可以在我的服务器上安装Samba?
答案 0 :(得分:0)
尝试跑步:
yum clean all
然后
yum install samba-winbind-clients
答案 1 :(得分:0)
答案 2 :(得分:-1)
我找到了解决方案 -
删除所有已安装的Samba版本: - sudo yum remove samba4-libs samba-common samba-winbind-clients samba-winbind samba-client
安装samba - sudo yum install samba
测试:service smb start