FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 04-03-2008, 10:14 AM
"Indunil Jayasooriya"
 
Default how to check the version of centos

> I had a server running centos 5 and have recently upgraded with centos 5.1
> dvd
>
> how do i check the version of my new installated OS

pls try below

cat /etc/redhat-release



--
Thank you
Indunil Jayasooriya
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-03-2008, 10:21 AM
Tru Huynh
 
Default how to check the version of centos

Hi,

On Thu, Apr 03, 2008 at 01:25:00PM +0300, Mail Administrator wrote:
>
>
> Dear All,
>
> I had a server running centos 5 and have recently upgraded with centos 5.1
> dvd
you don't need to "upgrade" with the dvd between point release of CentOS-5
(ie from 5.0 to 5.1 to 5.2 ....) it's being taken care by yum.

> how do i check the version of my new installated OS
see the FAQ: http://wiki.centos.org/FAQ/CentOS5#head-51ce9db5abbde6b4dbe39b0531d01b34f80fb606

Cheers,

Tru
--
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-03-2008, 10:25 AM
"Mail Administrator"
 
Default how to check the version of centos

Dear All,

I had a server running centos 5 and have recently upgraded with centos 5.1
dvd

how do i check the version of my new installated OS

thnks and regards


simon


--
Network ADMIN:

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-03-2008, 02:12 PM
"Mail Administrator"
 
Default how to check the version of centos

Thanks guys for the quick reply

btw cat /etc/redhat-release gives me


CentOS release 5 (Final)
so as per the FAQ guess its uptodate


thnks again
regards

simon


> Hi,
>
> On Thu, Apr 03, 2008 at 01:25:00PM +0300, Mail Administrator wrote:
>>
>>
>> Dear All,
>>
>> I had a server running centos 5 and have recently upgraded with centos
>> 5.1
>> dvd
> you don't need to "upgrade" with the dvd between point release of CentOS-5
> (ie from 5.0 to 5.1 to 5.2 ....) it's being taken care by yum.
>
>> how do i check the version of my new installated OS
> see the FAQ:
> http://wiki.centos.org/FAQ/CentOS5#head-51ce9db5abbde6b4dbe39b0531d01b34f80fb606
>
> Cheers,
>
> Tru
> --
> Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


--
Network ADMIN:

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-03-2008, 02:46 PM
Greg Bailey
 
Default how to check the version of centos

Mail Administrator wrote:

Thanks guys for the quick reply

btw cat /etc/redhat-release gives me


CentOS release 5 (Final)
so as per the FAQ guess its uptodate


thnks again
regards

simon




Interesting that this seems to deviate from upstream. Checking an
updated Red Hat Enterprise Linux 5 box, I get:


# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.1 (Tikanga)

Does anyone know what upstream does with the 5.1.z updates? Does
/etc/redhat-release show "5.1.z" or something?


-Greg


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-03-2008, 02:58 PM
"Alan Bartlett"
 
Default how to check the version of centos

On 03/04/2008, Mail Administrator <mailadmin@baladia.gov.kw> wrote:
how do i check the version of my new installated OS
*# rpm -q centos-release
centos-release-5-1.0.el5.centos.1** <----- Indicates CentOS 5, update 1.
#

Alan.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-03-2008, 03:03 PM
dnk
 
Default how to check the version of centos

I seem to remember reading a release note somewhere that the way
centos 5 worked now was that the /etc/redhat-releases would not
reflect properly (man I wish I could find the reference to that).


And that you needed to do something like:

rpm -qa centos-release


For example on one of my systems, I do:
cat /etc/redhat-release

I get:

CentOS release 5 (Final)

But I know for sure that this system is a 5.1

So When i run the:

rpm -qa centos-release

I get:

centos-release-5-1.0.el5.centos.1


Which seems more accurate.


DNK




On 3-Apr-08, at 7:46 AM, Greg Bailey wrote:


Mail Administrator wrote:

Thanks guys for the quick reply

btw cat /etc/redhat-release gives me


CentOS release 5 (Final)
so as per the FAQ guess its uptodate


thnks again
regards

simon




Interesting that this seems to deviate from upstream. Checking an
updated Red Hat Enterprise Linux 5 box, I get:


# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.1 (Tikanga)

Does anyone know what upstream does with the 5.1.z updates? Does /
etc/redhat-release show "5.1.z" or something?


-Greg


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-04-2008, 06:47 AM
"Mail Administrator"
 
Default how to check the version of centos

Thanks DNK,

u r absolutely right
the cat /etc/redhat-release does not reflect the version correctly
but the rpm -q centos-release does it perfectly

thnksss n really apprecite

cheers


regards

simon


> I seem to remember reading a release note somewhere that the way
> centos 5 worked now was that the /etc/redhat-releases would not
> reflect properly (man I wish I could find the reference to that).
>
> And that you needed to do something like:
>
> rpm -qa centos-release
>
>
> For example on one of my systems, I do:
> cat /etc/redhat-release
>
> I get:
>
> CentOS release 5 (Final)
>
> But I know for sure that this system is a 5.1
>
> So When i run the:
>
> rpm -qa centos-release
>
> I get:
>
> centos-release-5-1.0.el5.centos.1
>
>
> Which seems more accurate.
>
>
> DNK
>
>
>
>
> On 3-Apr-08, at 7:46 AM, Greg Bailey wrote:
>
>> Mail Administrator wrote:
>>> Thanks guys for the quick reply
>>>
>>> btw cat /etc/redhat-release gives me
>>>
>>>
>>> CentOS release 5 (Final)
>>> so as per the FAQ guess its uptodate
>>>
>>>
>>> thnks again
>>> regards
>>>
>>> simon
>>>
>>
>>
>> Interesting that this seems to deviate from upstream. Checking an
>> updated Red Hat Enterprise Linux 5 box, I get:
>>
>> # cat /etc/redhat-release
>> Red Hat Enterprise Linux Server release 5.1 (Tikanga)
>>
>> Does anyone know what upstream does with the 5.1.z updates? Does /
>> etc/redhat-release show "5.1.z" or something?
>>
>> -Greg
>>
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>


--
Network ADMIN:

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-05-2008, 06:17 AM
dnk
 
Default how to check the version of centos

Glad it helped!

d


On 3-Apr-08, at 11:47 PM, Mail Administrator wrote:


Thanks DNK,

u r absolutely right
the cat /etc/redhat-release does not reflect the version correctly
but the rpm -q centos-release does it perfectly

thnksss n really apprecite

cheers


regards

simon



I seem to remember reading a release note somewhere that the way
centos 5 worked now was that the /etc/redhat-releases would not
reflect properly (man I wish I could find the reference to that).

And that you needed to do something like:

rpm -qa centos-release


For example on one of my systems, I do:
cat /etc/redhat-release

I get:

CentOS release 5 (Final)

But I know for sure that this system is a 5.1

So When i run the:

rpm -qa centos-release

I get:

centos-release-5-1.0.el5.centos.1


Which seems more accurate.


DNK




On 3-Apr-08, at 7:46 AM, Greg Bailey wrote:


Mail Administrator wrote:

Thanks guys for the quick reply

btw cat /etc/redhat-release gives me


CentOS release 5 (Final)
so as per the FAQ guess its uptodate


thnks again
regards

simon




Interesting that this seems to deviate from upstream. Checking an
updated Red Hat Enterprise Linux 5 box, I get:

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.1 (Tikanga)

Does anyone know what upstream does with the 5.1.z updates? Does /
etc/redhat-release show "5.1.z" or something?

-Greg


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




--
Network ADMIN:

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-05-2008, 10:32 AM
Johnny Hughes
 
Default how to check the version of centos

Greg Bailey wrote:

Mail Administrator wrote:

Thanks guys for the quick reply

btw cat /etc/redhat-release gives me


CentOS release 5 (Final)
so as per the FAQ guess its uptodate


thnks again
regards

simon




Interesting that this seems to deviate from upstream. Checking an
updated Red Hat Enterprise Linux 5 box, I get:


# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.1 (Tikanga)

Does anyone know what upstream does with the 5.1.z updates? Does
/etc/redhat-release show "5.1.z" or something?


-Greg


OF COURSE it deviates from upstream. We are a separate distribution

This has been covered again and again and it is in an FAQ.

http://wiki.centos.org/FAQ/CentOS5#head-51ce9db5abbde6b4dbe39b0531d01b34f80fb606

Upstream is GOING to (supposedly) provide a "Z Series" (as in 5.1.1 and
5.2.0). However, we do not yet know exactly how that will work in
practice until they implement it.


IF we support the "Z series" update sets separately (we have not decided
completely if we have the "RESOURCES" to do that) then once you lock
onto a "Z Series" you would have something different in your
/etc/redhat-release.


IF you DO NOT lock into a "Z Series" release then you would have
"Release 5" ... not 5.0, 5.1, 5.2 or 5.3 ... in your /etc/release. This
is because that is exactly what you are doing if you do not deviate to a
"Z Series". Deviation (staying on the 5.1.z series, for example) would
mean that you will stay on 5.1.1 (and then 5.1.2 and 5.1.3) while 5.2.0,
then 5.3.0 (and 5.2.1,5.1.2) and 5.4.0 (and 5.3.1,5.2.2,5.1.3) become
available. Of course, at that point, they are "End of Life"ing the 5.1
branch .. so there will not be a 5.1.4 and you would at that point need
to plan an upgrade to some other branch (5.5.0, 5.4.1, 5.3.2, or 5.2.3).


SO ... being on Release 5 means, you are getting normal updates, just
like before ... not being on release 5 means you are on a "Z Series",
if/when we support them.


This is JUST semantics ... it has nothing to do with anything except
some text in a file that helps us to understand what release you are on.


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 09:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org