try
yum clean all
then retry those 3 commands
[root@srv ~]# yum clean all
Loaded plugins: fastestmirror, langpacks
Cleaning repos: base cwp epel extras mariadb updates
Cleaning up list of fastest mirrors
Other repos take up 404 k of disk space (use --verbose for details)
[root@srv ~]# yum remove clamav
Loaded plugins: fastestmirror, langpacks
No Match for argument: clamav
No Packages marked for removal
[root@srv ~]# yum update
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
epel/x86_64/metalink | 32 kB 00:00:00
* base: mirror.domainhizmetleri.com
* epel: mirrors.netix.net
* extras: mirror.netdirekt.com.tr
* updates: mirror.domainhizmetleri.com
base | 3.6 kB 00:00:00
cwp | 2.9 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
mariadb | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/9): base/7/x86_64/group_gz | 153 kB 00:00:00
(2/9): epel/x86_64/group_gz | 95 kB 00:00:00
(3/9): cwp/x86_64/primary_db | 59 kB 00:00:00
(4/9): extras/7/x86_64/primary_db | 194 kB 00:00:00
(5/9): epel/x86_64/updateinfo | 1.0 MB 00:00:02
(6/9): mariadb/primary_db | 49 kB 00:00:01
(7/9): base/7/x86_64/primary_db | 6.1 MB 00:00:03
(8/9): updates/7/x86_64/primary_db | 1.3 MB 00:00:02
(9/9): epel/x86_64/primary_db | 6.8 MB 00:00:09
Resolving Dependencies
--> Running transaction check
---> Package clamav-data.noarch 0:0.99.4-1.el7 will be updated
---> Package clamav-data.noarch 0:0.102.2-4.el7 will be an update
---> Package clamav-filesystem.noarch 0:0.99.4-1.el7 will be updated
--> Processing Dependency: clamav-filesystem = 0.99.4-1.el7 for package: clamav-server-0.99.4-1.el7.x86_64
---> Package clamav-filesystem.noarch 0:0.102.2-4.el7 will be an update
---> Package clamav-lib.x86_64 0:0.99.4-1.el7 will be updated
--> Processing Dependency: clamav-lib = 0.99.4-1.el7 for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7()(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PRIVATE)(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PUBLIC)(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
---> Package clamav-lib.x86_64 0:0.102.2-4.el7 will be an update
---> Package clamav-scanner-systemd.noarch 0:0.99.4-1.el7 will be obsoleted
--> Processing Dependency: init(clamav-scanner) for package: clamav-scanner-0.99.4-1.el7.noarch
---> Package clamav-server-systemd.noarch 0:0.99.4-1.el7 will be obsoleted
---> Package clamav-update.x86_64 0:0.99.4-1.el7 will be updated
---> Package clamav-update.x86_64 0:0.102.2-4.el7 will be an update
---> Package clamd.x86_64 0:0.102.2-4.el7 will be obsoleting
--> Finished Dependency Resolution
Error: Package: clamav-server-0.99.4-1.el7.x86_64 (@epel)
Requires: clamav-lib = 0.99.4-1.el7
Removing: clamav-lib-0.99.4-1.el7.x86_64 (@epel)
clamav-lib = 0.99.4-1.el7
Updated By: clamav-lib-0.102.2-4.el7.x86_64 (epel)
clamav-lib = 0.102.2-4.el7
Error: Package: clamav-server-0.99.4-1.el7.x86_64 (@epel)
Requires: libclamav.so.7()(64bit)
Removing: clamav-lib-0.99.4-1.el7.x86_64 (@epel)
libclamav.so.7()(64bit)
Updated By: clamav-lib-0.102.2-4.el7.x86_64 (epel)
~libclamav.so.9()(64bit)
Error: Package: clamav-server-0.99.4-1.el7.x86_64 (@epel)
Requires: libclamav.so.7(CLAMAV_PUBLIC)(64bit)
Removing: clamav-lib-0.99.4-1.el7.x86_64 (@epel)
libclamav.so.7(CLAMAV_PUBLIC)(64bit)
Updated By: clamav-lib-0.102.2-4.el7.x86_64 (epel)
~libclamav.so.9(CLAMAV_PUBLIC)(64bit)
Error: Package: clamav-server-0.99.4-1.el7.x86_64 (@epel)
Requires: clamav-filesystem = 0.99.4-1.el7
Removing: clamav-filesystem-0.99.4-1.el7.noarch (@epel)
clamav-filesystem = 0.99.4-1.el7
Updated By: clamav-filesystem-0.102.2-4.el7.noarch (epel)
clamav-filesystem = 0.102.2-4.el7
Error: Package: clamav-scanner-0.99.4-1.el7.noarch (@epel)
Requires: init(clamav-scanner)
Removing: clamav-scanner-systemd-0.99.4-1.el7.noarch (@epel)
init(clamav-scanner) = systemd
Obsoleted By: clamd-0.102.2-4.el7.x86_64 (epel)
Not found
Error: Package: clamav-server-0.99.4-1.el7.x86_64 (@epel)
Requires: libclamav.so.7(CLAMAV_PRIVATE)(64bit)
Removing: clamav-lib-0.99.4-1.el7.x86_64 (@epel)
libclamav.so.7(CLAMAV_PRIVATE)(64bit)
Updated By: clamav-lib-0.102.2-4.el7.x86_64 (epel)
~libclamav.so.9(CLAMAV_PRIVATE)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@srv ~]# yum install clamav
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.domainhizmetleri.com
* epel: mirrors.netix.net
* extras: mirror.netdirekt.com.tr
* updates: mirror.domainhizmetleri.com
Resolving Dependencies
--> Running transaction check
---> Package clamav.x86_64 0:0.102.2-4.el7 will be installed
--> Processing Dependency: clamav-lib = 0.102.2-4.el7 for package: clamav-0.102.2-4.el7.x86_64
--> Processing Dependency: libclamav.so.9(CLAMAV_PRIVATE)(64bit) for package: clamav-0.102.2-4.el7.x86_64
--> Processing Dependency: libclamav.so.9(CLAMAV_PUBLIC)(64bit) for package: clamav-0.102.2-4.el7.x86_64
--> Processing Dependency: libclamav.so.9()(64bit) for package: clamav-0.102.2-4.el7.x86_64
--> Running transaction check
---> Package clamav-lib.x86_64 0:0.99.4-1.el7 will be updated
--> Processing Dependency: clamav-lib = 0.99.4-1.el7 for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7()(64bit) for package: clamav-update-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7()(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PRIVATE)(64bit) for package: clamav-update-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PRIVATE)(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PUBLIC)(64bit) for package: clamav-update-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PUBLIC)(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
---> Package clamav-lib.x86_64 0:0.102.2-4.el7 will be an update
--> Running transaction check
---> Package clamav-lib.x86_64 0:0.99.4-1.el7 will be updated
--> Processing Dependency: clamav-lib = 0.99.4-1.el7 for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7()(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PRIVATE)(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PUBLIC)(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
---> Package clamav-update.x86_64 0:0.99.4-1.el7 will be updated
---> Package clamav-update.x86_64 0:0.102.2-4.el7 will be an update
--> Processing Dependency: clamav-filesystem = 0.102.2-4.el7 for package: clamav-update-0.102.2-4.el7.x86_64
--> Running transaction check
---> Package clamav-filesystem.noarch 0:0.99.4-1.el7 will be updated
--> Processing Dependency: clamav-filesystem = 0.99.4-1.el7 for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: clamav-filesystem = 0.99.4-1.el7 for package: clamav-data-0.99.4-1.el7.noarch
---> Package clamav-filesystem.noarch 0:0.102.2-4.el7 will be an update
---> Package clamav-lib.x86_64 0:0.99.4-1.el7 will be updated
--> Processing Dependency: clamav-lib = 0.99.4-1.el7 for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7()(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PRIVATE)(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PUBLIC)(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
--> Running transaction check
---> Package clamav-data.noarch 0:0.99.4-1.el7 will be updated
---> Package clamav-data.noarch 0:0.102.2-4.el7 will be an update
---> Package clamav-filesystem.noarch 0:0.99.4-1.el7 will be updated
--> Processing Dependency: clamav-filesystem = 0.99.4-1.el7 for package: clamav-server-0.99.4-1.el7.x86_64
---> Package clamav-lib.x86_64 0:0.99.4-1.el7 will be updated
--> Processing Dependency: clamav-lib = 0.99.4-1.el7 for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7()(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PRIVATE)(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PUBLIC)(64bit) for package: clamav-server-0.99.4-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: clamav-server-0.99.4-1.el7.x86_64 (@epel)
Requires: clamav-lib = 0.99.4-1.el7
Removing: clamav-lib-0.99.4-1.el7.x86_64 (@epel)
clamav-lib = 0.99.4-1.el7
Updated By: clamav-lib-0.102.2-4.el7.x86_64 (epel)
clamav-lib = 0.102.2-4.el7
Error: Package: clamav-server-0.99.4-1.el7.x86_64 (@epel)
Requires: libclamav.so.7(CLAMAV_PUBLIC)(64bit)
Removing: clamav-lib-0.99.4-1.el7.x86_64 (@epel)
libclamav.so.7(CLAMAV_PUBLIC)(64bit)
Updated By: clamav-lib-0.102.2-4.el7.x86_64 (epel)
~libclamav.so.9(CLAMAV_PUBLIC)(64bit)
Error: Package: clamav-server-0.99.4-1.el7.x86_64 (@epel)
Requires: libclamav.so.7()(64bit)
Removing: clamav-lib-0.99.4-1.el7.x86_64 (@epel)
libclamav.so.7()(64bit)
Updated By: clamav-lib-0.102.2-4.el7.x86_64 (epel)
~libclamav.so.9()(64bit)
Error: Package: clamav-server-0.99.4-1.el7.x86_64 (@epel)
Requires: clamav-filesystem = 0.99.4-1.el7
Removing: clamav-filesystem-0.99.4-1.el7.noarch (@epel)
clamav-filesystem = 0.99.4-1.el7
Updated By: clamav-filesystem-0.102.2-4.el7.noarch (epel)
clamav-filesystem = 0.102.2-4.el7
Error: Package: clamav-server-0.99.4-1.el7.x86_64 (@epel)
Requires: libclamav.so.7(CLAMAV_PRIVATE)(64bit)
Removing: clamav-lib-0.99.4-1.el7.x86_64 (@epel)
libclamav.so.7(CLAMAV_PRIVATE)(64bit)
Updated By: clamav-lib-0.102.2-4.el7.x86_64 (epel)
~libclamav.so.9(CLAMAV_PRIVATE)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@srv ~]#