LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-26-2013, 08:36 AM   #1
tehwaffle
LQ Newbie
 
Registered: Feb 2012
Posts: 3

Rep: Reputation: Disabled
CentOS 6.4, can't install new version of Varnish


Hello,

I'm trying to install Varnish according to this, when I run this:

Code:
rpm --nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el6/noarch/varnish-release/varnish-release-3.0-1.el6.noarch.rpm
It will create the /etc/yum.repos.d/varnish.repo file.
When I run yum install varnish, it will still attempt to install the old version of Varnish, 2.1.5-1.el6.


Could someone help me out? I'm confused.
 
Old 10-26-2013, 10:09 AM   #2
mengoshmink
Member
 
Registered: Nov 2003
Distribution: Fedora
Posts: 42

Rep: Reputation: 3
Are you still having this problem? I just tried and I didn't experience it.
 
Old 10-26-2013, 10:17 AM   #3
tehwaffle
LQ Newbie
 
Registered: Feb 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Yes, I still get this.
Here the output:

Code:
[root@******** /]# rpm --nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el6/noarch/varnish-release/varnish-release-3.0-1.el6.noarch.rpm
        package varnish-release-3.0-1.el6.noarch is already installed

[root@******** /]# yum install varnish
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: centos.mirror.transip.nl
 * epel: mirror.muntinternet.net
 * extras: mirror.prolocation.net
 * rpmforge: mirror.nl.leaseweb.net
 * updates: centos.mirror.transip.nl
1505 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package varnish.x86_64 0:2.1.5-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch             Version                Repository      Size
================================================================================
Installing:
 varnish           x86_64           2.1.5-1.el6            epel           263 k

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

Total download size: 263 k
Installed size: 652 k
Is this ok [y/N]:
Contents of the varnish.repo file:
Code:
[varnish-3.0]
name=Varnish 3.0 for Enterprise Linux el6 - $basearch
baseurl=http://repo.varnish-cache.org/redhat/varnish-3.0/el6/$basearch
enabled=1
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-VARNISH

Last edited by tehwaffle; 10-26-2013 at 10:31 AM.
 
Old 10-26-2013, 11:29 AM   #4
mengoshmink
Member
 
Registered: Nov 2003
Distribution: Fedora
Posts: 42

Rep: Reputation: 3
I think I have spotted the problem; I have underlined it below:

Quote:
Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
varnish x86_64 2.1.5-1.el6 epel 263 k
You have the epel repository installed, which is taking a higher priority than the varnish one. I would be cautious when you run updates to make sure libraries and binaries available through epel do not conflict with your Varnish install.

To work around and install Varnish from their repository this is what I would do, temporary disable the epel repository:
Code:
# yum --disablerepo=epel* --enablerepo=varnish* install varnish
Good luck!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to install older version of MySQL workbench on CentOS 5.6 Preacherpj Linux - Newbie 1 12-14-2012 10:07 AM
LXer: Install Or Upgrade To Latest Stable Version Of Rsyslog On CentOS 5 And 6 LXer Syndicated Linux News 0 06-13-2012 12:30 PM
[SOLVED] How to install libpcap version 1 on centos 5 vishesh Linux - Server 4 10-28-2010 10:30 AM
Which version of centos should i install? shadiadiph Linux - Newbie 10 03-20-2010 06:30 AM
How to install latest version of Firefox on CentOS Dmjmusser Linux - Software 3 02-20-2007 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration