LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   yum - install particular version of a package? (https://www.linuxquestions.org/questions/linux-software-2/yum-install-particular-version-of-a-package-463937/)

neiljt 07-14-2006 04:46 AM

yum - install particular version of a package?
 
I want to install Trend Micro ServerProtect on my CentOS 4.3 box, and have the following mini-dilemma.

The latest version of the kernel is 2.6.9-34.0.2.EL. As of this morning, the latest version supported by the Trend product appears to be 2.6.9-34.0.1.EL. Unfortunately, as I built (& patched) the box only a couple of days ago, the base version of the kernel at install was 2.6.9-34.EL, and the patched kernel is now at 2.6.9-34.0.2.EL. IOW, as I have installed and patched some time after the initial release, I don't have the intermediate version (2.6.9-34.0.1.EL) available to me.

While one solution is to run the base version of the kernel (2.6.9-34.EL), I would prefer if possible to run the latest version which is supported by the Trend product.

So: is there some way to force yum specifically to install an intermediate (earlier than latest, later than base) version of a package?

Thanks for any suggestions :-)

b0uncer 07-14-2006 07:43 AM

I thought Yum would only have the latest & gratest packages in it's reposities, unless you've found some reposity that holds a bit older packages or have created one yourself. Usually packages eat up a lot of space, so package reposities (like the ones used by Yum, pacman, apt etc..) only hold the latest packages since they're the ones people usually want to have. I recommend you to hold a cache of older versions on disk if it's possible, if you like to use such a package manager. I really don't know if there is a reposity for yum which would have older packages, but try searching by Google. I'd bet the ordinary reposities do not hold old packages if they have a possibility to use newer ones..

Are you unable to get the base package and patch it to the version you need?

neiljt 07-17-2006 06:57 AM

Thanks for the input, Bouncer.

I was hoping get a kernel package for the distro to get a match with the Trend Micro product. As it turns out, the "kernel hooking" module in question doesn't recognise as valid the kernel version I rolled back to, despite supposedly supporting this level. I suspect some kind of validation requirement for the "official" RHEL distro as opposed to the CentOS one I am using (grr, gnash, moan, etc.).

I'm only installing this thing to comply with site requirements, and not aware of any real value to doing so (though if anyone would like to jump in and educate me, I'd be interested!), so my hope is that the kernel hooking module is not necessary to run the product with some reduced capability that nonetheless complies with the requirement that this box should be accessible to a central AV server for our site.

emerge 07-26-2006 05:04 AM

Had the same issue. The installer checks /etc/redhat-release, which is different from RHEL's redhat-release. For CentOS 4.3 replace the contents of /etc/redhat-release with
Code:

Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
Backup the original first of course. SPLX installs fine afterwards.

qcpang2000 08-17-2006 03:21 AM

Quote:

Originally Posted by emerge
Had the same issue. The installer checks /etc/redhat-release, which is different from RHEL's redhat-release. For CentOS 4.3 replace the contents of /etc/redhat-release with
Code:

Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
Backup the original first of course. SPLX installs fine afterwards.

Thx a lot, I can install SPLX 2.5 using the about method now, but the SPLX can't be able to load the kernel module even I downloaded the SPLX kernel that same version with the Centos os Kernel i.e. "splxmod-2.6.9-34.ELsmp.o"

dancko 06-23-2014 04:08 PM

For to avoid of open another post I thought to write here my question because the argument is related to argument of this post which I found doing a search in the forum.

So, my question is: How many version of same package there can be in one repository?

Only one version? and in this case the latest and greatest version?

Or can there be more than one version?

Is there a precise rule or depends on the repository?

thanks in advance.

John VV 06-23-2014 04:13 PM

well this is a mute point for the unsupported version of centos 4.3
there is NO support for any of the old 4 series
and the current legacy version is centos 5.10

in general SOME things can be installed "side-by-side"

gcc
libpng
libjpeg
libtiff
python

but not everything
i tend to have 3 or 4 versions of gcc installed and currently need 3 versions of python

dancko 06-23-2014 04:24 PM

Hi John,

sorry but i do not understand ...

My question is: How many version of same package there can be in one repository?

Only one version? and in this case the latest and greatest version?

Or can there be more than one version?

Is there a precise rule or depends on the repository?

John VV 06-23-2014 04:41 PM

it depends on WHAT the program is

as for a something like the redhat update repo
many ,including old and unsupported versions .


All times are GMT -5. The time now is 04:14 PM.