LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-14-2006, 05:46 AM   #1
neiljt
LQ Newbie
 
Registered: Nov 2002
Location: Canewdon, UK
Distribution: CentOS
Posts: 27

Rep: Reputation: 15
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 :-)

Last edited by neiljt; 07-14-2006 at 05:48 AM. Reason: disambiguate title & main question
 
Old 07-14-2006, 08:43 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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?
 
Old 07-17-2006, 07:57 AM   #3
neiljt
LQ Newbie
 
Registered: Nov 2002
Location: Canewdon, UK
Distribution: CentOS
Posts: 27

Original Poster
Rep: Reputation: 15
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.
 
Old 07-26-2006, 06:04 AM   #4
emerge
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
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.
 
Old 08-17-2006, 04:21 AM   #5
qcpang2000
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
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"
 
Old 06-23-2014, 05:08 PM   #6
dancko
LQ Newbie
 
Registered: Jun 2014
Location: Italy
Distribution: Ubuntu - centOs
Posts: 8

Rep: Reputation: 0
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.
 
Old 06-23-2014, 05:13 PM   #7
John VV
Guru
 
Registered: Aug 2005
Posts: 13,270

Rep: Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775
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
 
Old 06-23-2014, 05:24 PM   #8
dancko
LQ Newbie
 
Registered: Jun 2014
Location: Italy
Distribution: Ubuntu - centOs
Posts: 8

Rep: Reputation: 0
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?

Last edited by dancko; 06-23-2014 at 05:38 PM.
 
Old 06-23-2014, 05:41 PM   #9
John VV
Guru
 
Registered: Aug 2005
Posts: 13,270

Rep: Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775Reputation: 1775
it depends on WHAT the program is

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New version of YUM jojojo Linux - Newbie 3 05-25-2006 12:28 PM
Can yum update your kernel version.? wpg9210 Fedora 1 03-21-2006 11:40 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 01:48 PM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 04:03 PM
Where can I find a version of yum for suse 9.1? tlawlessrr Linux - Software 1 07-12-2004 10:18 AM


All times are GMT -5. The time now is 03:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration