Bug 2465

Summary: urpmq does not find all pidgin packages
Product: Mageia Reporter: Ilyés Zoltán <zoltan.ilyes>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WONTFIX QA Contact:
Severity: major    
Priority: Normal CC: davidwhodgins, misc
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Ilyés Zoltán 2011-08-20 00:56:18 CEST
Description of problem:
When I search for pidgin with urpmq ( urpmq -a pidgin ), it does show oly one package: pidgin. Howerver, rpmdrake shows 12 packages, which has pidgin in their name.

Version-Release number of selected component (if applicable):

urpq v 6.40

How reproducible:
Always

Steps to Reproduce:
1. search for pidgin with urpmq ( from command line )
2.
3.
Comment 1 Ilyés Zoltán 2011-08-20 00:57:33 CEST
Sorry, typo: it is urpmq v6.40 instead urpq v 6.40
Comment 2 Dave Hodgins 2011-08-20 02:33:55 CEST
That's normal, when there is an exact match.  To see all of the pidgin
packages using urpmq, just drop one letter off of the name.

$ urpmq -a pidgi|wc -l
12

CC: (none) => davidwhodgins

Comment 3 Manuel Hiebel 2011-08-20 08:40:58 CEST
or you can use urpmq -ya 

(I close to invalid, feel free to reopen if it's a real issue ;) )

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 4 Ilyés Zoltán 2011-08-20 19:20:22 CEST
  I think that the issue is that the poor user, who is not Mageia/Mandriva experienced one, does not know about this. 
  In all the other distributions, at least the ones that I tried the behavior was that the search displays all the packages which contains in their name the searched string.
  The poor user, which is just trying Mageia and has installed for a week only (for example), and does not have time to read the documentation for two days, just wants to use the distribution, why should be able to know that if he wants to know about pidgin plugins, needs to search for "pidgi", not for "pidgin". I don't see the logic here.

Status: RESOLVED => REOPENED
Resolution: INVALID => (none)

Comment 5 Manuel Hiebel 2011-08-20 20:41:38 CEST
did you try urpmq -y
Comment 6 Manuel Hiebel 2011-08-20 20:42:09 CEST
arf, again, did you try urpmq -ya pidgin ?
Comment 7 Ilyés Zoltán 2011-08-20 23:36:23 CEST
Yes, I tried, shows all pidgin packages. I reopened the bug because I think the current urpmq search behavior is not optimal.
Comment 8 Michael Scherer 2011-08-21 00:53:51 CEST
If a user didn't have time to read documentation, he would not know urpmq exist. If user do read documentation only partially, there is nothing we can do for that. 

And urpmq is not equivalent to apt-get search or yum search, because both tools search for more than the package name ( ie in summary ). The equivalent tool for gentoo ( eix ) is forced to search by match, because package are prefixed by their category, and would not be useful otherwise. 

Urpmq is here to query urpmi database, and should show the same thing as if we used urpmi. So if urpmi install just pidgin, urpmq pidgin should only show pidgin too.

Status: REOPENED => RESOLVED
CC: (none) => misc
Resolution: (none) => WONTFIX

Comment 9 Ilyés Zoltán 2011-08-21 13:06:04 CEST
Ok, I am not a Mageia maintainer/developer, so I accept this behavior and adapt to it.