Description of problem: urpmi -a option does not work Version-Release number of selected component (if applicable): urpmi-8.06-1.mga5 How reproducible: Steps to Reproduce: 1. # urpmq -ry plymouth-theme plymouth-theme-charge-0.8.6.1-13.mga5 plymouth-theme-fade-in-0.8.6.1-13.mga5 plymouth-theme-glow-0.8.6.1-13.mga5 plymouth-theme-script-0.8.6.1-13.mga5 plymouth-theme-solar-0.8.6.1-13.mga5 plymouth-theme-spinfinity-0.8.6.1-13.mga5 plymouth-theme-spinner-0.8.6.1-13.mga5 2. # rpm -qa | grep plymouth-theme 3. man urpmi -- go Package Selection -a If multiple packages match the given substring, install them all. 4. urpmi --help -a - kijelölés a parancssorban megadott minta szerint (hu) -a - according to selection of the sample command line (translate) 5. # urpmi -a plymouth-theme Nincs ilyen nevű csomag: plymouth-theme (There is no package with the same name: plymouth-theme) What happened to the -a option? Reproducible: Steps to Reproduce:
I'm not sure it's a bug in the way -a works, although it is indeed confusing. I think you need to add the -y switch to -a, but the man page does suggest we can use substrings. I think it's the man page that needs fixing. Assigning to maintainer.
Assignee: bugsquad => thierry.vignaud
It looks to the "-a" option of either not working elsewhere. $ rpm -q cle package cle is not installed $ rpm -qa cle $ rpm -qa cle* clementine-1.2.3-5.mga5 One partition is still there watching the mageia 1. I recall, as if it would have worked in other things. I'll check.
urpmi and rpm have totally separated implementations so there's nothing to compare here. By the way, behaviour in comment #2 seems perfectly normal to me.
Summary: urpmi -a option not work => urpmi -a option doesn't work? (might be expected behaviour actually)
I see this problem not addressed by anyone. :( urpmi -a - not work urpme -a - work
(In reply to Mészáros Csaba from comment #4) > I see this problem not addressed by anyone. :( > urpmi -a - not work > urpme -a - work I can confirm, but "urpmi -ya" does work, as stormi said. It is confusing, though: man urpmi > -y, --fuzzy > Disable fast search on exact package name; that means that urpmi will > propose all packages matching part of the name, even if one of them > matches exactly the specified name. > -a If multiple packages match the given substring, install them all. man urpme: > -a If multiple packages match the given substring, deinstall them all.
Summary: urpmi -a option doesn't work? (might be expected behaviour actually) => urpmi -a option doesn't work? (might be expected behaviour actually, but then the man page needs to be improved)CC: (none) => mageiatools, marja11Keywords: (none) => USABILITY
Assignee: thierry.vignaud => mageiatoolsCC: mageiatools => thierry.vignaudWhiteboard: (none) => MGA6TOOVersion: 5 => Cauldron
is this bug still valid ?
CC: (none) => mageia
Still valid in cauldron. Nothing has changed in how urpmi works, or the man page.
CC: (none) => davidwhodgins
Mageia 6.1 - it's still not working.
Mageia 7.1 - it's still not working.
Whiteboard: MGA6TOO => MGA7TOOSource RPM: urpmi => urpmi-8.123-1.mga8.src.rpm
Mageia 8 - Unfortunately, the man was still not fixed $ rpm -q urpmi urpmi-8.125-1.mga8 $ man urpmi | grep '\-a ' -a If multiple packages match the given substring, install them all.
Still nothing? :(
Priority: Normal => High
This seems to me like a documentation problem, especially for the man page but -a works (with or without -y). -a makes it install all packages that match the request instead of asking to pick one if there is more than one. If -y is used this will be all packages with that substring, if -y is not it will be all the packages which provide that exact name (unless -P is passed which disables searching in provides). For example "urpmi -a kernel" will install all possible kernels. The help says: -a - select all matches on command line. The man page says: -a If multiple packages match the given substring, install them all. The help is correct but not clear, the man page is wrong.
CC: (none) => pterjan
I tried to update the man page at https://gitweb.mageia.org/software/rpm/urpmi/commit/?id=411c99a99c18906d4204874a920980b9037c8658 Thierry, please you confirm this is correct. Others, please confirm this is clear or propose an improvement.