Bug 8380

Summary: urpmq -a switch does not work
Product: Mageia Reporter: Derek Jennings <derekjenn>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: urpmi-7.13-1.mga3 CVE:
Status comment:
Bug Depends on: 2953    
Bug Blocks:    

Description Derek Jennings 2012-12-13 02:16:14 CET
mga3beta1
urpmi-7.13-1.mga3

When using urpmq -a to find a match on a string results are only returned for an exact match

For example
$urpmq -a apac
No package named apac
Comment 1 Thierry Vignaud 2012-12-13 10:11:46 CET
Due to fix for bug #2953, you now have to pass --fuzzy option.
I could make -a imply --auto though.
WDYT?

CC: (none) => thierry.vignaud
Depends on: (none) => 2953

Comment 2 claire robinson 2012-12-13 10:30:42 CET
I've noticed this in mga2 also Thierry

$ urpmq -a vlc
vlc
vlc
vlc
vlc
vlc
vlc

$ urpmq -a vlc-
lib64vlc-devel
libvlc-devel
phonon-vlc
svlc
vlc
vlc-plugin-aa
vlc-plugin-bonjour
vlc-plugin-common
vlc-plugin-dv
vlc-plugin-flac
vlc-plugin-fluidsynth
vlc-plugin-ggi
vlc-plugin-gme
vlc-plugin-gnutls
vlc-plugin-jack
vlc-plugin-kate
vlc-plugin-libass
vlc-plugin-libnotify
vlc-plugin-lirc
vlc-plugin-lua
vlc-plugin-mod
vlc-plugin-mpc
vlc-plugin-ncurses
vlc-plugin-opengl
vlc-plugin-projectm
vlc-plugin-pulse
vlc-plugin-schroedinger
vlc-plugin-sdl
vlc-plugin-shout
vlc-plugin-speex
vlc-plugin-svgalib
vlc-plugin-theora
vlc-plugin-twolame
vlc-plugin-upnp
vlc-plugin-zvbi
Comment 3 claire robinson 2012-12-13 10:33:03 CET
Mind you, adding --fuzzy does make it do a fuzzy search, which is sort of contradicting myself really.
Comment 4 claire robinson 2012-12-13 10:39:16 CET
> WDYT?

-a should probably be a fuzzy search imho
Comment 5 Derek Jennings 2012-12-13 14:21:08 CET
(In reply to comment #1)
> Due to fix for bug #2953, you now have to pass --fuzzy option.
> I could make -a imply --auto though.
> WDYT?

So what does the -a switch do now?  The man page says it returns " all matches on the command line"

How about making -a synonymous with -y so people expecting the old behaviour still get what they want?
Comment 6 Marja Van Waes 2015-04-16 22:31:24 CEST
Sorry, but this bug saw no action since over 2 yrs ago - no cauldron package has stayed the same - and is still assigned to Bug Squad.

Closing as OLD

Please reopen if this report is still valid for _current_ cauldron and/or fully
updated Mageia 4

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