Bug 9846

Summary: urpmq does not search by part of the name
Product: Mageia Reporter: Alejandro Vargas <alejandro.anv>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Normal CC: mageia
Version: 3   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: urpmi-7.25-1.mga3 CVE:
Status comment:

Description Alejandro Vargas 2013-04-24 09:44:18 CEST
In mageia 3 is very difficult to use the command-line urpm utils because it does not accept part of the names. It is needed to indicate the exact name and there is no way for finding it unles you use the gui



At mageia 2:

$ urpmq samba
No package named samba
The following packages contain samba: egroupware-sambaadmin, gadmin-samba, libsamba-hostconfig-devel, libsamba-hostconfig0, ...
You should use "-a" to use all of them

$ urpmq -a samba
egroupware-sambaadmin
gadmin-samba
libsamba-hostconfig-devel
libsamba-hostconfig0
libsamba-util-devel
libsamba-util0
mmc-web-samba
python-mmc-samba
samba-client
samba-common
samba-doc
samba-domainjoin-gui
samba-server
samba-swat
samba-winbind
samba4-client
samba4-common
samba4-devel
samba4-pidl
samba4-python
samba4-server
samba4-test




At mageia 3: 

$ urpmq samba
No package named samba

$ urpmq -a samba
No package named samba





Reproducible: 

Steps to Reproduce:
Alejandro Vargas 2013-04-24 09:45:15 CEST

Source RPM: urpmi-7.25-1.mga3.src.rpm => urpmi-7.25-1.mga3

Comment 1 James Kerr 2013-04-24 10:56:05 CEST
"urpmq --fuzzy", which will find  partial matches, is no longer the default.

As indicated in the changelog, the change was made in response to bug #2953

"* Tue Dec  4 2012 tv <tv> 7.13-1.mga3
+ Revision: 326599
- library speedups when looking up packages:
  o do not attempt fuzzy matching if not requested
- urpmq:
  o do not allow substring matching with --fuzzy (mga#2953)"
Comment 2 Sander Lepik 2013-04-24 12:04:53 CEST
Short version for "urpmq --fuzzy" is "urpmq -y". As that's by design I'll close this bug.

Status: NEW => RESOLVED
CC: (none) => sander.lepik
Resolution: (none) => WONTFIX