I am a bit puzzled at the versioning scheme of the RedHat clone family.
RedHat seems to use integer 4, Tao and Centos does the same. If you do
rpm -q --qf '%{version}\n' -f /etc/redhat-release
you get '4'.
However, Scientific Linux uses 4.0, and that seems to me to be a more logical choise, since presumable there are going to be versions 4.1, 4.2, etc.
Is there any good reason for the version of package centos-release NOT to be 4.0? It has a significance in automated scripts trying to work out which distribution and version you are running, and it seems silly to treat the different RHEL4 clones differently.
It would make sense for CentOS to coordinate/agree_upon a common scheme among the different distributions.
Cheers, Morten
PS: Perhaps someone can provide info about other RHEL clone distros!
On Fri, 3 Jun 2005, Morten Kjeldgaard wrote:
I am a bit puzzled at the versioning scheme of the RedHat clone family.
RedHat seems to use integer 4, Tao and Centos does the same. If you do
rpm -q --qf '%{version}\n' -f /etc/redhat-release
you get '4'.
However, Scientific Linux uses 4.0, and that seems to me to be a more logical choise, since presumable there are going to be versions 4.1, 4.2, etc.
Is there any good reason for the version of package centos-release NOT to be 4.0? It has a significance in automated scripts trying to work out which distribution and version you are running, and it seems silly to treat the different RHEL4 clones differently.
CentOS uses '4' purely and simply to be compatible with Dag's (and other) repos, whixch ae geared towards rhel using 4.
We used to use 4.x but had compaints that the configuration of yum was not compatible with that suggested by Dag for rhel.
It would make sense for CentOS to coordinate/agree_upon a common scheme among the different distributions.
CentOS has no control over what other distros do.
Regards Lance
On Fri, 3 Jun 2005, Morten Kjeldgaard wrote:
On Fri, Jun 03, 2005 at 04:06:35PM +0100, Lance Davis wrote:
CentOS has no control over what other distros do.
True, but if you send them a polite letter, perhaps it would be possible to work something out.
We dont really have time to have any interest in what they do either, and we each make our own decisions on their technical merits.
If you wish to contact them then feel free.
Regards Lance
On Fri, 3 Jun 2005, Lance Davis wrote:
On Fri, 3 Jun 2005, Morten Kjeldgaard wrote:
I am a bit puzzled at the versioning scheme of the RedHat clone family.
RedHat seems to use integer 4, Tao and Centos does the same. If you do
rpm -q --qf '%{version}\n' -f /etc/redhat-release
you get '4'.
However, Scientific Linux uses 4.0, and that seems to me to be a more logical choise, since presumable there are going to be versions 4.1, 4.2, etc.
Is there any good reason for the version of package centos-release NOT to be 4.0? It has a significance in automated scripts trying to work out which distribution and version you are running, and it seems silly to treat the different RHEL4 clones differently.
CentOS uses '4' purely and simply to be compatible with Dag's (and other) repos, whixch ae geared towards rhel using 4.
We used to use 4.x but had compaints that the configuration of yum was not compatible with that suggested by Dag for rhel.
I hope it was not changed only for me though. (Although I would be honoured for having that much impact)
I think it belongs to the 'as compatible to RHEL as possible' clause.
Maybe Scientific Linux is not meant to be as compatible as possible, but more a product based on RHEL, maybe the numbers might even deviate (like 4.1.1) ?
PS With RHEL3, TaoLinux was using 1. So you're lucky that at least everybody except Scientific Linux is using 4 now :)
Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]
On Fri, June 3, 2005 9:49 am, Morten Kjeldgaard said:
I am a bit puzzled at the versioning scheme of the RedHat clone family.
RedHat seems to use integer 4, Tao and Centos does the same. If you do
rpm -q --qf '%{version}\n' -f /etc/redhat-release
you get '4'.
However, Scientific Linux uses 4.0, and that seems to me to be a more logical choise, since presumable there are going to be versions 4.1, 4.2, etc.
Is there any good reason for the version of package centos-release NOT to be 4.0? It has a significance in automated scripts trying to work out which distribution and version you are running, and it seems silly to treat the different RHEL4 clones differently.
It would make sense for CentOS to coordinate/agree_upon a common scheme among the different distributions.
Cheers, Morten
PS: Perhaps someone can provide info about other RHEL clone distros!
We (CentOS) chose to use 4 to be compatable with the dag repo ... and other 3rd party software. Tao Linux and WhiteBox Linux do the same.
4 (or 3 for CentOS-3.x) will always be the version ... and:
http://mirror.centos.org/centos/4/
Will always point to the latest version of the distro. /4/ will always be a symlink to the latest version (4.1, 4.2, 4.3, etc.).
If you look at the redhat-release file, you can cat it and get the real release as well. So, you can use this in a script to get the number you are looking for:
cat /etc/redhat-release | awk {'print $3'}
and you can use:
rpm -q --qf '%{version}\n' -f /etc/redhat-release
to get a number that is compatable to RHEL's numbering scheme.