Can yum display the amount of disk space needed for an update?

Solution Unverified - Updated -

Issue

  • When planning an update from an older release of RHEL 6 to a newer release of RHEL 6, is there a way to determine the amount of disk space required and whether enough is available? The amount of space is displayed during interactive use of the yum utility but is there a way to get this information as part of a scripted update?

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content