Red Hat Bugzilla – Bug 366261
yum is only partially case-insensitive and therefore inconsistent
Last modified: 2014-01-21 18:00:40 EST
Description of problem:
Depending on the action yum is sometimes case sensitive and sometimes
in-sensitive. This is inconsistent and should be fixed to a state where yum is
either case in-sensitive in all cases or has a flag to be in-sensitive.
'yum info policykit' and 'yum search policykit' show information about the
package PolicyKit, 'yum install policykit' or 'yum provides policykit' however
both don't show any results.
The inconsistency is annoying and confusing. Also, the fact that the 'install'
and 'update' update options both are case sensitive is annoying by itself.
There are too many packages where a user simply can't know if there are
capital letters or not.
That is, in fact on purpose.
When you're searching for something you want to be as lax as possible about what
you accept so the user can find _something_.
when asked to take an action which will modify the system it's important to be
strict about what you accept so you don't accidentally do things that are unwanted.
search/info/list are types of searching - so case insensitive
install/update/remove are all system-modifying actions - case sensitive.