dave-theunsub / clamtk

An easy to use, light-weight, on-demand virus scanner for Linux systems
https://gitlab.com/dave_m/clamtk/wikis/home
Other
357 stars 47 forks source link

Error Installing clamtk on CENTOS 7 #110

Closed cham2019 closed 5 years ago

cham2019 commented 5 years ago

Hi,

I downloaded this version for my CENTOS 7 server: https://bitbucket.org/davem_/clamtk-gtk3/downloads/clamtk-6.00-1.el7.noarch.rpm I received some dependencies errors which I already took care of. So, after installing all dependencies, I tried again, and still remaining a single error:

error: Failed dependencies: data(clamav) is needed by clamtk-6.00-1.el7.noarch

I have last version of Clamav installed, including Data: clamav Anti-virus software Running latest 0.101.1-6067.el7.art clamav-db Virus database for clamav Running latest 0.101.1-6067.el7.art

If I try to install "clamav-data" (as required by the installation error message), via YUM, I got this error: "Package clamav-data-0.101.1-1.el7.noarch is obsoleted by clamav-db-0.101.1-6067.el7.art.x86_64 which is already installed Nothing to do"

So, clamav-data is obsolete, and the new one (clamav-db) is the one installed by YUM automatically with "yum install clamav"

Is clamtk incompatible with the new clamav-db ?

Thanks

dave-theunsub commented 5 years ago

Hi,

Sorry for the installation issues. I'm unfamiliar with the .art files - is that a particular repo? Are you using that in place of the EPEL repo?

https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-95a6047bc6

If so, it might require a different build.

respectfully, Dave M

cham2019 commented 5 years ago

Thanks for the reply, I guess I solved it, considering this was about repo versions as you suggested.

I managed to disable this repository while installing clamav : atomic ( atomicorp.com is a known library actually, but for the effect of using clamatk I had to disable it and using only YUM epel/x86_64) Then, the installation was successful, but after enabling back atomic, this repo recognize the epel repo as obsolete: [root@~]# yum --enablerepo=atomic update Loaded plugins: fastestmirror, langpacks, priorities Loading mirror speeds from cached hostfile

Dependencies Resolved

Package Arch Version Repository Size

Installing: clamav x86_64 0.101.1-6067.el7.art atomic 1.0 M replacing clamav-filesystem.noarch 0.101.1-1.el7 replacing clamav-lib.x86_64 0.101.1-1.el7 clamav-db x86_64 0.101.1-6067.el7.art atomic 15 k replacing clamav-data.noarch 0.101.1-1.el7 replacing clamav-filesystem.noarch 0.101.1-1.el7

Transaction Summary

Install 2 Packages

Total download size: 1.1 M Is this ok [y/d/N]: n

================================

I typed N, so I can continue to have the version compatible with clamtk and be able to install it.

Atomic repo claims to be the most updated version of clamav: 0.101.1-6067 vs 0.101.1-1, and I guess they use a different "clamav-data" version called "clamav-db"

I have used atomic repos since some years ago, and it has worked well for me. But since I wanted to try clamtk, I did what I explained above and worked.

Thanks

dave-theunsub commented 5 years ago

Cool, thanks for explaining. btw, if there are a decent number of people using that repo, I'm not against making another rpm for it. EPEL's been pretty consistent lately, so I just kept building for that.

respectfully, Dave M