root@ksc:/tmp# apt install /tmp/ksc64_15.1.0-11795_amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'ksc64' instead of '/tmp/ksc64_15.1.0-11795_amd64.deb'
The following packages were automatically installed and are no longer required:
libestr0 libfastjson4 liblognorm5
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
ksc64
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/160 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /tmp/ksc64_15.1.0-11795_amd64.deb ksc64 amd64 15.1.0.11795 [160 MB]
Selecting previously unselected package ksc64.
(Reading database ... 88181 files and directories currently installed.)
Preparing to unpack .../ksc64_15.1.0-11795_amd64.deb ...
Pre install section...
Stopping klactprx_srv...
Stopping klnagent_srv...
Stopping kladminserver_srv...
Unpacking ksc64 (15.1.0.11795) ...
Setting up ksc64 (15.1.0.11795) ...
Post install section...
Traces off
Execute automatic installation
Fatal error: Server registration failed with code '3': 'Registering
kladminserver.
'
Fatal error: Setup script failed with code 2, signal 0.
Installation failed.
dpkg: error processing package ksc64 (--configure):
installed ksc64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
ksc64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Возможно, проблема в этом:
L1 KLERR: #1, Error was caught in void KLSTDSVC::ServiceCtrlImpl::Run(bool), /home/builder/a/c/d_00000000/s/product/osmp/ksc/dev/std/service/service_unix.cpp@711. Error params: (1198/0x0 ("Assertion "Administration Server registration FAILED. '#1950 Generic db error: "[22021]`ERROR: invalid byte sequence for encoding "UTF8": 0x00 `, LastStatement=`CREATE OR REPLACE FUNCTION "AK_CAST2BYTEA"( nVal NUMERIC) RETURNS BYTEA LANGUAGE plpgsql IMMUTABLE AS $$ DECLARE binRes BYTEA := '\x'; nTemp INTEGER; BEGIN IF nVal IS NULL THEN RETURN NULL; END IF; WHILE nVal > 0 LOOP nTemp:= nVal % 256; binRes := SET_BYTE(('\x00' || binRes), 0, nTemp); nVal := (nVal-nTemp)/256; END LOOP; RETURN binRes; END $$`"'" failed"), "KLSTD", /home/builder/a/c/d_00000000/s/product/osmp/ksc/dev/server/server/Server.cpp@1491) Error loc: ''.
Добрый день!
root@ksc:/tmp# cat /etc/os-release PRETTY_NAME="Astra Linux" NAME="Astra Linux" ID=astra ID_LIKE=debian ANSI_COLOR="1;31" HOME_URL="https://astralinux.ru" SUPPORT_URL="https://astralinux.ru/support" LOGO=astra VERSION_ID=1.8_x86-64 VERSION_CODENAME=1.8_x86-64root@ksc:/tmp# apt install /tmp/ksc64_15.1.0-11795_amd64.deb Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'ksc64' instead of '/tmp/ksc64_15.1.0-11795_amd64.deb' The following packages were automatically installed and are no longer required: libestr0 libfastjson4 liblognorm5 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: ksc64 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/160 MB of archives. After this operation, 0 B of additional disk space will be used. Get:1 /tmp/ksc64_15.1.0-11795_amd64.deb ksc64 amd64 15.1.0.11795 [160 MB] Selecting previously unselected package ksc64. (Reading database ... 88181 files and directories currently installed.) Preparing to unpack .../ksc64_15.1.0-11795_amd64.deb ... Pre install section... Stopping klactprx_srv... Stopping klnagent_srv... Stopping kladminserver_srv... Unpacking ksc64 (15.1.0.11795) ... Setting up ksc64 (15.1.0.11795) ... Post install section... Traces off Execute automatic installation Fatal error: Server registration failed with code '3': 'Registering kladminserver. ' Fatal error: Setup script failed with code 2, signal 0. Installation failed. dpkg: error processing package ksc64 (--configure): installed ksc64 package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: ksc64 E: Sub-process /usr/bin/dpkg returned an error code (1)Возможно, проблема в этом:
L1 KLERR: #1, Error was caught in void KLSTDSVC::ServiceCtrlImpl::Run(bool), /home/builder/a/c/d_00000000/s/product/osmp/ksc/dev/std/service/service_unix.cpp@711. Error params: (1198/0x0 ("Assertion "Administration Server registration FAILED. '#1950 Generic db error: "[22021]`ERROR: invalid byte sequence for encoding "UTF8": 0x00 `, LastStatement=`CREATE OR REPLACE FUNCTION "AK_CAST2BYTEA"( nVal NUMERIC) RETURNS BYTEA LANGUAGE plpgsql IMMUTABLE AS $$ DECLARE binRes BYTEA := '\x'; nTemp INTEGER; BEGIN IF nVal IS NULL THEN RETURN NULL; END IF; WHILE nVal > 0 LOOP nTemp:= nVal % 256; binRes := SET_BYTE(('\x00' || binRes), 0, nTemp); nVal := (nVal-nTemp)/256; END LOOP; RETURN binRes; END $$`"'" failed"), "KLSTD", /home/builder/a/c/d_00000000/s/product/osmp/ksc/dev/server/server/Server.cpp@1491) Error loc: ''.