When installing Varnish Cache on CentOS 6.5 server, i got following error.
--> Finished Dependency Resolution Error: Package: varnish-4.0.1-1.el6.x86_64 (varnish-4.0) Requires: libjemalloc.so.1()(64bit) Available: varnish-4.0.0-0.20140328beta1.el6.x86_64 (varnish-4.0) libjemalloc.so.1()(64bit) Available: varnish-4.0.0-1.el6.x86_64 (varnish-4.0) libjemalloc.so.1()(64bit) Available: varnish-4.0.0-0.20131129tp1.el6.x86_64 (varnish-4.0) Not found Installing: varnish-4.0.1-1.el6.x86_64 (varnish-4.0) Not found Error: Package: varnish-4.0.1-1.el6.x86_64 (varnish-4.0) Requires: jemalloc You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest [root@cl-208 httpd]#
This is fixed by enabling EPEL repository.
rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Now install varnish with command
yum install varnish
It will work now.