Issue
I have Centos 6.7 and run this command
sudo yum install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm
Loaded plugins: fastestmirror, post-transaction-actions
Setting up Install Process
wandisco-git-release-6-1.noarch.rpm | 4.5 kB 00:00
Examining /var/tmp/yum-root-UthqQc/wandisco-git-release-6-1.noarch.rpm: wandisco-git-release-6-1.noarch
/var/tmp/yum-root-UthqQc/wandisco-git-release-6-1.noarch.rpm: does not update installed package.
Error: Nothing to do
This package simply has an .repo file in /etc/yum.repo.d/. Why does yum refuse to install it?
Solution
Because apparently the package wandisco-git-release is already installed, but with a higher version than 6-1.
There are two ways from here:
- find a more recent version of wandisco-git-release if you need to upgrade
- force a downgrade:
yum downgrade http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm
Answered By - Chris Maes Answer Checked By - Marie Seifert (WPSolving Admin)