我必须卸载samba,因为配置错误。但是现在当我尝试使用sudo apt-get install samba smbfs重新安装它时,我得到了输出:-
Reading package lists... DoneBuilding dependency tree
Reading state information... DonePackage samba is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, oris only available from another sourceHowever the following packages replace it:

  桑巴舞

软件包smbfs不可用,但由另一个软件包引用。
这可能意味着包裹丢失,已被废弃或
仅可从其他来源获得

E: Package 'samba' has no installation candidateE: Package 'smbfs' has no installation candidate

我也无法通过ubuntu软件中心下载它。
任何帮助表示赞赏

谢谢

最佳答案

首先将其完全卸载

 Sudo apt-get autoremove samba4


然后重新安装

Sudo apt-get install samba4

关于linux - 无法安装samba,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/22243149/

10-13 09:17