I have centOS5.3 installed in the system. I have never updated it but now am planning to update. While doing "yum update", is there any possibility that the update might hamper the execution of any software/application installed on the system? Is there anything particular to note before updating the system?
On Tue, Oct 12, 2010 at 12:29 PM, Ritika Garg ritikagarg25@gmail.com wrote:
I have centOS5.3 installed in the system. I have never updated it but now am planning to update. While doing "yum update", is there any possibility that the update might hamper the execution of any software/application installed on the system? Is there anything particular to note before updating the system?
I haven't had any problems in updating CentOS 5.3 to 5.4 or even 5.5 directly. Although I normally use yum upgrade instead of yum update, but the process would probably be the same for both "yum update" and "yum upgrade" in this case.
On Tue, Oct 12, 2010 at 12:40 PM, Karanbir Singh mail-lists@karan.org wrote:
On 10/12/2010 11:33 AM, Rudi Ahlers wrote:
but the process would probably be the same for both "yum update" and "yum upgrade" in this case.
Just for completeness sake - 'upgrade' has been deprecated for a few years now.
- KB
oh, really? I didn't even know that...... Why is it still available then?
root@master1:[~]$ yum Loaded plugins: fastestmirror, priorities You need to give some command usage: yum [options] COMMAND
List of Commands:
-----snip---------
update Update a package or packages on your system upgrade Update packages taking obsoletes into account
On 10/12/2010 11:52 AM, Rudi Ahlers wrote:
Just for completeness sake - 'upgrade' has been deprecated for a few years now.
oh, really? I didn't even know that...... Why is it still available then?
One of the core focus for CentOS platform is to not break stuff for people - in this case you got a free win by the fact that the command still exists ( mostly as an alias ), so your scripts don't break. So the scripts you wrote way back when, continue to work without any user interface breakage.
- KB
From: Rudi Ahlers Rudi@SoftDux.com
On Tue, Oct 12, 2010 at 12:40 PM, Karanbir Singh mail-lists@karan.org wrote:
On 10/12/2010 11:33 AM, Rudi Ahlers wrote:
but the process would probably be the same for both "yum update" and "yum upgrade" in this case.
Just for completeness sake - 'upgrade' has been deprecated for a few years now.
oh, really? I didn't even know that...... Why is it still available then?
From the man page:
upgrade Is the same as the update command with the --obsoletes flag set.
JD
From: Ritika Garg ritikagarg25@gmail.com
I have centOS5.3 installed in the system. I have never updated it but now am planning to update. While doing "yum update", is there any possibility that the
update might hamper the execution of any software/application installed on the system? Is there anything particular to note before updating the system?
I think: yum clean all && yum update glibc* yum clean all && yum update yum* rpm* python* yum update"
And watch out for the .rpmsave or .rpmnew files...
JD
On 10/12/2010 11:29 AM, Ritika Garg wrote:
I have centOS5.3 installed in the system. I have never updated it but now am planning to update. While doing "yum update", is there any possibility that the update might hamper the execution of any software/application installed on the system? Is there anything particular to note before updating the system?
If you are not updating your machine on a regular basis, there will always be a long list of updates when you come around to running them. So make sure you check what repositories you have enabled, what packages are coming from where and what your upgrade process is going to be. Usually, doing a 'yum list updates' will tell you whats going to update - so study that list, and see if anything in there has an impact on your apps and how.
basically : make sure you know whats going to change, and where that change is going to come from.
if everything on your machine did not come from rpms / yum-repos : you might need to workout a plan to upgrade those components as well ( and maybe switch to using rpms for those )
- KB