Re: [CentOS] yum install does not downgrade

2017-06-03 Thread James Hogarth
On 2 Jun 2017 1:28 pm, "Mark Haney" wrote: Personally, I would do one of three things: 1. Use the -m command to run 'yum install ' which /might/ work. 2. Uninstall the newer package and install the version you want. (Check the 'state' directive to do this.) 3. Pin that

Re: [CentOS] yum install does not downgrade

2017-06-02 Thread Mark Haney
Personally, I would do one of three things: 1. Use the -m command to run 'yum install ' which /might/ work. 2. Uninstall the newer package and install the version you want. (Check the 'state' directive to do this.) 3. Pin that package version when creating the server/VM so as not to be

Re: [CentOS] yum install does not downgrade

2017-06-02 Thread Anand Buddhdev
On 01/06/2017 22:29, Tate Belden wrote: > Use the 'downgrade' option. Thanks Tate. I know the "downgrade" option well. I wouldn't have posted my question if it were that simple. As I said previously, we use ansible, and its "yum" module invokes: yum install package-version-release I expect

Re: [CentOS] yum install does not downgrade

2017-06-01 Thread Tate Belden
Use the 'downgrade' option. https://access.redhat.com/solutions/29617 On Thu, Jun 1, 2017 at 1:46 PM, Anand Buddhdev wrote: > We're using ansible to configure our CentOS 6 servers, and we have a > task to install a specific version of a package: > > - name: install thrift2 >

[CentOS] yum install does not downgrade

2017-06-01 Thread Anand Buddhdev
We're using ansible to configure our CentOS 6 servers, and we have a task to install a specific version of a package: - name: install thrift2 yum: name=ripencc-thrift2-{{ version }} In this ansible task, the "version" variable is set by the operator. When we want to upgrade, it works. But