我正在尝试运行以下代码:
shaliya@achala:~$ sudo apt-get install samba
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
但是,我收到此错误:
E:包“samba”没有安装候选者
我该如何解决?
在尝试安装samba之前,请运行以下命令:
sudo apt-get update
sudo apt-get upgrade
以防万一:sudo apt-get autoremove samba
并运行:sudo apt-get install samba