-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dnf list --installed: wrong colors #2013
Comments
There is https://dnf.readthedocs.io/en/latest/conf_ref.html?highlight=color#main-options-colors. |
Thanks, I somehow missed the "default" part in there. I still don't get why all my installed packages are marked red when they work fine and I can update them just fine, but I guess it's okay as long as they work. Or is there anything we can do to try to solve this? |
I have looked into it more and you are correct, there is indeed a bug when running with the The problem is dnf is optimized to not even load information about available packages when the |
Thanks for digging into it, that makes sense. |
We have discussed this internally and the best solution we came up with would probably be to turn off the wrong colors in this case. However, given that our primary focus is dnf5 we will most likely not be fixing the issue. Contributions welcome though if anyone would be interested. |
We have a workaround:
So this sed invocation cut when yum have finished to print the first part. The cat is to avoid broken pipe error from dnf trying to write on a closed pipe. Also in the first part without The only thing missing is how to say to yum to not wrap (since it is not a pty it wrap at 80 so repository might get on another line and not visible so you need to do |
I've read that red packages mean that they are no longer available through any installed repo. However, on my machine, all packages listed under
dnf list --installed
appear red. Is there any piece of documentation on the colors?The text was updated successfully, but these errors were encountered: