Hello,
Sam Morris a écrit :
Package: libpcsclite1
Version: 1.4.100-3
Severity: normal
Since apt now installs Recommended packages by default, I now have pcsd
installed even though I have no smart card reader:
$ aptitude why pcscd
i network-manager Depends wpasupplicant (>= 0.4.8)
i A wpasupplicant Depends libpcsclite1 (>= 1.4.99)
i A libpcsclite1 Recommends pcscd
Since network-manager is installed by default on Desktop machines, I
think the recommendation should be downgraded to a suggestion. The
policy manual states:
"This declares a strong, but not absolute, dependency.
The Recommends field should list packages that would be found
together with this one in all but unusual installations."
I think that only a fraction of the systems with libpcsclite1 installed
will actually have a smart card reader. :)
The Recommends: between libpcsclite1 and pcscd is right. You can't use
libpcsclite1 without pcscd.
The problem is the Depends: from wpasupplicant to libpcsclite1. If most
users do not have a smart card reader maybe wpasupplicant should use
libpcsclite1 is a different way.
One solution would be for wpasupplicant to dynamically load libpcsclite1
at run time using dlopen() only when needed. wpasupplicant could then
use a Suggests: libpcsclite1.
Unless you have a comment I will reassign the bug to the wpasupplicant
package.
Bye
--
Dr. Ludovic Rousseau