无法安装samba

时间:2014-03-07 06:29:08

标签: linux ubuntu

我不得不卸载samba,因为我配置错了。但是现在当我尝试使用sudo apt-get install samba smbfs重新安装它时,我得到输出: - Reading package lists... Done Building dependency tree
Reading state information... Done Package samba is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it:
  桑巴共同

包smbfs不可用,但由另一个包引用。 这可能意味着包裹丢失,已经过时或者 只能从其他来源获得

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

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

谢谢


1 个答案:

答案 0 :(得分:1)

首先将其完全卸载

 Sudo apt-get autoremove samba4 

然后重新安装

Sudo apt-get install samba4