2014-03-07 46 views
-2

我不得不卸载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软件中心下载。 任何帮助表示赞赏

谢谢


+0

先卸载它完全 sudo易于得到的autoremove samba4 然后重新安装 Sudo apt-get inst samba4 – raj

回答

1

先卸载它完全

Sudo apt-get autoremove samba4 

然后重新安装

Sudo apt-get install samba4 
+0

@ raj,我做到了。但没有找到samba4。所以我尝试了Sudo apt-get autoremove samba,这导致我系统中几乎所有应用程序的卸载,包括文本编辑器,java,libre office等 – Bas