Bug 9846 - urpmq does not search by part of the name
Summary: urpmq does not search by part of the name
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-24 09:44 CEST by Alejandro Vargas
Modified: 2013-04-24 12:04 CEST (History)
1 user (show)

See Also:
Source RPM: urpmi-7.25-1.mga3
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.