I'm trying to install one package on CentOS 6.7 yum install varnishbut I'm getting that I have a package which doesn't belongs there (is for CentOS 7)---> Package varnish.x86_64 0:4.1.0-1.el7 will be installedwhich creates problems during installation. Trying to update to correct one packagerpm --nosignature -U --oldpackage  https://repo.varnish-cache.org/redhat/varnish-4.1.el6.rpmreturns package varnish-release-4.1-2.el6.noarch is already installedRunning rpm -qa | grep varnish gives varnish-release-4.1-2.el6.noarch so how can I remove package for CentOS 7 when is not listed there so I can install correct varnish version?yum --showduplicates search varnishreturns varnish-docs-2.1.5-5.el6.x86_64 : Documentation files for varnishvarnish-libs-2.1.5-5.el6.i686 : Libraries for varnishvarnish-libs-2.1.5-5.el6.x86_64 : Libraries for varnishvarnish-libs-devel-2.1.5-5.el6.i686 : Development files for varnish-libsvarnish-libs-devel-2.1.5-5.el6.x86_64 : Development files for varnish-libsvarnish-2.1.5-5.el6.x86_64 : High-performance HTTP acceleratorstill nothing related to varnish.x86_64 0:4.1.0-1.el7
Problem with removing rpm package
centos;rpm
OK, i have founded varnish 4.1.0-1.el7 in /var/cache/yum/x86_64/6/epel/. Strange. Have removed that folder and reloaded correct package - all went back to normal state.