On Tue, Dec 9, 2014 at 12:28 PM, Radek Holy <rh...@redhat.com> 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:
>
> [snip]

Hi,

I typically use 'yum upgrade' because I just want to make sure I have the
latest patches. Often, I will do 'yum --enablerepo=\* clean all' to ensure
I don't have stale metadata, first.
I also occasionally use 'yum distro-sync' to drop orphaned packages, and
rely heavily on plugins like "protectbase", "keys", "show-leaves",
"remove-with-leaves", and "fastestmirror".

I also sometimes use 'yum localinstall' to install specific packages with a
URL or filename (to install RPMfusion repos, for example), because I don't
want to see warnings about rpmdb modified outside of yum with using rpm
directly.

I frequently use 'yum list installed' to and wildcard patterns to the list
command to search for specific packages (because search tends to show
32-bit duplicates and I don't typically need the description, just the
package name, when searching).

In cloud init scripts I frequently use '-y' and '--skip-broken' to install
or upgrade specific sets of packages, because these scripts run
non-interactively and I want to upgrade some things even when I can't
upgrade everything. In my normal workstation environment, I typically only
run yum manually from the command-line and don't need these.

I have not yet tried dnf at all.


--
Christopher L Tubbs II
http://gravatar.com/ctubbsii
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to