Re: [CentOS] Re: Re: Re: CentOS 5.2 is here!

2008-06-24 Thread Rudi Ahlers

Timothy Murphy wrote:

Craig White wrote:

  

I like to keep reasonably up-to-date with distributions I am running,
so would like to update to Centos-5.2 as and when it is released.
  


you will be up to date simply by running 'yum update'

When 5.2 is released, those updates will be installed



Are you saying that simply running yum update on a Centos-5.1 system
will convert it to Centos-5.2, as and when that is released?


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

  

Yup

All upgrades / updates in the major versions (5.0 - 5.1 - 5.1) will 
happen automatically when you run yum upgrade, and when it's officially 
released for updates. And I'm almost certain most, if not every, other 
Linux distro also works like this


--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff

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


Re: [CentOS] Re: Re: Re: CentOS 5.2 is here!

2008-06-24 Thread Michael Simpson
 
 Yup

 All upgrades / updates in the major versions (5.0 - 5.1 - 5.1) will happen
 automatically when you run yum upgrade, and when it's officially released
 for updates. And I'm almost certain most, if not every, other Linux distro
 also works like this


sorry for the studid question but do we use yum upgrade or yum update
and what is the difference between the 2

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


Re: [CentOS] Re: Re: Re: CentOS 5.2 is here!

2008-06-24 Thread Tim Verhoeven
On Tue, Jun 24, 2008 at 1:50 PM, Michael Simpson
[EMAIL PROTECTED] wrote:
 
 Yup

 All upgrades / updates in the major versions (5.0 - 5.1 - 5.1) will happen
 automatically when you run yum upgrade, and when it's officially released
 for updates. And I'm almost certain most, if not every, other Linux distro
 also works like this


 sorry for the studid question but do we use yum upgrade or yum update
 and what is the difference between the 2

Run man yum for the answer :-)

Regards,
Tim

-- 
Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83

Hoping the problem magically goes away by ignoring it is the
microsoft approach to programming and should never be allowed.
(Linus Torvalds)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Re: Re: CentOS 5.2 is here!

2008-06-24 Thread Rudi Ahlers

Michael Simpson wrote:

Yup

All upgrades / updates in the major versions (5.0 - 5.1 - 5.1) will happen
automatically when you run yum upgrade, and when it's officially released
for updates. And I'm almost certain most, if not every, other Linux distro
also works like this




sorry for the studid question but do we use yum upgrade or yum update
and what is the difference between the 2

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

  

man yum  :)


update If run without any packages, update will update every currently 
installed package.  If one or more packages are  specified,
 Yum  will  only  update the listed packages.  While 
updating packages, yum will ensure that all dependencies are satisfied.
 If no package matches the given package name(s), they are 
assumed to be a shell glob and any matches are then installed.


 If the --obsoletes flag is present yum will include 
package obsoletes in its calculations - this makes it better  for  dis-
 tro-version changes, for example: upgrading from somelinux 
8.0 to somelinux 9.


  check-update
 Implemented  so  you could know if your machine had any 
updates that needed to be applied without running it interactively.
 Returns exit value of 100 if there are packages available 
for an update. Also returns a list of the pkgs to be  updated  in
 list format. Returns 0 and no packages are available for 
update.


  upgrade
 Is the same as the update command with the --obsoletes 
flag set. See update for more details.



--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff

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


Re: [CentOS] Re: Re: Re: CentOS 5.2 is here!

2008-06-24 Thread Mogens Kjaer

Rudi Ahlers wrote:
...

  upgrade
 Is the same as the update command with the --obsoletes flag 
set. See update for more details.





Doesn't /etc/yum.conf have obsoletes=1 by default, thus making
yum update do the same as yum upgrade?

Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Re: Re: CentOS 5.2 is here!

2008-06-24 Thread Rudi Ahlers

Mogens Kjaer wrote:

Rudi Ahlers wrote:
...

  upgrade
 Is the same as the update command with the --obsoletes 
flag set. See update for more details.





Doesn't /etc/yum.conf have obsoletes=1 by default, thus making
yum update do the same as yum upgrade?

Mogens

Why don't you check? :)

--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff

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


Re: [CentOS] Re: Re: Re: CentOS 5.2 is here!

2008-06-24 Thread Michael Simpson
Thanks guys.

these things often occur to me at work where i am surrounded by
windows boxen and 22 is blocked on the firewall.

had to get special dispensation for gmail!

/me has instant gratification problems
:-)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Re: Re: CentOS 5.2 is here!

2008-06-24 Thread Mogens Kjaer

Michael Simpson wrote:
...

sorry for the studid question but do we use yum upgrade or yum update
and what is the difference between the 2


/etc/yum.conf has obsoletes=1, thus yum upgrade behaves like
yum update.

No need to read the manuals :-)

Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Re: Re: CentOS 5.2 is here!

2008-06-24 Thread Mogens Kjaer

Rudi Ahlers wrote:
...

Why don't you check? :)



On a 5.1 machine ready for 5.2:

# yum update /tmp/update.log
n
# yum upgrade /tmp/upgrade.log
n
# diff /tmp/update.log /tmp/upgrade.log
2c2
 Setting up Update Process
---
 Setting up Upgrade Process

Looks to me that update==upgrade.

Why does the announcement of 5.2 say it is important
to use yum upgrade?

Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Re: Re: CentOS 5.2 is here!

2008-06-24 Thread Johnny Hughes

Mogens Kjaer wrote:

Rudi Ahlers wrote:
...

Why don't you check? :)



On a 5.1 machine ready for 5.2:

# yum update /tmp/update.log
n
# yum upgrade /tmp/upgrade.log
n
# diff /tmp/update.log /tmp/upgrade.log
2c2
 Setting up Update Process
---
  Setting up Upgrade Process

Looks to me that update==upgrade.

Why does the announcement of 5.2 say it is important
to use yum upgrade?


Because ... if you have every modified your yum.conf file then it is NOT 
replaced by updates.  Therefore MANY CentOS users may not have 
obsoletes=1 set in their yum.conf file


Since there is a possible difference, using yum upgrade instead of 
yum update works for everyone ... yum update may or may not work.


If you were going to have one set of instructions, which should it be 
... one that works for everyone or one that might or might not work :D




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Re: Re: CentOS 5.2 is here!

2008-06-24 Thread Florin Andrei

Timothy Murphy wrote:


Are you saying that simply running yum update on a Centos-5.1 system
will convert it to Centos-5.2, as and when that is released?


At this very moment, if I do yum update on my 5.1 home server, it 
tells me that it will get upgraded to 5.2 if I hit the Y key.


I won't do that yet, I need to be physically there to babysit it, there 
are way too many hacks and moving parts on that machine.


But yeah, in a nutshell, just do yum update and it will take you to 
the next version - 5.2


--
Florin Andrei

http://florin.myip.org/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Re: Re: CentOS 5.2 is here!

2008-06-24 Thread Les Mikesell

Florin Andrei wrote:

Timothy Murphy wrote:


Are you saying that simply running yum update on a Centos-5.1 system
will convert it to Centos-5.2, as and when that is released?


At this very moment, if I do yum update on my 5.1 home server, it 
tells me that it will get upgraded to 5.2 if I hit the Y key.


I won't do that yet, I need to be physically there to babysit it, there 
are way too many hacks and moving parts on that machine.


What I did last time around, and will probably repeat on critical machines:

  yum install yum-downloadonly  (if you haven't already)
  yum -y --downloadonly update  (can run unattended)

  yum upgrade  (babysit - but you don't have to wait for the download)
  reboot   (babysit)

--
  Les Mikesell
   [EMAIL PROTECTED]


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