On 03/02/16 15:10 -0800, Samuel Sieb wrote:
On 02/03/2016 02:28 PM, Felix Miata wrote:
Problem #3:
When running from say the /boot directory the same dnf command above:

        # dnf update kd*, kf*, q*, per*, pyt*, u*, v*, x* y*, z*

dnf reports cannot install package inityada, cannot install package vmliyada,
.... It ought to be smart enough not to try to install local files that are
not installation package files (e.g., those ending in .rpm or any other type
it might understand and support).

This is not something dnf can do anything about.

It *could* in theory. As Felix suggested in the text you quoted, it
could ignore any command-line arguments that are local files but are
not .rpm files, so that even when bash passes it a load of local files
it would ignore them.

That's a bad idea though, because if v* is expanded by the shell then
no packages starting with 'v' will get updated (instead local files
such as vmlinuz will be ignored because they aren't .rpm files). To
actually update packages starting with 'v' you need to quote/escape
the wildcards, and so if you need to do it for correct updates you
should just do it always, and not expect DNF to handle it.
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to