The "-y" or "--assumeyes" does not work with "satellite-maintain packages update" command on Red Hat Satellite 6 server.

Solution Verified - Updated -

Issue

  • Execution of the "satellite-maintain packages update -y" command halts for additional user confirmation as displayed below:

    # satellite-maintain packages update -y
    Running update packages in unlocked session
    ================================================================================
    Confirm update all is intentional: 
    
    WARNING: No specific packages to update were provided
    so we are going to update all available packages.
    It is recommended to update everything only as part of upgrade
    of the Satellite to the next version. 
    To Upgrade to next version use 'foreman-maintain upgrade'.
    
    NOTE: --assumeyes is not applicable for this check
    
    Do you want to proceed with update of everything regardless
    of the recommendations?, [y(yes), q(quit)]
    

Environment

  • Red Hat Satellite 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