首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Clamav:未找到命令

Clamav:未找到命令
EN

Ask Ubuntu用户
提问于 2022-07-13 14:25:11
回答 1查看 765关注 0票数 0

我安装了clamav和clamtk。clamtk是可见的,但似乎什么也不做。如果我做了: CLI上的clamav,我会得到clamav:命令not。如果你做了: sudo,clamav,clamav,clamav-freshclam,我也得到:clamav:命令未找到。如果我这么做,我得到:错误:不能打开/解析配置文件/usr/local/etc/newilla.conf重新安装clamav和clamtk (sudo -get install clamav clamtk)没有帮助。

谁能帮上忙?

sudo apt更新的输出:

代码语言:javascript
复制
sudo apt update
[sudo] password for jan: 
Hit:1 htt p://nl.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 htt p://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]                                                                                                                                       
Hit:4 htt p://nl.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                                                                                
Hit:5 htt p://nl.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                                                                              
Hit:6 htt p://ppa.launchpad.net/jconti/recent-notifications/ubuntu bionic InRelease                                                                                                                                
Hit:7 htt ps://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                                     
Ign:8 htt p://ppa.launchpad.net/phablet-team/tools/ubuntu bionic InRelease                                                                                                                                         
Hit:9 htt ps://packages.microsoft.com/repos/ms-teams stable InRelease                                                                                          
Ign:10 htt p://ppa.launchpad.net/qos/pulseaudio-dlna/ubuntu bionic InRelease                                                    
Get:3 htt p://ppa.launchpad.net/appgrid/stable/ubuntu bionic InRelease [15,4 kB]                          
Err:11 ht tp://ppa.launchpad.net/phablet-team/tools/ubuntu bionic Release                                               
  404  Not Found [IP: 2620:2d:4000:1::3e 80]
Err:12 htt p://ppa.launchpad.net/qos/pulseaudio-dlna/ubuntu bionic Release           
  404  Not Found [IP: 2620:2d:4000:1::3e 80]
Hit:13 htt ps://repo.nordvpn.com/deb/nordvpn/debian stable InRelease                  
Hit:14 htt p://apt.galliumos.org bismuth InRelease                                    
Err:3 htt p://ppa.launchpad.net/appgrid/stable/ubuntu bionic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 241FE6973B765FAE
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/phablet-team/tools/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'htt p://ppa.launchpad.net/qos/pulseaudio-dlna/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: htt p://ppa.launchpad.net/appgrid/stable/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 241FE6973B765FAE
E: The repository 'htt p://ppa.launchpad.net/appgrid/stable/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

sudo apt安装clamav输出

代码语言:javascript
复制
sudo apt install clamav
Reading package lists... Done
Building dependency tree       
Reading state information... Done
clamav is already the newest version (0.105.0-1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

我在urls中添加了空格,因为我不允许使用太多的链接,我使用的是GalliumOS,这是用于Chromebook的Xubuntu。3.1版

EN

回答 1

Ask Ubuntu用户

发布于 2022-07-13 17:24:51

包的名称并不总是可执行文件的名称。若要查看包安装的文件列表,请运行dpkg -L package-name。在这种情况下,可执行文件是:

代码语言:javascript
复制
$ dpkg -L clamav | grep /bin/    
/usr/bin/clambc
/usr/bin/clamscan
/usr/bin/clamsubmit
/usr/bin/sigtool

您要寻找的是最有可能是clamscan,扫描一个文件或目录的病毒。例如:

代码语言:javascript
复制
$ clamscan /tmp/clam/     
/tmp/clam/foo: OK
/tmp/clam/bar: OK

----------- SCAN SUMMARY -----------
Known viruses: 8621967
Engine version: 0.103.6
Scanned directories: 1
Scanned files: 2
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 15.478 sec (0 m 15 s)
Start Date: 2022:07:13 19:23:30
End Date:   2022:07:13 19:23:45
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1418547

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档