Re: Fun with dnf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Once upon a time, David Cary Hart <dc.hart@xxxxxxxxxxxxxxxxxxxx> said:
> [dch@dch-reptile ~]$ dnf list available *google*
> Last metadata expiration check performed 1 day, 4:10:28 ago on Tue
> May 26 09:56:57 2015.
> Error: No matching Packages to list

What does "ls *google*" show?  Wildcards are expanded by the shell
before being passed as arguments to the command.  If you have a file in
your directory called google-foo for example, when you type "dnf list
available *google*", the shell expands that such that the command is run
as "dnf list available google-foo".  When there's no match (i.e.
*Google* wouldn't match a file called google-foo), the shell passes the
wildcards through.

Better to quote wildcards when you don't want the shell to expand them.
So, in your case, try:

   dnf list available "*google*"

-- 
Chris Adams <linux@xxxxxxxxxxx>
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux