On Wed, 12 Feb 2014 08:56:40 +0000, Frank Murphy wrote:
I can't remember,
but used "yum check-update"
return "no updates available",
if there was none.
"yum update" does that. "yum check-update" returns zero (False) if no
updates are available and non-zero (True), if updates are available.
[root@]# yum check-update
Loaded plugins: langpacks, local, versionlock
#repo checking snipped
[root@]#
# yum check-update && echo "no updates available"
Loaded plugins: auto-update-debuginfo, langpacks, refresh-packagekit
no updates available
#