rpm-ostree icon indicating copy to clipboard operation
rpm-ostree copied to clipboard

yumdnf: Make `yum install cowsay` just do it and not lecture

Open cgwalters opened this issue 2 years ago • 0 comments

Previously the design logic around yum install here was to try to encourage people to containerize and do things like install debug tools in a toolbox.

But, this lecture model lacks empathy. And more importantly, not every rpm-ostree based OS will want this. For now I commented out the code for this, I'm thinking we add an opt-in config file flag that allows enabling this mode.

(But, an issue right now is we only have a daemon config, not a client config file...and if you follow this, perhaps the config flag should actually be in /etc/dnf.conf...which we should really start reading...and that's a whole other ball of wax.)

So for now let's just make yum install cowsay do what the user asked for.

(Also, this makes more sense now that we correctly handle -y, which we didn't before)

cgwalters avatar Aug 05 '22 16:08 cgwalters