How can I fix this dependency error when updating clamav using yum?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I'm trying to update clamav on an old CentOS 5 mail server installation, but keep getting a dependency error which I can't understand.



I followed the method described here.



Perhaps someone can show me the way through this?



[root@s1 ~]# yum list clamav
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.mirror.facebook.net
* extras: centos-distro.cavecreek.net
* rpmforge: mirror.hmc.edu
* updates: mirror.thelinuxfix.com
base | 1.1 kB 00:00
dag | 1.9 kB 00:00
extras | 2.1 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Installed Packages
clamav.i386 0.97.6-1.el5.rf installed
clamav.i386 0.97.7-1.el5.rf installed
[root@s1 ~]#



[root@s1 ~]# yum update clamav
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.mirror.facebook.net
* extras: centos-distro.cavecreek.net
* rpmforge: mirror.hmc.edu
* updates: mirror.thelinuxfix.com
base | 1.1 kB 00:00
dag | 1.9 kB 00:00
extras | 2.1 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: clamav = 0.97.6-1.el5.rf for package: clamd
---> Package clamav.i386 0:0.97.7-1.el5.rf set to be updated
--> Finished Dependency Resolution
clamd-0.97.6-1.el5.rf.i386 from installed has depsolving problems
--> Missing Dependency: clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
Error: Missing Dependency: clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
[root@s1 ~]#


The above results are obtained after running the suggested:



package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest


I ran yum --disablerepo=* --enablerepo=rpmforge update clam* in accordance with an answer and received the following terminal output:



[root@s1 ~]# yum --disablerepo=* --enablerepo=rpmforge update clam*
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge: mirror.hmc.edu
rpmforge | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package clamav.i386 0:0.97.7-1.el5.rf set to be updated
---> Package clamav-db.i386 0:0.97.7-1.el5.rf set to be updated
---> Package clamd.i386 0:0.97.7-1.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================
Package Arch Version Repository Size
===============================================================================================================
Updating:
clamav i386 0.97.7-1.el5.rf rpmforge 2.2 M
clamav-db i386 0.97.7-1.el5.rf rpmforge 34 M
clamd i386 0.97.7-1.el5.rf rpmforge 243 k

Transaction Summary
===============================================================================================================
Install 0 Package(s)
Upgrade 3 Package(s)

Total download size: 37 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): clamd-0.97.7-1.el5.rf.i386.rpm | 243 kB 00:00
(2/3): clamav-0.97.7-1.el5.rf.i386.rpm | 2.2 MB 00:00
(3/3): clamav-db-0.97.7-1.el5.rf.i386.rpm | 34 MB 00:03
---------------------------------------------------------------------------------------------------------------
Total 9.0 MB/s | 37 MB 00:04
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
package clamav-db-0.97.7-1.el5.rf.i386 is already installed
package clamd-0.97.7-1.el5.rf.i386 is already installed
package clamav-0.97.7-1.el5.rf.i386 is already installed

Error Summary
-------------

[root@s1 ~]#


Installed packages, according to yum list clam* are:



clamav.i386 0.97.6-1.el5.rf installed
clamav.i386 0.97.7-1.el5.rf installed
clamav-db.i386 0.97.6-1.el5.rf installed
clamav-db.i386 0.97.7-1.el5.rf installed
clamd.i386 0.97.6-1.el5.rf installed
clamd.i386 0.97.7-1.el5.rf installed
Available Packages
clamav-devel.i386 0.97.7-1.el5.rf dag
clamav-milter.i386 0.97.7-1.el5.rf dag
clamtk.i386 3.09-1.el5.rf dag
clamtk.noarch 4.25-1.el5.rf dag


Why am I still seeing 0.97.6-1.el5.rf in the list?










share|improve this question























  • @slm It's 64 bit.
    – Peter Snow
    Jun 11 '13 at 10:35










  • @sim CentOS 5. I have no idea whether rpmforge was added by me, CentOS or the server provisioning, but it seems that that was where it was obtained. Just need to upgrade it though.
    – Peter Snow
    Jun 11 '13 at 11:04










  • So the million dollar question is what happens when you give the command yum --disablerepo=* --enablerepo=rpmforge remove clam*-0.97.6-1.el5.rf?
    – slm♦
    Jun 11 '13 at 14:04










  • I reckon that has completed the answer. All went smoothly. If you'd like to update your answer, I'll be pleased to accept it.
    – Peter Snow
    Jun 11 '13 at 14:11










  • Updated my answer, glad to help you out of your predicament 8-).
    – slm♦
    Jun 11 '13 at 14:26














up vote
1
down vote

favorite












I'm trying to update clamav on an old CentOS 5 mail server installation, but keep getting a dependency error which I can't understand.



I followed the method described here.



Perhaps someone can show me the way through this?



[root@s1 ~]# yum list clamav
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.mirror.facebook.net
* extras: centos-distro.cavecreek.net
* rpmforge: mirror.hmc.edu
* updates: mirror.thelinuxfix.com
base | 1.1 kB 00:00
dag | 1.9 kB 00:00
extras | 2.1 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Installed Packages
clamav.i386 0.97.6-1.el5.rf installed
clamav.i386 0.97.7-1.el5.rf installed
[root@s1 ~]#



[root@s1 ~]# yum update clamav
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.mirror.facebook.net
* extras: centos-distro.cavecreek.net
* rpmforge: mirror.hmc.edu
* updates: mirror.thelinuxfix.com
base | 1.1 kB 00:00
dag | 1.9 kB 00:00
extras | 2.1 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: clamav = 0.97.6-1.el5.rf for package: clamd
---> Package clamav.i386 0:0.97.7-1.el5.rf set to be updated
--> Finished Dependency Resolution
clamd-0.97.6-1.el5.rf.i386 from installed has depsolving problems
--> Missing Dependency: clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
Error: Missing Dependency: clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
[root@s1 ~]#


The above results are obtained after running the suggested:



package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest


I ran yum --disablerepo=* --enablerepo=rpmforge update clam* in accordance with an answer and received the following terminal output:



[root@s1 ~]# yum --disablerepo=* --enablerepo=rpmforge update clam*
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge: mirror.hmc.edu
rpmforge | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package clamav.i386 0:0.97.7-1.el5.rf set to be updated
---> Package clamav-db.i386 0:0.97.7-1.el5.rf set to be updated
---> Package clamd.i386 0:0.97.7-1.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================
Package Arch Version Repository Size
===============================================================================================================
Updating:
clamav i386 0.97.7-1.el5.rf rpmforge 2.2 M
clamav-db i386 0.97.7-1.el5.rf rpmforge 34 M
clamd i386 0.97.7-1.el5.rf rpmforge 243 k

Transaction Summary
===============================================================================================================
Install 0 Package(s)
Upgrade 3 Package(s)

Total download size: 37 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): clamd-0.97.7-1.el5.rf.i386.rpm | 243 kB 00:00
(2/3): clamav-0.97.7-1.el5.rf.i386.rpm | 2.2 MB 00:00
(3/3): clamav-db-0.97.7-1.el5.rf.i386.rpm | 34 MB 00:03
---------------------------------------------------------------------------------------------------------------
Total 9.0 MB/s | 37 MB 00:04
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
package clamav-db-0.97.7-1.el5.rf.i386 is already installed
package clamd-0.97.7-1.el5.rf.i386 is already installed
package clamav-0.97.7-1.el5.rf.i386 is already installed

Error Summary
-------------

[root@s1 ~]#


Installed packages, according to yum list clam* are:



clamav.i386 0.97.6-1.el5.rf installed
clamav.i386 0.97.7-1.el5.rf installed
clamav-db.i386 0.97.6-1.el5.rf installed
clamav-db.i386 0.97.7-1.el5.rf installed
clamd.i386 0.97.6-1.el5.rf installed
clamd.i386 0.97.7-1.el5.rf installed
Available Packages
clamav-devel.i386 0.97.7-1.el5.rf dag
clamav-milter.i386 0.97.7-1.el5.rf dag
clamtk.i386 3.09-1.el5.rf dag
clamtk.noarch 4.25-1.el5.rf dag


Why am I still seeing 0.97.6-1.el5.rf in the list?










share|improve this question























  • @slm It's 64 bit.
    – Peter Snow
    Jun 11 '13 at 10:35










  • @sim CentOS 5. I have no idea whether rpmforge was added by me, CentOS or the server provisioning, but it seems that that was where it was obtained. Just need to upgrade it though.
    – Peter Snow
    Jun 11 '13 at 11:04










  • So the million dollar question is what happens when you give the command yum --disablerepo=* --enablerepo=rpmforge remove clam*-0.97.6-1.el5.rf?
    – slm♦
    Jun 11 '13 at 14:04










  • I reckon that has completed the answer. All went smoothly. If you'd like to update your answer, I'll be pleased to accept it.
    – Peter Snow
    Jun 11 '13 at 14:11










  • Updated my answer, glad to help you out of your predicament 8-).
    – slm♦
    Jun 11 '13 at 14:26












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm trying to update clamav on an old CentOS 5 mail server installation, but keep getting a dependency error which I can't understand.



I followed the method described here.



Perhaps someone can show me the way through this?



[root@s1 ~]# yum list clamav
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.mirror.facebook.net
* extras: centos-distro.cavecreek.net
* rpmforge: mirror.hmc.edu
* updates: mirror.thelinuxfix.com
base | 1.1 kB 00:00
dag | 1.9 kB 00:00
extras | 2.1 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Installed Packages
clamav.i386 0.97.6-1.el5.rf installed
clamav.i386 0.97.7-1.el5.rf installed
[root@s1 ~]#



[root@s1 ~]# yum update clamav
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.mirror.facebook.net
* extras: centos-distro.cavecreek.net
* rpmforge: mirror.hmc.edu
* updates: mirror.thelinuxfix.com
base | 1.1 kB 00:00
dag | 1.9 kB 00:00
extras | 2.1 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: clamav = 0.97.6-1.el5.rf for package: clamd
---> Package clamav.i386 0:0.97.7-1.el5.rf set to be updated
--> Finished Dependency Resolution
clamd-0.97.6-1.el5.rf.i386 from installed has depsolving problems
--> Missing Dependency: clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
Error: Missing Dependency: clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
[root@s1 ~]#


The above results are obtained after running the suggested:



package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest


I ran yum --disablerepo=* --enablerepo=rpmforge update clam* in accordance with an answer and received the following terminal output:



[root@s1 ~]# yum --disablerepo=* --enablerepo=rpmforge update clam*
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge: mirror.hmc.edu
rpmforge | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package clamav.i386 0:0.97.7-1.el5.rf set to be updated
---> Package clamav-db.i386 0:0.97.7-1.el5.rf set to be updated
---> Package clamd.i386 0:0.97.7-1.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================
Package Arch Version Repository Size
===============================================================================================================
Updating:
clamav i386 0.97.7-1.el5.rf rpmforge 2.2 M
clamav-db i386 0.97.7-1.el5.rf rpmforge 34 M
clamd i386 0.97.7-1.el5.rf rpmforge 243 k

Transaction Summary
===============================================================================================================
Install 0 Package(s)
Upgrade 3 Package(s)

Total download size: 37 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): clamd-0.97.7-1.el5.rf.i386.rpm | 243 kB 00:00
(2/3): clamav-0.97.7-1.el5.rf.i386.rpm | 2.2 MB 00:00
(3/3): clamav-db-0.97.7-1.el5.rf.i386.rpm | 34 MB 00:03
---------------------------------------------------------------------------------------------------------------
Total 9.0 MB/s | 37 MB 00:04
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
package clamav-db-0.97.7-1.el5.rf.i386 is already installed
package clamd-0.97.7-1.el5.rf.i386 is already installed
package clamav-0.97.7-1.el5.rf.i386 is already installed

Error Summary
-------------

[root@s1 ~]#


Installed packages, according to yum list clam* are:



clamav.i386 0.97.6-1.el5.rf installed
clamav.i386 0.97.7-1.el5.rf installed
clamav-db.i386 0.97.6-1.el5.rf installed
clamav-db.i386 0.97.7-1.el5.rf installed
clamd.i386 0.97.6-1.el5.rf installed
clamd.i386 0.97.7-1.el5.rf installed
Available Packages
clamav-devel.i386 0.97.7-1.el5.rf dag
clamav-milter.i386 0.97.7-1.el5.rf dag
clamtk.i386 3.09-1.el5.rf dag
clamtk.noarch 4.25-1.el5.rf dag


Why am I still seeing 0.97.6-1.el5.rf in the list?










share|improve this question















I'm trying to update clamav on an old CentOS 5 mail server installation, but keep getting a dependency error which I can't understand.



I followed the method described here.



Perhaps someone can show me the way through this?



[root@s1 ~]# yum list clamav
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.mirror.facebook.net
* extras: centos-distro.cavecreek.net
* rpmforge: mirror.hmc.edu
* updates: mirror.thelinuxfix.com
base | 1.1 kB 00:00
dag | 1.9 kB 00:00
extras | 2.1 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Installed Packages
clamav.i386 0.97.6-1.el5.rf installed
clamav.i386 0.97.7-1.el5.rf installed
[root@s1 ~]#



[root@s1 ~]# yum update clamav
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.mirror.facebook.net
* extras: centos-distro.cavecreek.net
* rpmforge: mirror.hmc.edu
* updates: mirror.thelinuxfix.com
base | 1.1 kB 00:00
dag | 1.9 kB 00:00
extras | 2.1 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: clamav = 0.97.6-1.el5.rf for package: clamd
---> Package clamav.i386 0:0.97.7-1.el5.rf set to be updated
--> Finished Dependency Resolution
clamd-0.97.6-1.el5.rf.i386 from installed has depsolving problems
--> Missing Dependency: clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
Error: Missing Dependency: clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
[root@s1 ~]#


The above results are obtained after running the suggested:



package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest


I ran yum --disablerepo=* --enablerepo=rpmforge update clam* in accordance with an answer and received the following terminal output:



[root@s1 ~]# yum --disablerepo=* --enablerepo=rpmforge update clam*
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge: mirror.hmc.edu
rpmforge | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package clamav.i386 0:0.97.7-1.el5.rf set to be updated
---> Package clamav-db.i386 0:0.97.7-1.el5.rf set to be updated
---> Package clamd.i386 0:0.97.7-1.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================
Package Arch Version Repository Size
===============================================================================================================
Updating:
clamav i386 0.97.7-1.el5.rf rpmforge 2.2 M
clamav-db i386 0.97.7-1.el5.rf rpmforge 34 M
clamd i386 0.97.7-1.el5.rf rpmforge 243 k

Transaction Summary
===============================================================================================================
Install 0 Package(s)
Upgrade 3 Package(s)

Total download size: 37 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): clamd-0.97.7-1.el5.rf.i386.rpm | 243 kB 00:00
(2/3): clamav-0.97.7-1.el5.rf.i386.rpm | 2.2 MB 00:00
(3/3): clamav-db-0.97.7-1.el5.rf.i386.rpm | 34 MB 00:03
---------------------------------------------------------------------------------------------------------------
Total 9.0 MB/s | 37 MB 00:04
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
package clamav-db-0.97.7-1.el5.rf.i386 is already installed
package clamd-0.97.7-1.el5.rf.i386 is already installed
package clamav-0.97.7-1.el5.rf.i386 is already installed

Error Summary
-------------

[root@s1 ~]#


Installed packages, according to yum list clam* are:



clamav.i386 0.97.6-1.el5.rf installed
clamav.i386 0.97.7-1.el5.rf installed
clamav-db.i386 0.97.6-1.el5.rf installed
clamav-db.i386 0.97.7-1.el5.rf installed
clamd.i386 0.97.6-1.el5.rf installed
clamd.i386 0.97.7-1.el5.rf installed
Available Packages
clamav-devel.i386 0.97.7-1.el5.rf dag
clamav-milter.i386 0.97.7-1.el5.rf dag
clamtk.i386 3.09-1.el5.rf dag
clamtk.noarch 4.25-1.el5.rf dag


Why am I still seeing 0.97.6-1.el5.rf in the list?







centos yum upgrade dependencies






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 28 at 22:51









Jeff Schaller

32.7k849110




32.7k849110










asked Jun 11 '13 at 5:33









Peter Snow

11516




11516











  • @slm It's 64 bit.
    – Peter Snow
    Jun 11 '13 at 10:35










  • @sim CentOS 5. I have no idea whether rpmforge was added by me, CentOS or the server provisioning, but it seems that that was where it was obtained. Just need to upgrade it though.
    – Peter Snow
    Jun 11 '13 at 11:04










  • So the million dollar question is what happens when you give the command yum --disablerepo=* --enablerepo=rpmforge remove clam*-0.97.6-1.el5.rf?
    – slm♦
    Jun 11 '13 at 14:04










  • I reckon that has completed the answer. All went smoothly. If you'd like to update your answer, I'll be pleased to accept it.
    – Peter Snow
    Jun 11 '13 at 14:11










  • Updated my answer, glad to help you out of your predicament 8-).
    – slm♦
    Jun 11 '13 at 14:26
















  • @slm It's 64 bit.
    – Peter Snow
    Jun 11 '13 at 10:35










  • @sim CentOS 5. I have no idea whether rpmforge was added by me, CentOS or the server provisioning, but it seems that that was where it was obtained. Just need to upgrade it though.
    – Peter Snow
    Jun 11 '13 at 11:04










  • So the million dollar question is what happens when you give the command yum --disablerepo=* --enablerepo=rpmforge remove clam*-0.97.6-1.el5.rf?
    – slm♦
    Jun 11 '13 at 14:04










  • I reckon that has completed the answer. All went smoothly. If you'd like to update your answer, I'll be pleased to accept it.
    – Peter Snow
    Jun 11 '13 at 14:11










  • Updated my answer, glad to help you out of your predicament 8-).
    – slm♦
    Jun 11 '13 at 14:26















@slm It's 64 bit.
– Peter Snow
Jun 11 '13 at 10:35




@slm It's 64 bit.
– Peter Snow
Jun 11 '13 at 10:35












@sim CentOS 5. I have no idea whether rpmforge was added by me, CentOS or the server provisioning, but it seems that that was where it was obtained. Just need to upgrade it though.
– Peter Snow
Jun 11 '13 at 11:04




@sim CentOS 5. I have no idea whether rpmforge was added by me, CentOS or the server provisioning, but it seems that that was where it was obtained. Just need to upgrade it though.
– Peter Snow
Jun 11 '13 at 11:04












So the million dollar question is what happens when you give the command yum --disablerepo=* --enablerepo=rpmforge remove clam*-0.97.6-1.el5.rf?
– slm♦
Jun 11 '13 at 14:04




So the million dollar question is what happens when you give the command yum --disablerepo=* --enablerepo=rpmforge remove clam*-0.97.6-1.el5.rf?
– slm♦
Jun 11 '13 at 14:04












I reckon that has completed the answer. All went smoothly. If you'd like to update your answer, I'll be pleased to accept it.
– Peter Snow
Jun 11 '13 at 14:11




I reckon that has completed the answer. All went smoothly. If you'd like to update your answer, I'll be pleased to accept it.
– Peter Snow
Jun 11 '13 at 14:11












Updated my answer, glad to help you out of your predicament 8-).
– slm♦
Jun 11 '13 at 14:26




Updated my answer, glad to help you out of your predicament 8-).
– slm♦
Jun 11 '13 at 14:26










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










My first guess would be that you're mixing YUM repositories. Notice that the RPM for clamav as a .rf. in its name which signifies that it's a rpmforge package. I'd confirm that clamd also is a rpmforge package and not coming from one of the other repos.



The error message is basically telling you this, saying that it can't find an appropriate package, clamd...rf....



Focus only on rpmforge repo



You can disable every repo temporarily and enable just the rpmforge repo like this:



$ yum --disablerepo=* --enablerepo=rpmforge update clam*


The above command will allow yum to do an update against just the one repo (rpmforge).



Duplicate RPMs



If you encounter duplicate versions of the clam* RPMS installed as the OP experienced the following command can be used to identify the situation:



$ yum list clam*
clamav.i386 0.97.6-1.el5.rf installed
clamav.i386 0.97.7-1.el5.rf installed
clamav-db.i386 0.97.6-1.el5.rf installed
clamav-db.i386 0.97.7-1.el5.rf installed
clamd.i386 0.97.6-1.el5.rf installed
clamd.i386 0.97.7-1.el5.rf
...
...


This command will resolve that issue by removing the duplicate packages:



$ yum --disablerepo=* --enablerepo=rpmforge remove clam*-0.97.6-1.el5.rf


References



  • Repositories in CentOS





share|improve this answer






















  • I've just tried both commands above but the error message is identical to the above for both of them. According to yum list clamav I have 2 installed and they are both .rf packages and bewilderingly, clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
    – Peter Snow
    Jun 11 '13 at 10:58










  • @sim What's the risk with doing that? Is it likely re-install correctly in to mailserver apps?
    – Peter Snow
    Jun 11 '13 at 11:07










  • I've just checked the origin of clamd using yum list clamd and both of the two showing as installed are rpmforge packages also.
    – Peter Snow
    Jun 11 '13 at 11:11






  • 1




    Yeah in CentOS 6 it became a standard offering from the el6 repos. My CentOS 5 boxes are showing it coming from rpmforge so that isn't the issue.
    – slm♦
    Jun 11 '13 at 11:23










  • I've updated my question with the result of trying your latest edit.
    – Peter Snow
    Jun 11 '13 at 13:40










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f78978%2fhow-can-i-fix-this-dependency-error-when-updating-clamav-using-yum%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote



accepted










My first guess would be that you're mixing YUM repositories. Notice that the RPM for clamav as a .rf. in its name which signifies that it's a rpmforge package. I'd confirm that clamd also is a rpmforge package and not coming from one of the other repos.



The error message is basically telling you this, saying that it can't find an appropriate package, clamd...rf....



Focus only on rpmforge repo



You can disable every repo temporarily and enable just the rpmforge repo like this:



$ yum --disablerepo=* --enablerepo=rpmforge update clam*


The above command will allow yum to do an update against just the one repo (rpmforge).



Duplicate RPMs



If you encounter duplicate versions of the clam* RPMS installed as the OP experienced the following command can be used to identify the situation:



$ yum list clam*
clamav.i386 0.97.6-1.el5.rf installed
clamav.i386 0.97.7-1.el5.rf installed
clamav-db.i386 0.97.6-1.el5.rf installed
clamav-db.i386 0.97.7-1.el5.rf installed
clamd.i386 0.97.6-1.el5.rf installed
clamd.i386 0.97.7-1.el5.rf
...
...


This command will resolve that issue by removing the duplicate packages:



$ yum --disablerepo=* --enablerepo=rpmforge remove clam*-0.97.6-1.el5.rf


References



  • Repositories in CentOS





share|improve this answer






















  • I've just tried both commands above but the error message is identical to the above for both of them. According to yum list clamav I have 2 installed and they are both .rf packages and bewilderingly, clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
    – Peter Snow
    Jun 11 '13 at 10:58










  • @sim What's the risk with doing that? Is it likely re-install correctly in to mailserver apps?
    – Peter Snow
    Jun 11 '13 at 11:07










  • I've just checked the origin of clamd using yum list clamd and both of the two showing as installed are rpmforge packages also.
    – Peter Snow
    Jun 11 '13 at 11:11






  • 1




    Yeah in CentOS 6 it became a standard offering from the el6 repos. My CentOS 5 boxes are showing it coming from rpmforge so that isn't the issue.
    – slm♦
    Jun 11 '13 at 11:23










  • I've updated my question with the result of trying your latest edit.
    – Peter Snow
    Jun 11 '13 at 13:40














up vote
2
down vote



accepted










My first guess would be that you're mixing YUM repositories. Notice that the RPM for clamav as a .rf. in its name which signifies that it's a rpmforge package. I'd confirm that clamd also is a rpmforge package and not coming from one of the other repos.



The error message is basically telling you this, saying that it can't find an appropriate package, clamd...rf....



Focus only on rpmforge repo



You can disable every repo temporarily and enable just the rpmforge repo like this:



$ yum --disablerepo=* --enablerepo=rpmforge update clam*


The above command will allow yum to do an update against just the one repo (rpmforge).



Duplicate RPMs



If you encounter duplicate versions of the clam* RPMS installed as the OP experienced the following command can be used to identify the situation:



$ yum list clam*
clamav.i386 0.97.6-1.el5.rf installed
clamav.i386 0.97.7-1.el5.rf installed
clamav-db.i386 0.97.6-1.el5.rf installed
clamav-db.i386 0.97.7-1.el5.rf installed
clamd.i386 0.97.6-1.el5.rf installed
clamd.i386 0.97.7-1.el5.rf
...
...


This command will resolve that issue by removing the duplicate packages:



$ yum --disablerepo=* --enablerepo=rpmforge remove clam*-0.97.6-1.el5.rf


References



  • Repositories in CentOS





share|improve this answer






















  • I've just tried both commands above but the error message is identical to the above for both of them. According to yum list clamav I have 2 installed and they are both .rf packages and bewilderingly, clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
    – Peter Snow
    Jun 11 '13 at 10:58










  • @sim What's the risk with doing that? Is it likely re-install correctly in to mailserver apps?
    – Peter Snow
    Jun 11 '13 at 11:07










  • I've just checked the origin of clamd using yum list clamd and both of the two showing as installed are rpmforge packages also.
    – Peter Snow
    Jun 11 '13 at 11:11






  • 1




    Yeah in CentOS 6 it became a standard offering from the el6 repos. My CentOS 5 boxes are showing it coming from rpmforge so that isn't the issue.
    – slm♦
    Jun 11 '13 at 11:23










  • I've updated my question with the result of trying your latest edit.
    – Peter Snow
    Jun 11 '13 at 13:40












up vote
2
down vote



accepted







up vote
2
down vote



accepted






My first guess would be that you're mixing YUM repositories. Notice that the RPM for clamav as a .rf. in its name which signifies that it's a rpmforge package. I'd confirm that clamd also is a rpmforge package and not coming from one of the other repos.



The error message is basically telling you this, saying that it can't find an appropriate package, clamd...rf....



Focus only on rpmforge repo



You can disable every repo temporarily and enable just the rpmforge repo like this:



$ yum --disablerepo=* --enablerepo=rpmforge update clam*


The above command will allow yum to do an update against just the one repo (rpmforge).



Duplicate RPMs



If you encounter duplicate versions of the clam* RPMS installed as the OP experienced the following command can be used to identify the situation:



$ yum list clam*
clamav.i386 0.97.6-1.el5.rf installed
clamav.i386 0.97.7-1.el5.rf installed
clamav-db.i386 0.97.6-1.el5.rf installed
clamav-db.i386 0.97.7-1.el5.rf installed
clamd.i386 0.97.6-1.el5.rf installed
clamd.i386 0.97.7-1.el5.rf
...
...


This command will resolve that issue by removing the duplicate packages:



$ yum --disablerepo=* --enablerepo=rpmforge remove clam*-0.97.6-1.el5.rf


References



  • Repositories in CentOS





share|improve this answer














My first guess would be that you're mixing YUM repositories. Notice that the RPM for clamav as a .rf. in its name which signifies that it's a rpmforge package. I'd confirm that clamd also is a rpmforge package and not coming from one of the other repos.



The error message is basically telling you this, saying that it can't find an appropriate package, clamd...rf....



Focus only on rpmforge repo



You can disable every repo temporarily and enable just the rpmforge repo like this:



$ yum --disablerepo=* --enablerepo=rpmforge update clam*


The above command will allow yum to do an update against just the one repo (rpmforge).



Duplicate RPMs



If you encounter duplicate versions of the clam* RPMS installed as the OP experienced the following command can be used to identify the situation:



$ yum list clam*
clamav.i386 0.97.6-1.el5.rf installed
clamav.i386 0.97.7-1.el5.rf installed
clamav-db.i386 0.97.6-1.el5.rf installed
clamav-db.i386 0.97.7-1.el5.rf installed
clamd.i386 0.97.6-1.el5.rf installed
clamd.i386 0.97.7-1.el5.rf
...
...


This command will resolve that issue by removing the duplicate packages:



$ yum --disablerepo=* --enablerepo=rpmforge remove clam*-0.97.6-1.el5.rf


References



  • Repositories in CentOS






share|improve this answer














share|improve this answer



share|improve this answer








edited Jun 11 '13 at 14:25

























answered Jun 11 '13 at 10:37









slm♦

239k65494665




239k65494665











  • I've just tried both commands above but the error message is identical to the above for both of them. According to yum list clamav I have 2 installed and they are both .rf packages and bewilderingly, clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
    – Peter Snow
    Jun 11 '13 at 10:58










  • @sim What's the risk with doing that? Is it likely re-install correctly in to mailserver apps?
    – Peter Snow
    Jun 11 '13 at 11:07










  • I've just checked the origin of clamd using yum list clamd and both of the two showing as installed are rpmforge packages also.
    – Peter Snow
    Jun 11 '13 at 11:11






  • 1




    Yeah in CentOS 6 it became a standard offering from the el6 repos. My CentOS 5 boxes are showing it coming from rpmforge so that isn't the issue.
    – slm♦
    Jun 11 '13 at 11:23










  • I've updated my question with the result of trying your latest edit.
    – Peter Snow
    Jun 11 '13 at 13:40
















  • I've just tried both commands above but the error message is identical to the above for both of them. According to yum list clamav I have 2 installed and they are both .rf packages and bewilderingly, clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
    – Peter Snow
    Jun 11 '13 at 10:58










  • @sim What's the risk with doing that? Is it likely re-install correctly in to mailserver apps?
    – Peter Snow
    Jun 11 '13 at 11:07










  • I've just checked the origin of clamd using yum list clamd and both of the two showing as installed are rpmforge packages also.
    – Peter Snow
    Jun 11 '13 at 11:11






  • 1




    Yeah in CentOS 6 it became a standard offering from the el6 repos. My CentOS 5 boxes are showing it coming from rpmforge so that isn't the issue.
    – slm♦
    Jun 11 '13 at 11:23










  • I've updated my question with the result of trying your latest edit.
    – Peter Snow
    Jun 11 '13 at 13:40















I've just tried both commands above but the error message is identical to the above for both of them. According to yum list clamav I have 2 installed and they are both .rf packages and bewilderingly, clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
– Peter Snow
Jun 11 '13 at 10:58




I've just tried both commands above but the error message is identical to the above for both of them. According to yum list clamav I have 2 installed and they are both .rf packages and bewilderingly, clamav = 0.97.6-1.el5.rf is needed by package clamd-0.97.6-1.el5.rf.i386 (installed)
– Peter Snow
Jun 11 '13 at 10:58












@sim What's the risk with doing that? Is it likely re-install correctly in to mailserver apps?
– Peter Snow
Jun 11 '13 at 11:07




@sim What's the risk with doing that? Is it likely re-install correctly in to mailserver apps?
– Peter Snow
Jun 11 '13 at 11:07












I've just checked the origin of clamd using yum list clamd and both of the two showing as installed are rpmforge packages also.
– Peter Snow
Jun 11 '13 at 11:11




I've just checked the origin of clamd using yum list clamd and both of the two showing as installed are rpmforge packages also.
– Peter Snow
Jun 11 '13 at 11:11




1




1




Yeah in CentOS 6 it became a standard offering from the el6 repos. My CentOS 5 boxes are showing it coming from rpmforge so that isn't the issue.
– slm♦
Jun 11 '13 at 11:23




Yeah in CentOS 6 it became a standard offering from the el6 repos. My CentOS 5 boxes are showing it coming from rpmforge so that isn't the issue.
– slm♦
Jun 11 '13 at 11:23












I've updated my question with the result of trying your latest edit.
– Peter Snow
Jun 11 '13 at 13:40




I've updated my question with the result of trying your latest edit.
– Peter Snow
Jun 11 '13 at 13:40

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f78978%2fhow-can-i-fix-this-dependency-error-when-updating-clamav-using-yum%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay