dnf with redirected output returns exit code 141

Solution Verified - Updated -

Issue

Redirecting outputs of commands like dnf update to a file can return exit code 141.

The system is (usually) registered to a Satellite or Capsule. If so, the Satellite does not get updated package profile after the transaction.

Environment

  • Red Hat Enterprise Linux 9
    • system usually registered to 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