Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 1785361[details]
example output from dnf list installed
Description of problem:
After initial install of RHEL 8.4 on EC2 instance using RHEL official AMI ami-098bb5d92c8886ca1.
sudo to root
#dnf list installed. //the list of installed packages is displayed in black
#dnf upgrade
..... normal upgrade proceeds
#dnf list installed //the entire list of packages is listed in red.
Version-Release number of selected component (if applicable):
dnf version 4.4.2
How reproducible:
I've built 2 EC2 instances from the same AMI which installs 8.4 according to /etc/system-release
Steps to Reproduce:
1. Spin up EC2 using Red Hat Enterprise 8.0 AMI ami-098bb5d92c8886ca1
2. ssh in to ec2-user@xxxx
3. sudo -s
4. dnf list installed (all packages shows up in black)
5. dnf upgrade
6. dnf list installed (all packages show up in red)
Actual results:
See above
Expected results:
I would expect them to be listed in black. Also there is no documentation (that I can find) in man dnf, man 5 dnf.conf, man yum, man 5 yum.conf that explains exactly what red means.
Additional info:
If I first just select 1 package (e.g. dnf upgrade bash ) then do dnf list installed the bash package is displayed normally (in black). It is only after doing dnf upgrade which installed ~ 22 packages and upgraded the rest that dnf list installed always displays the package names in red. It would be nice to have the color scheme defined somewhere. Also if listing them in red is not a warning or alert, either no color, or something like green or blue would be a better color choice IMHO.
It looks like this is a difference between dnf v 4.09 and dnf v 4.42.
On a brand new installation dnf is v4.09 and dnf list installed shows all in black
# dnf upgrade dnf
#dnf --version 4.42
#dnf list installed shows all packages in red.
I don't know if this is a bug or a feature.
Ok so this is not a bug but a feature. If I might suggest, please put the default colors in the man pages for man 5 dnf.conf
e.g. rather than
color_list_installed_extra
color
Color of available.....
this would be much more helpful
color_list_installed_extra
color (default bold,red)
Color of available .....
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (dnf bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2022:2051
Created attachment 1785361 [details] example output from dnf list installed Description of problem: After initial install of RHEL 8.4 on EC2 instance using RHEL official AMI ami-098bb5d92c8886ca1. sudo to root #dnf list installed. //the list of installed packages is displayed in black #dnf upgrade ..... normal upgrade proceeds #dnf list installed //the entire list of packages is listed in red. Version-Release number of selected component (if applicable): dnf version 4.4.2 How reproducible: I've built 2 EC2 instances from the same AMI which installs 8.4 according to /etc/system-release Steps to Reproduce: 1. Spin up EC2 using Red Hat Enterprise 8.0 AMI ami-098bb5d92c8886ca1 2. ssh in to ec2-user@xxxx 3. sudo -s 4. dnf list installed (all packages shows up in black) 5. dnf upgrade 6. dnf list installed (all packages show up in red) Actual results: See above Expected results: I would expect them to be listed in black. Also there is no documentation (that I can find) in man dnf, man 5 dnf.conf, man yum, man 5 yum.conf that explains exactly what red means. Additional info: If I first just select 1 package (e.g. dnf upgrade bash ) then do dnf list installed the bash package is displayed normally (in black). It is only after doing dnf upgrade which installed ~ 22 packages and upgraded the rest that dnf list installed always displays the package names in red. It would be nice to have the color scheme defined somewhere. Also if listing them in red is not a warning or alert, either no color, or something like green or blue would be a better color choice IMHO.