On 2011-03-15, Michael Schwendt <[email protected]> wrote:
>
> You can use the "rpm -q --conflicts ..." query instead of constructing
> the very complex queryformat above.

Yes, thanks. It seems there must be something different with
RPM or YUM between RHEL5 and RHEL6 here:

RHEL5# rpm -q --conflicts clamav-filesystem
clamav < 0.95.1-1.el5
clamav > 0.95.1-1.el5

RHEL5# rpm -Uvh --test clamav-0.97-8.el5.x86_64.rpm     
clamav-db-0.97-8.el5.x86_64.rpm  clamd-0.97-8.el5.x86_64.rpm
Preparing...                ########################################### [100%]

RHEL5# yum localinstall clamav-0.97-8.el5.x86_64.rpm     
clamav-db-0.97-8.el5.x86_64.rpm  clamd-0.97-8.el5.x86_64.rpm

        Error: clamav-filesystem conflicts with clamav


RHEL6# rpm -q --conflicts clamav-filesystem
clamav < 0.96.1-1401.el6
clamav > 0.96.1-1401.el6

RHEL6# # rpm -Uvh --test clamav-0.97-7.el6.x86_64.rpm  
clamav-db-0.97-7.el6.x86_64.rpm  clamd-0.97-7.el6.x86_64.rpm
Forbereder...               ########################################### [100%]

RHEL6# yum localinstall clamav-0.97-7.el6.x86_64.rpm  
clamav-db-0.97-7.el6.x86_64.rpm  clamd-0.97-7.el6.x86_64.rpm
================================================================================================
 Package           Arch           Version            Repository                 
           Size
================================================================================================
Installing:
 clamav-db         x86_64         0.97-7.el6         
/clamav-db-0.97-7.el6.x86_64          26 M
     replacing  clamav-data.noarch 0.96.1-1401.el6
     replacing  clamav-update.x86_64 0.96.1-1401.el6
 clamd             x86_64         0.97-7.el6         /clamd-0.97-7.el6.x86_64   
          395 k
     replacing  clamav-scanner.noarch 0.96.1-1401.el6
     replacing  clamav-scanner-upstart.noarch 0.96.1-1401.el6
     replacing  clamav-server.x86_64 0.96.1-1401.el6
     replacing  clamav-server-sysvinit.noarch 0.96.1-1401.el6
Updating:
 clamav            x86_64         0.97-7.el6         /clamav-0.97-7.el6.x86_64  
           15 M
     replacing  clamav-filesystem.noarch 0.96.1-1401.el6
     replacing  clamav-lib.x86_64 0.96.1-1401.el6

Transaction Summary
================================================================================================
Install       2 Package(s)
Upgrade       1 Package(s)



  -jf

_______________________________________________
epel-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/epel-devel-list

Reply via email to