Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Upgrading from 5.7 to 5.8 (http://www.linux-archive.org/centos/676159-upgrading-5-7-5-8-a.html)

Keith Roberts 06-23-2012 12:07 PM

Upgrading from 5.7 to 5.8
 
My box did upgrade itself automatically from the
initial 5.5 DVD installation to 5.7

How can I tell if my box has been automatically upgraded
from 5.7 to 5.8 please?

I see the CentOS-CR.repo is still in my /etc/yum.repos.d/
directory. Is that repo responsible for doing the automatic
upgrades for Centos 5.x?

Kind Regards,

Keith Roberts

-----------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

"Sorin Srbu" 06-23-2012 12:18 PM

Upgrading from 5.7 to 5.8
 
> -----Original Message-----
> From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On
> Behalf Of Keith Roberts
> Sent: den 23 juni 2012 14:08
> To: CentOS mailing list
> Subject: [CentOS] Upgrading from 5.7 to 5.8
>
> My box did upgrade itself automatically from the
> initial 5.5 DVD installation to 5.7
>
> How can I tell if my box has been automatically upgraded
> from 5.7 to 5.8 please?

# cat /etc/redhat-release

HTH.

--
/Sorin

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

Keith Roberts 06-23-2012 12:22 PM

Upgrading from 5.7 to 5.8
 
On Sat, 23 Jun 2012, Sorin Srbu wrote:

> To: 'CentOS mailing list' <centos@centos.org>
> From: Sorin Srbu <sorin.srbu@orgfarm.uu.se>
> Subject: Re: [CentOS] Upgrading from 5.7 to 5.8
>
>> -----Original Message-----
>> From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On
>> Behalf Of Keith Roberts
>> Sent: den 23 juni 2012 14:08
>> To: CentOS mailing list
>> Subject: [CentOS] Upgrading from 5.7 to 5.8
>>
>> My box did upgrade itself automatically from the
>> initial 5.5 DVD installation to 5.7
>>
>> How can I tell if my box has been automatically upgraded
>> from 5.7 to 5.8 please?
>
> # cat /etc/redhat-release

OK thanks for that. So it looks like I'm on 5.8 already.

[root@karsites ~]# cat /etc/redhat-release
CentOS release 5.8 (Final)

Kind Regards,

Keith

-----------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

"Sorin Srbu" 06-23-2012 12:54 PM

Upgrading from 5.7 to 5.8
 
> -----Original Message-----
> >> How can I tell if my box has been automatically upgraded
> >> from 5.7 to 5.8 please?
> >
> > # cat /etc/redhat-release
>
> OK thanks for that. So it looks like I'm on 5.8 already.
>
> [root@karsites ~]# cat /etc/redhat-release
> CentOS release 5.8 (Final)

Yupp! You're welcome.

I think you might be able to see it graphically on the "main" tab of System
Monitor.

--
/Sorin

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

Keith Roberts 06-23-2012 01:06 PM

Upgrading from 5.7 to 5.8
 
On Sat, 23 Jun 2012, Sorin Srbu wrote:

> To: 'CentOS mailing list' <centos@centos.org>
> From: Sorin Srbu <sorin.srbu@orgfarm.uu.se>
> Subject: Re: [CentOS] Upgrading from 5.7 to 5.8
>
>> -----Original Message-----
>>>> How can I tell if my box has been automatically upgraded
>>>> from 5.7 to 5.8 please?
>>>
>>> # cat /etc/redhat-release
>>
>> OK thanks for that. So it looks like I'm on 5.8 already.
>>
>> [root@karsites ~]# cat /etc/redhat-release
>> CentOS release 5.8 (Final)
>
> Yupp! You're welcome.
>
> I think you might be able to see it graphically on the "main" tab of System
> Monitor.

OK. Thanks for that Sorin.

Keith :-)

-----------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Markus Falb 06-23-2012 01:10 PM

Upgrading from 5.7 to 5.8
 
On 23.6.2012 14:18, Sorin Srbu wrote:
>> -----Original Message-----
>> From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On
>> Behalf Of Keith Roberts
>> Sent: den 23 juni 2012 14:08
>> To: CentOS mailing list
>> Subject: [CentOS] Upgrading from 5.7 to 5.8
>>
>> My box did upgrade itself automatically from the
>> initial 5.5 DVD installation to 5.7
>>
>> How can I tell if my box has been automatically upgraded
>> from 5.7 to 5.8 please?
>
> # cat /etc/redhat-release

$ rpm -qf /etc/redhat-release
centos-release-5-8.el5.centos

$ rpm -q centos-release
centos-release-5-8.el5.centos
$ rpm -q --qf "%{version}
" centos-release
5
$ rpm -q --qf "%{release}
" centos-release
8.el5.centos

I don't know if it is more sane to ask the content of the file or to ask
rpm, but I tend to the rpm method. I vaguely remember that modification
of /etc/redhat-release was used to trick some third-party software that
depends on the content of the file.

yum also does an rpm lookup AFAIU , see distroverpkg in yum.conf(5)
--
Kind Regards, Markus Falb

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

Keith Roberts 06-23-2012 03:16 PM

Upgrading from 5.7 to 5.8
 
On Sat, 23 Jun 2012, Markus Falb wrote:

> $ rpm -qf /etc/redhat-release
> centos-release-5-8.el5.centos
>
> $ rpm -q centos-release
> centos-release-5-8.el5.centos
> $ rpm -q --qf "%{version}
" centos-release
> 5
> $ rpm -q --qf "%{release}
" centos-release
> 8.el5.centos
>
> I don't know if it is more sane to ask the content of the file or to ask
> rpm, but I tend to the rpm method. I vaguely remember that modification
> of /etc/redhat-release was used to trick some third-party software that
> depends on the content of the file.

Yes it's the same Markus.

[root@karsites ~]# rpm -qf /etc/redhat-release
centos-release-5-8.el5.centos

Thanks,

Keith

-----------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 02:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.