Вот сейчас я сделал на сборке КриптоПро CSP 3.6 R4 7777.
Мой пример:
./install.sh
...
.....
.......
Uninstalling lsb-cprocsp-devel-64...
dpkg-query: package 'lsb-cprocsp-devel-64' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Uninstalling lsb-cprocsp-devel...
dpkg-query: package 'lsb-cprocsp-devel' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Uninstalling lsb-cprocsp-base-64...
dpkg-query: package 'lsb-cprocsp-base-64' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Uninstalling lsb-cprocsp-base...
dpkg-query: package 'lsb-cprocsp-base' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Installing lsb-cprocsp-base-3.6.1-4.noarch.rpm...
dpkg --no-force-overwrite -i lsb-cprocsp-base_3.6.1-4_all.deb
Selecting previously unselected package lsb-cprocsp-base.
(Reading database ... 168531 files and directories currently installed.)
Unpacking lsb-cprocsp-base (from lsb-cprocsp-base_3.6.1-4_all.deb) ...
Setting up lsb-cprocsp-base (3.6.1-4) ...
/etc/init.d/cprocsp: $network <_io.TextIOWrapper name='/var/lib/lsb/depends' mode='w' encoding='UTF-8'>
Adding system startup for /etc/init.d/cprocsp ...
/etc/rc0.d/K49cprocsp -> ../init.d/cprocsp
/etc/rc1.d/K49cprocsp -> ../init.d/cprocsp
/etc/rc6.d/K49cprocsp -> ../init.d/cprocsp
/etc/rc2.d/S11cprocsp -> ../init.d/cprocsp
/etc/rc3.d/S11cprocsp -> ../init.d/cprocsp
/etc/rc4.d/S11cprocsp -> ../init.d/cprocsp
/etc/rc5.d/S11cprocsp -> ../init.d/cprocsp
Processing triggers for ureadahead ...
Installing lsb-cprocsp-rdr-64...
dpkg --no-force-overwrite -i lsb-cprocsp-rdr-64_3.6.1-4_amd64.deb
Selecting previously unselected package lsb-cprocsp-rdr-64.
(Reading database ... 168712 files and directories currently installed.)
Unpacking lsb-cprocsp-rdr-64 (from lsb-cprocsp-rdr-64_3.6.1-4_amd64.deb) ...
Setting up lsb-cprocsp-rdr-64 (3.6.1-4) ...
Adding new reader:
Nick name: FLASH
Name device: FLASH
Succeeded, code:0x0
Installing lsb-cprocsp-capilite-64...
dpkg --no-force-overwrite -i lsb-cprocsp-capilite-64_3.6.1-4_amd64.deb
Selecting previously unselected package lsb-cprocsp-capilite-64.
(Reading database ... 168750 files and directories currently installed.)
Unpacking lsb-cprocsp-capilite-64 (from lsb-cprocsp-capilite-64_3.6.1-4_amd64.deb) ...
Setting up lsb-cprocsp-capilite-64 (3.6.1-4) ...
Installing lsb-cprocsp-kc1-64...
dpkg --no-force-overwrite -i lsb-cprocsp-kc1-64_3.6.1-4_amd64.deb
Selecting previously unselected package lsb-cprocsp-kc1-64.
(Reading database ... 168798 files and directories currently installed.)
Unpacking lsb-cprocsp-kc1-64 (from lsb-cprocsp-kc1-64_3.6.1-4_amd64.deb) ...
Setting up lsb-cprocsp-kc1-64 (3.6.1-4) ...
Installing cprocsp-rdr-gui-64...
dpkg --no-force-overwrite -i cprocsp-rdr-gui-64_3.6.1-4_amd64.deb
Selecting previously unselected package cprocsp-rdr-gui-64.
(Reading database ... 168809 files and directories currently installed.)
Unpacking cprocsp-rdr-gui-64 (from cprocsp-rdr-gui-64_3.6.1-4_amd64.deb) ...
Setting up cprocsp-rdr-gui-64 (3.6.1-4) ...
libXm.so.3 => not found
Warning: Unresolved dependencies.
You probably need to install motif package
from network or it might be in extras on CSP CD.
Try 'apt-get install libmotif3' or 'apt-get install openmotif'
or 'yum install openmotif' or 'zypper install openmotif'.
If you have a newer version of libmotif you can try
'ln -s /usr/lib64/libXm.so /usr/lib64/libXm.so.3'
or
'ln -s /usr/X11R6/lib64/libXm.so /usr/lib64/libXm.so.3'
See manual for details.
dpkg: error processing cprocsp-rdr-gui-64 (--install):
subprocess installed post-installation script returned error exit status 8
Errors were encountered while processing:
cprocsp-rdr-gui-64
Unable to install at /usr/share/perl5/Alien/Package/Deb.pm line 92, <GETPERMS> line 10.
find cprocsp-rdr-gui-64-3.6.1 -type d -exec chmod 755 {} ;
rm -rf cprocsp-rdr-gui-64-3.6.1
Installation failed. LSB package may not be installed.
Install LSB package and reinstall CryptoPro CSP. If it does not help, please
read installation documentation or contact the manufacturer:
support@cryptopro.ru.
root@ubuntu:~/Desktop/linux-amd64# apt-get install ccid
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ccid
root@ubuntu:~/Desktop/linux-amd64# apt-get install pcscd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libccid
Suggested packages:
systemd
The following NEW packages will be installed:
libccid pcscd
0 upgraded, 2 newly installed, 0 to remove and 218 not upgraded.
1 not fully installed or removed.
Need to get 180 kB of archives.
After this operation, 518 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1
http://us.archive.ubuntu.com/ubuntu/ saucy/universe libccid amd64 1.4.12-1 [117 kB]
Get:2
http://us.archive.ubuntu.com/ubuntu/ saucy/universe pcscd amd64 1.8.6-3ubuntu1b1 [63.5 kB]
Fetched 180 kB in 11s (15.7 kB/s)
Selecting previously unselected package libccid.
(Reading database ... 168822 files and directories currently installed.)
Unpacking libccid (from .../libccid_1.4.12-1_amd64.deb) ...
Selecting previously unselected package pcscd.
Unpacking pcscd (from .../pcscd_1.8.6-3ubuntu1b1_amd64.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up cprocsp-rdr-gui-64 (3.6.1-4) ...
libXm.so.3 => not found
Warning: Unresolved dependencies.
You probably need to install motif package
from network or it might be in extras on CSP CD.
Try 'apt-get install libmotif3' or 'apt-get install openmotif'
or 'yum install openmotif' or 'zypper install openmotif'.
If you have a newer version of libmotif you can try
'ln -s /usr/lib64/libXm.so /usr/lib64/libXm.so.3'
or
'ln -s /usr/X11R6/lib64/libXm.so /usr/lib64/libXm.so.3'
See manual for details.
dpkg: error processing cprocsp-rdr-gui-64 (--configure):
subprocess installed post-installation script returned error exit status 8
Setting up libccid (1.4.12-1) ...
Setting up pcscd (1.8.6-3ubuntu1b1) ...
Processing triggers for ureadahead ...
Errors were encountered while processing:
cprocsp-rdr-gui-64
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ubuntu:~/Desktop/linux-amd64# apt-get install pcsc-lite
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@ubuntu:~/Desktop/linux-amd64# alien -kci cprocsp-rdr-pcsc-64-3.6.1-4.x86_64.rpm
dpkg --no-force-overwrite -i cprocsp-rdr-pcsc-64_3.6.1-4_amd64.deb
Selecting previously unselected package cprocsp-rdr-pcsc-64.
(Reading database ... 168853 files and directories currently installed.)
Unpacking cprocsp-rdr-pcsc-64 (from cprocsp-rdr-pcsc-64_3.6.1-4_amd64.deb) ...
Setting up cprocsp-rdr-pcsc-64 (3.6.1-4) ...
root@ubuntu:~/Desktop/linux-amd64# alien -kci ifd-rutokens-1.0.1-1.x86_64.rpm
dpkg --no-force-overwrite -i ifd-rutokens_1.0.1-1_amd64.deb
Selecting previously unselected package ifd-rutokens.
(Reading database ... 168864 files and directories currently installed.)
Unpacking ifd-rutokens (from ifd-rutokens_1.0.1-1_amd64.deb) ...
Setting up ifd-rutokens (1.0.1-1) ...
root@ubuntu:~/Desktop/linux-amd64# alien -kci cprocsp-rdr-rutoken-64-3.6.1-4.x86_64.rpm
dpkg --no-force-overwrite -i cprocsp-rdr-rutoken-64_3.6.1-4_amd64.deb
Selecting previously unselected package cprocsp-rdr-rutoken-64.
(Reading database ... 168877 files and directories currently installed.)
Unpacking cprocsp-rdr-rutoken-64 (from cprocsp-rdr-rutoken-64_3.6.1-4_amd64.deb) ...
Setting up cprocsp-rdr-rutoken-64 (3.6.1-4) ...
root@ubuntu:~/Desktop/linux-amd64# /etc/init.d/pcscd restart
* Restarting PCSC Lite resource manager pcscd [ OK ]
root@ubuntu:~/Desktop/linux-amd64# /opt/cprocsp/bin/amd64/list_pcsc
available reader: Aktiv Co. Rutoken S 00 00
root@ubuntu:~/Desktop/linux-amd64# /opt/cprocsp/sbin/amd64/cpconfig -hardware reader -view
Nick name: Aktiv Co. Rutoken S 00 00
Connect name:
Reader name: All PC/SC readers
Nick name: FLASH
Connect name:
Reader name: FLASH
Nick name: HDIMAGE
Connect name:
Reader name: ��������� ������� �� ������� ����
root@ubuntu:~/Desktop/linux-amd64# /opt/cprocsp/sbin/amd64/cpconfig -hardware media -view
Nick name: Rutoken
Connect name:
Media name: Rutoken
Nick name: RutokenLiteSC
Connect name:
Media name: Rutoken Lite SC
Nick name: RutokenLite
Connect name:
Media name: Rutoken lite
Nick name: RutokenECP
Connect name:
Media name: Rutoken ECP
Nick name: TRUSTD
Connect name:
Media name: Magistra Debug
Nick name: TRUSTS
Connect name:
Media name: Magistra SocCard
Nick name: TRUST
Connect name:
Media name: Magistra
Nick name: OSCAR2
Connect name: KChannel
Media name: �����
Nick name: OSCAR2
Connect name: CSP
Media name: ����� CSP 2.0
Nick name: OSCAR
Connect name:
Media name: ����
root@ubuntu:~/Desktop/linux-amd64# /opt/cprocsp/bin/amd64/list_pcsc
available reader: Aktiv Co. Rutoken S 00 00
root@ubuntu:~/Desktop/linux-amd64# /opt/cprocsp/sbin/amd64/cpconfig -hardware reader -add "Aktiv Co. Rutoken S 00 00"
Adding new reader:
Nick name: Aktiv Co. Rutoken S 00 00
Succeeded, code:0x0
root@ubuntu:~/Desktop/linux-amd64# /opt/cprocsp/sbin/amd64/cpconfig -hardware reader -view
Nick name: Aktiv Co. Rutoken S 00 00
Connect name:
Reader name: Aktiv Co. Rutoken S 00 00
Nick name: FLASH
Connect name:
Reader name: FLASH
Nick name: HDIMAGE
Connect name:
Reader name: ��������� ������� �� ������� ����
root@ubuntu:~/Desktop/linux-amd64# /opt/cprocsp/bin/amd64/csptest -oid -general
CSP (Type:75) v3.6.5365 KC1 Release Ver:3.6.7777 OS:Linux CPU:AMD64 FastCode:READY:AVX.
CryptAcquireContext succeeded.HCRYPTPROV: 36314771
Total:
[ErrorCode: 0x00000000]