https://bugzilla.novell.com/show_bug.cgi?id=384412 User kkaempf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=384412#c7 --- Comment #7 from Klaus Kämpf <kkaempf@novell.com> 2008-04-30 04:06:53 MST --- (In reply to comment #5 from Michael Schroeder)
I don't thing 'zypper in' should search for capabilities, but just for packages matching the name. Going for capabilities is not what user's expect. You should use some other way to switch zypper into "capability" mode.
From a usability POV, I have to object. I do think that this behavior is very helpful. As you can see from the initial bug description, I used zypper to install a
package (cups-devel) mentioned as a requirement in a software 'readme'. The result from zypper suprised me, hence I reported this bug. Now image libcurl-devel would've not been installed. The ability to do a simple "zypper in curl-devel" is a huge usability plus. One can argue about the output from zypper in such a case (capability matches, but not package name). It could be silent, e.g.
zypper in curl-devel Installing libcurl-devel. Done.
or more verbose, e.g.
zypper in curl-devel No package named 'curl-devel' found. Package 'libcurl-devel' provides 'curl-devel', install this [YES/no] ?
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.