DNF output in non-interactive terminal doesn't separate the 'arch' column correctly

Solution Unverified - Updated -

Issue

DNF, when not running/outputting inside an interactive terminal can mis-format the output due to not having any whitespace left between the architecture and the package version:

[root@lab-rhel8-1 user]# yum remove --assumeno bind-utils | grep -v fhoihf
Updating Subscription Management repositories.
Dependencies resolved.
================================================================================
 Package                  ArchVersion                               Repository                        Size
================================================================================
Removing:
 bind-utils               x86_6432:9.11.4-26.P2.el8                   @rhel-8-for-x86_64-appstream-rpms 1.4 M
Removing dependent packages:
 ipa-client               x86_644.8.0-10.module+el8.1.0+4107+4a66eb87 @rhel-8-for-x86_64-appstream-rpms 345 k
Removing unused dependencies:
 augeas-libs              x86_641.12.0-2.el8                          @rhel-8-for-x86_64-baseos-rpms    1.5 M
 autofs                   x86_641:5.1.4-35.el8                        @rhel-8-for-x86_64-baseos-rpms    4.0 M
 bind-libs                x86_6432:9.11.4-26.P2.el8                   @rhel-8-for-x86_64-appstream-rpms 267 k
 bind-libs-lite           x86_6432:9.11.4-26.P2.el8                   @rhel-8-for-x86_64-appstream-rpms 3.6 M
 bind-license             noarch32:9.11.4-26.P2.el8                   @rhel-8-for-x86_64-appstream-rpms 29 k
...

Environment

Red Hat Enterprise Linux 8

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