gpt4 book ai didi

ubuntu - 包 'samba' 没有安装候选

转载 作者:行者123 更新时间:2023-12-04 18:55:57 26 4
gpt4 key购买 nike

我正在尝试运行以下代码:

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: Package 'samba' has no installation candidate



我该如何解决?

最佳答案

请在尝试安装 samba 之前运行以下命令:

sudo apt-get update
sudo apt-get upgrade

以防万一: sudo apt-get autoremove samba
并运行: sudo apt-get install samba

关于ubuntu - 包 'samba' 没有安装候选,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49049414/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com