Any arguments for keeping Yum case-sensitive?

Chris Adams cmadams at hiwaay.net
Fri Mar 11 14:33:45 UTC 2011


Once upon a time, Dotan Cohen <dotancohen at gmail.com> said:
> This is the only good point made against case insensitivity so far.

IIRC this started with someone trying to install a perl module.  The
best way to do that is not to try to guess the package name (since those
follow the tarball names, which don't always exactly match the module
name), but to request exactly the desired module:

# yum install 'perl(Some::Module)'

At that point, case insensitivity is wrong because perl is not case
insensitive for modules.  You match the module name exactly and you get
the right package.

For package installation, yum should be precise, and it is (you should
get what you ask for, not something that may be close).  For package
searching (e.g. "yum list foo"), the rules are relaxed, because yum is
just trying to show you possible matches, and guess what: it is ALREADY
case insensitive!

-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


More information about the users mailing list