Poll: How users use DNF

Miroslav Suchý msuchy at redhat.com
Thu Dec 11 16:15:25 UTC 2014

On 12/09/2014 06:28 PM, Radek Holy wrote:
> Dear users of YUM and DNF,
> I'm writing to you regarding a request for your feedback. I would be very grateful if you could send me a brief description of how you use YUM or DNF currently or how would you like to use it. I am particularly interested in the occurrences of "dnf/yum install" calls in your scripts. What does these scripts do and what do they expect when they call the "install" command in different situations?
> Please share with me the use cases, not the description of the "install" command. Think twice before you share something because I believe it's not as easy as it might seem. As an example I think it might be something like:
> - "I call YUM install, because I want to get given packages into my system and I don't care whether it requires an upgrade or downgrade or what." or
> - "I want to get them there but it should protect me against dangerous operations like downgrades" or
> - "I often make typos, so I expect that the program knows what I mean" or
> - "it would be nice if it would literally perform the installation; if any of the packages cannot be installed because of any reason, it should fail".
> Not something like: "that's obvious that the install command should never downgrade packages".
> Please focus on *use cases*. The *real* (non-hypothetical) use cases. Not on the command's name as it might also result in a new command (while preserving the well-known install command together with an appropriate behaviour).
> I don't mind if you send it offlist (or to another list). I think there is no need to comment on anyone's use case. Every case is valid. Just not every case can be supported.
> Thank you very much in advance.

I quite often start new instances from images in Cloud (either OpenStack or EC2) and do "yum upgrade". But because root
partition is very limited (e.g. 3GB) and "yum upgrade" needs XX MB of additional space I need to manually run:
  yum install foo
  yum install bar
with several packages, which does not have too much deps and repeat it until
  yum upgrade
finally fit the free space.

If I can have "dnf upgrade-in-chunks" I would be very happy.

Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys

More information about the devel mailing list