<div dir="ltr">Hello,<div><br></div><div>I've just migrated our Redhat 6 Lon-Capa to CentOS 7.<div><br></div></div><div>It seems the site is working OK.  When I did a yum update recently there is</div><div>a conflict with tre-common being provided by both epel and loncapa-updates</div><div><br></div><div><font face="arial, sans-serif">I tried exclude=tre-common within <span style="color:rgb(0,0,0)">/etc/yum.repos.d/epel.repo</span></font></div><font face="arial, sans-serif">and did yum clean all followed by yum update. Same error as previously.</font><div><br></div><div>This package wasn't part of the R dependencies on the previous OS version so I can't compare to how it was satisfied on the previous server.</div><div><br></div><div>I  think the problem is that tre comes from epel and lists a dependency and version found only </div><div>on epel of tre-common,  while loncapa-updates provides tre-common but not the matching tre so</div><div>it isn't possible to make epel not provide tre packages.</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"># yum list tre-common
</span><br>Loaded plugins: fastestmirror
<br>Loading mirror speeds from cached hostfile
<br> * base: <a href="http://mirror.calgah.com">mirror.calgah.com</a>
<br> * epel: <a href="http://epel.mirror.constant.com">epel.mirror.constant.com</a>
<br> * extras: <a href="http://mirror.its.dal.ca">mirror.its.dal.ca</a>
<br> * updates: <a href="http://mirror.calgah.com">mirror.calgah.com</a>
<br>Installed Packages
<br><span style="font-weight:bold;color:rgb(0,0,0)">tre-common.noarch</span><span style="color:rgb(0,0,0)">                          0.8.0-18.20140228gitc2f5d13.el7                                  @epel                  </span><br>Available Packages
<br><span style="font-weight:bold;color:rgb(84,84,255)">tre-common.noarch</span><span style="color:rgb(0,0,0)">                          0.8.0-18.20140228gitc2f5d13.el7.centos                           loncapa-updates-noarch</span><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"># yum list tre   </span><br>Loaded plugins: fastestmirror
<br>Loading mirror speeds from cached hostfile
<br> * base: <a href="http://mirror.its.dal.ca">mirror.its.dal.ca</a>
<br> * epel: <a href="http://epel.mirror.constant.com">epel.mirror.constant.com</a>
<br> * extras: <a href="http://mirror.its.dal.ca">mirror.its.dal.ca</a>
<br> * updates: <a href="http://mirror.its.dal.ca">mirror.its.dal.ca</a>
<br>Installed Packages
<br>tre.x86_64                                          0.8.0-18.20140228gitc2f5d13.el7                                          @epel<br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"># yum update
</span><br>Loaded plugins: fastestmirror
<br>Loading mirror speeds from cached hostfile
<br>epel/x86_64/metalink                                                                                       |  14 kB  00:00:00      <br> * base: <a href="http://mirror.calgah.com">mirror.calgah.com</a>
<br> * epel: <a href="http://epel.mirror.constant.com">epel.mirror.constant.com</a>
<br> * extras: <a href="http://mirror.its.dal.ca">mirror.its.dal.ca</a>
<br> * updates: <a href="http://mirror.calgah.com">mirror.calgah.com</a>
<br>Resolving Dependencies
<br>--> Running transaction check
<br>---> Package tre-common.noarch 0:0.8.0-18.20140228gitc2f5d13.el7 will be updated
<br>--> Processing Dependency: tre-common = 0.8.0-18.20140228gitc2f5d13.el7 for package: tre-0.8.0-18.20140228gitc2f5d13.el7.x86_64
<br>---> Package tre-common.noarch 0:0.8.0-18.20140228gitc2f5d13.el7.centos will be an update
<br>--> Finished Dependency Resolution
<br>Error: Package: tre-0.8.0-18.20140228gitc2f5d13.el7.x86_64 (@epel)
<br>           Requires: tre-common = 0.8.0-18.20140228gitc2f5d13.el7
<br>           Removing: tre-common-0.8.0-18.20140228gitc2f5d13.el7.noarch (@epel)
<br>               tre-common = 0.8.0-18.20140228gitc2f5d13.el7
<br>           Updated By: tre-common-0.8.0-18.20140228gitc2f5d13.el7.centos.noarch (loncapa-updates-noarch)
<br>               tre-common = 0.8.0-18.20140228gitc2f5d13.el7.centos
<br> You could try using --skip-broken to work around the problem
<br> You could try running: rpm -Va --nofiles --nodigest
<br>[root@sirius ~]# yum clean all
<br>Loaded plugins: fastestmirror
<br>Cleaning repos: base epel extras loncapa-updates-basearch loncapa-updates-noarch updates
<br>Cleaning up list of fastest mirrors
<br>Other repos take up 115 M of disk space (use --verbose for details)
<br>[root@sirius ~]# yum update    <br>Loaded plugins: fastestmirror
<br>Determining fastest mirrors
<br>epel/x86_64/metalink                                                                                       |  14 kB  00:00:00      <br> * base: <a href="http://mirror.its.dal.ca">mirror.its.dal.ca</a>
<br> * epel: <a href="http://epel.mirror.constant.com">epel.mirror.constant.com</a>
<br> * extras: <a href="http://mirror.its.dal.ca">mirror.its.dal.ca</a>
<br> * updates: <a href="http://mirror.its.dal.ca">mirror.its.dal.ca</a>
<br>base                                                                                                       | 3.6 kB  00:00:00      <br>epel                                                                                                       | 5.3 kB  00:00:00      <br>extras                                                                                                     | 3.4 kB  00:00:00      <br>loncapa-updates-basearch                                                                                   |  951 B  00:00:00      <br>loncapa-updates-noarch                                                                                     |  951 B  00:00:00      <br>updates                                                                                                    | 3.4 kB  00:00:00      <br>(1/7): base/7/x86_64/group_gz                                                                              | 166 kB  00:00:00      <br>(2/7): epel/x86_64/group_gz                                                                                |  88 kB  00:00:00      <br>(3/7): epel/x86_64/updateinfo                                                                              | 999 kB  00:00:00      <br>(4/7): extras/7/x86_64/primary_db                                                                          | 215 kB  00:00:00      <br>(5/7): epel/x86_64/primary_db                                                                              | 6.8 MB  00:00:00      <br>(6/7): base/7/x86_64/primary_db                                                                            | 6.0 MB  00:00:00      <br>(7/7): updates/7/x86_64/primary_db                                                                         | 7.4 MB  00:00:00      <br>(1/2): loncapa-updates-noarch/7/primary                                                                    |  32 kB  00:00:00      <br>(2/2): loncapa-updates-basearch/7/x86_64/primary                                                           |  31 kB  00:00:00      <br>loncapa-updates-basearch                                                                                                    81/81
<br>loncapa-updates-noarch                                                                                                      65/65
<br>Resolving Dependencies
<br>--> Running transaction check
<br>---> Package tre-common.noarch 0:0.8.0-18.20140228gitc2f5d13.el7 will be updated
<br>--> Processing Dependency: tre-common = 0.8.0-18.20140228gitc2f5d13.el7 for package: tre-0.8.0-18.20140228gitc2f5d13.el7.x86_64
<br>---> Package tre-common.noarch 0:0.8.0-18.20140228gitc2f5d13.el7.centos will be an update
<br>--> Finished Dependency Resolution
<br>Error: Package: tre-0.8.0-18.20140228gitc2f5d13.el7.x86_64 (@epel)
<br>           Requires: tre-common = 0.8.0-18.20140228gitc2f5d13.el7
<br>           Removing: tre-common-0.8.0-18.20140228gitc2f5d13.el7.noarch (@epel)
<br>               tre-common = 0.8.0-18.20140228gitc2f5d13.el7
<br>           Updated By: tre-common-0.8.0-18.20140228gitc2f5d13.el7.centos.noarch (loncapa-updates-noarch)
<br>               tre-common = 0.8.0-18.20140228gitc2f5d13.el7.centos
<br> You could try using --skip-broken to work around the problem
<br> You could try running: rpm -Va --nofiles --nodigest<br></span></div><div><span style="font-family:monospace"><br></span></div><div><font face="arial, sans-serif">What do you suggest I try to resolve that issue?  I have not tried the exclude on the lon-capa repo, but assumed</font></div><div><font face="arial, sans-serif">there was a reason the package exists there.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Regards,</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">--Donald Teed</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><br></font></div><div><span style="font-family:monospace"><br></span></div></div>