I'm trying to install one package on CentOS 6.7
yum install varnish
but 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 installed
which creates problems during installation. Trying to update to correct one package
rpm --nosignature -U --oldpackage https://repo.varnish-cache.org/redhat/varnish-4.1.el6.rpm
returns package varnish-release-4.1-2.el6.noarch is already installed
Running 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 varnish
returns
varnish-docs-2.1.5-5.el6.x86_64 : Documentation files for varnish
varnish-libs-2.1.5-5.el6.i686 : Libraries for varnish
varnish-libs-2.1.5-5.el6.x86_64 : Libraries for varnish
varnish-libs-devel-2.1.5-5.el6.i686 : Development files for varnish-libs
varnish-libs-devel-2.1.5-5.el6.x86_64 : Development files for varnish-libs
varnish-2.1.5-5.el6.x86_64 : High-performance HTTP accelerator
still nothing related to varnish.x86_64 0:4.1.0-1.el7
yum --showduplicates search varnish
?