On Wed, Feb 3, 2016 at 6:10 PM, Samuel Sieb <sam...@sieb.net> 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.  Bash handles the
> globbing and passes the filenames to dnf.  That's why you should quote
> them.  Dnf doesn't know that you were using wildcards unless the glob
> doesn't match any filenames in which case bash will pass it on.  Once
> "vmlinuz" is on the command line to dnf, it can't know that you didn't mean
> that to be a package name.


More specifically, the command should be:

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

or you can backslash-escape each asterisk. On fish shell for example,
commands like these will simply fail if you forget to escape wildcards that
are not actually meant for the shell.


>
> --
> devel mailing list
> devel@lists.fedoraproject.org
> http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org
>
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to