On 4/28/20 12:35 PM, Beartooth wrote:
On Tue, 28 Apr 2020 10:06:24 -0700, Samuel Sieb wrote:
On 4/28/20 9:14 AM, Beartooth wrote:
On Mon, 27 Apr 2020 14:12:49 -0700, Samuel Sieb wrote:
On Thu, 23 Apr 2020 20:43:36 +0200, Ćukasz Posadowski wrote:
Try: dnf --color=never install python3-pygame
I tried it, on all four machines. No joy. I rebooted them, and did another upgrade. Still no joy. I even tried "eval dnf" on one (Wow!), but that didn't help, either. :-{
I just tried it and it worked fine, no colors. You can also set it in your dnf.conf file. See "man dnf.conf" for details. You can adjust the colors there as well if that's your concern.
Well, I read "[MAIN] OPTIONS - COLORS" there (which I assume you mean); but I don't see how to get back to what I use, which is admittedly a little complicated. Please bear with me.
So are you trying to stop dnf from using colors or are you wanting to set your own? [...] If you want to change the colors it uses, then look in the man page for the options. e.g. "color_list_available_install"
Definitely the latter: change. I use those ten colors constantly. But I get :
# dnf install 'dnf command(color_list_available_install)' Last metadata expiration check: 1:54:16 ago on Tue 28 Apr 2020 12:16:10 PM EDT. No match for argument: dnf-command(color_list_available_install) Error: Unable to find a match: dnf-command(color_list_available_install) # dnf install 'dnf-command (color_list_available_install)' Last metadata expiration check: 1:55:14 ago on Tue 28 Apr 2020 12:16:10 PM EDT. No match for argument: dnf-command (color_list_available_install) Error: Unable to find a match: dnf-command (color_list_available_install) [root@localhost btth]# dnf color_list_available_install No such command: color_list_available_install. Please use /usr/bin/dnf -- help It could be a DNF plugin command, try: "dnf install 'dnf- command(color_list_available_install)'"
I've chewed and chewed on the above and several variant interpretations of it -- and I'm lost.
I have no idea what you're trying to do here. Open the /etc/dnf/dnf.conf file in an editor and add lines to set the colors. I don't know what the syntax is for the colors, but something like: color_list_available_downgrade=red color_list_available_install=green
Maybe hex codes like #129a44 would be accepted as well.