Skip to main content
Home
badllama.com
  • Search
  • Log In

Redhat

Wed, 04/06/2011 - 23:23 by bchavet

RHEL4

List Available Updates

up2date --dry-run | sed -n '/solving RPM inter-dependencies/,/The following Packages were marked to be skipped by your configuration/p' | sed -n '/^$/,/^$/p' | sed -n 4~1p | sed '/^$/d' | awk '{print $1 " " $2 "-" $3 "-" $4}'

RHEL5

List Available Updates

yum -d 0 check-update | awk '{print $1 " " $2}'
Powered by Backdrop CMS