Re: Yum/dnf Search Functionality

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

 



Allegedly, on or about 26 June 2014, Stephen Morris sent:
> neither yum nor dnf, both of which give the same results, 
> didn't suggest to try a further search, but I would have thought that
> as a minimum they would have searched installed packages first. It is 
> completely illogical to me for a product to do a search for specified 
> functionality and not tell you that functionality is provided by 
> something you already have installed. 

For what it's worth, it searches the yum database for matches.  The yum
database contains information on all packages, installed, or not.  If
the database hasn't been recently cached (the definition of recent can
be configured by you), then it will update the cache, first.

I'm currently booted up on an older installation, but when I did "yum
search music" it returned a list of applications that have some *music*
keyword in some of their metadata.  And, the last line of the results
said:

 Name and summary matches only, use "search all" for everything.

And the results included things I have installed, those these results
don't indicate whether its results are uninstalled, or installed.  If
you did a subsequent yum info packagename, on anything that caught your
interest, that would show whether it was installed (in this example, the
"repo" line either shows where you can get it from, or that it's
installed).

Then I did a test to search for something that will produce no results,
I tried the following command line, and got the following results:

 yum search giraffe
Loaded plugins: langpacks, presto, refresh-packagekit
Warning: No matches found for: giraffe
No Matches found

I'm surprised that it didn't tag on the use search all message.  Perhaps
it would be good if it falls back on doing yum search all, for you, if
there was no results.  Though, that could be a nuisance, in itself.

-- 
[tim@localhost ~]$ uname -rsvp
Linux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27 UTC 2013 x86_64

All mail to my mailbox is automatically deleted, there is no point
trying to privately email me, I will only read messages posted to the
public lists.

George Orwell's '1984' was supposed to be a warning against tyranny, not
a set of instructions for supposedly democratic governments.



-- 
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