Upgrading Your Redhat Server.

Check your kernel release before upgrade.

uname -r

If run without any packages, update will update every currently installed package.

yum update

After the upgrade check the kernel release.

uname -r

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 distro-version changes, for example: upgrading from somelinux 8.0 to somelinux 9.

yum upgrade : Is the same as the update command with the –obsoletes flag set.

yum is an interactive, automated update program which can be used for maintaining systems.

Yum Options:

* install package1 [package2] [...]
* update [package1] [package2] [...]
* check-update
* upgrade [package1] [package2] [...]
* remove | erase package1 [package2] [...]
* list [...]
* info [...]
* provides | whatprovides feature1 [feature2] [...]
* clean [ packages | headers | metadata | cache | dbcache | all ]
* makecache
* groupinstall group1 [group2] [...]
* groupupdate group1 [group2] [...]
* grouplist [hidden]
* groupremove group1 [group2] [...]
* groupinfo group1 [...]
* search string1 [string2] [...]
* shell [filename]
* resolvedep dep1 [dep2] [...]
* localinstall rpmfile1 [rpmfile2] [...]
* localupdate rpmfile1 [rpmfile2] [...]
* deplist package1 [package2] [...]

FILES

/etc/yum.conf
/etc/yum/repos.d/
/etc/yum/pluginconf.d/
/var/cache/yum/

SEE ALSO

yum.conf (5)
http://linux.duke.edu/yum/
http://wiki.linux.duke.edu/YumFaq

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.