Peter Palfrader wrote:
Georg Bauhaus schrieb am Dienstag, dem 31. Mai 2005:
after an update today dselect reports that gnupg depends on
libusb-0.1-4. Possibly indirectly:
Depends: libbz2-1.0, libc6 (>= 2.3.2.ds1-4), libldap2 (>= 2.1.17-1),
zlib1g (>= 1:1.2.1), makedev (>= 2.3.1-13) | devfsd | hurd
Have you verified that this is actually the case? Just because GnuPG
depends and is linked against libusb doesn't mean that it requires USB
support to be present on the system or in the kernel.
Sorry, I should have been more precise:
(1) GnuPG "Depends:" on libusb as in dselect, and apt,
(2) /usr/bin/gpg requires lubusb-0.1.so.4 to run, see below.
So I guess that in a Debian system, by default no GnuPG tool cannot be
had without that library linked to all GnuPG programs?
(Out of couriosity, does one need the tool /usr/bin/gpg for
secured USB device handling?)
Trying standard installation (dselect won't install even when
overriding with Q):
# dpkg -i gnupg_1.4.1-1_i386.deb
(Reading database ... 129928 files and directories currently installed.)
Unpacking gnupg (from gnupg_1.4.1-1_i386.deb) ...
dpkg: dependency problems prevent configuration of gnupg:
gnupg depends on libusb-0.1-4 (>= 2:0.1.10a); however:
Package libusb-0.1-4 is not installed.
dpkg: error processing gnupg (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
gnupg
Now use force:
strudel:/tmp# dpkg --force-depends -i gnupg_1.4.1-1_i386.deb
(Reading database ... 129997 files and directories currently installed.)
Preparing to replace gnupg 1.4.1-1 (using gnupg_1.4.1-1_i386.deb) ...
Unpacking replacement gnupg ...
dpkg: gnupg: dependency problems, but configuring anyway as you request:
gnupg depends on libusb-0.1-4 (>= 2:0.1.10a); however:
Package libusb-0.1-4 is not installed.
Setting up gnupg (1.4.1-1) ...
Try it:
strudel:/tmp# gpg --version
gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared
object file: No such file or directory
strudel:/tmp#
To verify:
# ldd /usr/bin/gpg
libz.so.1 => /usr/lib/libz.so.1 (0x40025000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x40037000)
libreadline.so.5 => /lib/libreadline.so.5 (0x40046000)
libdl.so.2 => /lib/libdl.so.2 (0x40074000)
libusb-0.1.so.4 => not found
libc.so.6 => /lib/libc.so.6 (0x40077000)
libncurses.so.5 => /lib/libncurses.so.5 (0x401aa000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Georg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]