尝试通过UbuntuServer14.04命令行安装CLAMAV。
得到以下错误:
groot:/home/carlo# apt-get install clamav-freshclam
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
clamav-freshclam : Depends: clamav-base (>= 0.98.1+dfsg-4ubuntu1.1) but 0.98.1+dfsg-4ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.我尝试过使用apt-get install -f来安装它,但是我得到了同样的错误。
从源头建筑外有解决办法吗?
很抱歉花了这么长时间来更新这个。它运行的单元最终失败了--好吧--托管操作系统的SSD在它上失败了。没什么大不了的。最近用新的250 it的SSD重新安装了它。将重新安装Clam,并让每个人知道的结果,一旦我有一个空闲的时刻这样做。
再次感谢你的建议!
发布于 2014-05-09 19:47:59
昨晚回家后,我试了第一个建议,效果很好。
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get install clam-freshclam之后安装得很好。
这很奇怪,因为它没有指出任何其他问题,只是一个应用程序缺少的依赖项。
发布于 2014-05-08 20:17:56
如果您不介意将存储库添加到您的系统中,这里有一些工作要做。我能够添加以下存储库,并能够下载clamav-freshclam和clamtk。我的猜测是,“信任”的Ubuntu存储库缺少一些东西。我可以验证,当我执行一个返回错误的sudo apt-get build-dep clamav-freshclam时,该文件是不可用的。
sudo add-apt-repository ppa:ubuntu-clamav/ppa
sudo apt-get update
sudo apt-get install clamav-freshclam发布于 2014-09-14 04:47:12
sudo apt-get remove clamav
sudo apt-get remove clamav-base
sudo apt-get autoremove
sudo deluser clamav重新安装防病毒..。
sudo apt-get install clamav
sudo freshclam享受:)
https://askubuntu.com/questions/462998
复制相似问题