yum always installing higher version not specific version

  • Thread starter Thread starter snelloru
  • Start date Start date
S

snelloru

We use RPMS for our packaging and yum to update our environments. We have an rpm pacakge-5.1.1-3 installed in our production server and in our yum repository we have 2 higher versions of RPMS like package-5.1.3-3 and package-5.2-27.
we tried to install 5.1.3-1 version but it installed 5.2-27. It caused serious problems in production.

If we remove 5.2-27 package from YUM rpm repository and try installing 5.1.3-1, its installing as expected.

I think yum should allow installation of specific version of RPMS and I remember doing this few times. I tried to debug but no success.


HTML Code:
yum install package-5.1.3-1
Loaded plugins: rhnplugin, security
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package matching package-5.1.3-1.x86_64 already installed. Checking for update.
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: package = 5.1.1-3 for package: package-database
---> Package package.x86_64 0:5.1.3-1 set to be updated
--> Running transaction check
---> Package package-database.x86_64 0:5.2-23 set to be updated
--> Processing Dependency: package = 5.2-23 for package: package-database
--> Running transaction check
---> Package package.x86_64 0:5.1.3-1 set to be updated
---> Package package.x86_64 0:5.2-23 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================
Package Arch Version Repository Size
======================================================================================================
package x86_64 5.2-23 repo 22 M
package-database x86_64 5.2-23



Any ideas on this??

Continue reading...
 
Back
Top