用ubuntu的时候提示报错,打开之后就一直提示服务未完全启动:
然后重启也没用,好像缺少qt组件还是什么,这个怎么解决呢?
root@VM-0-10-ubuntu:~# dpkg -i /root/aTrustInstaller_amd64.deb
Selecting previously unselected package cn.com.sangfor.atrust.
(Reading database ... 180515 files and directories currently installed.)
Preparing to unpack .../root/aTrustInstaller_amd64.deb ...
all argv install 2.5.16.30 2.5.16.30
[2026-03-15 23:53:30] [Infor] first install, tray need not auto launch
[2026-03-15 23:53:30] [Infor] preinst start...
[2026-03-15 23:53:30] [Infor] current script path:/var/lib/dpkg/tmp.ci
Linux VM-0-10-ubuntu 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
[2026-03-15 23:53:30] [Infor] preinst end install init...
[2026-03-15 23:53:30] [Infor] preinst start system detect...
[2026-03-15 23:53:30] [Infor] preinst end system detect with type:ubuntu,version:...
[2026-03-15 23:53:30] [Infor] export envs start...
[2026-03-15 23:53:30] [Infor] get dispaly_id: error..., will use :0 as default
[2026-03-15 23:53:30] [Error] get user_uid: error...
/var/lib/dpkg/tmp.ci/preinst: line 126: /.pam_environment: No such file or directory
[2026-03-15 23:53:30] [Infor] preinst start stop atrust process:uem_dialog...
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/share/sangfor/aTrust/resources/lib" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
[2026-03-15 23:53:30] [Infor] preinst end stop atrust process:uem_dialog...
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
/var/lib/dpkg/tmp.ci/preinst: line 271: /usr/share/sangfor/aTrust/resources/shell/aTrustTrayStart.sh: No such file or directory
[2026-03-15 23:53:30] [Infor] preinst start stop atrust process:aTrustTray...
[2026-03-15 23:53:30] [Infor] preinst end stop atrust process:aTrustTray...
[2026-03-15 23:53:30] [Infor] preinst start stop atrust process:aTrustAgent...
[2026-03-15 23:53:30] [Infor] preinst end stop atrust process:aTrustAgent...
/var/lib/dpkg/tmp.ci/preinst: line 235: [: : integer expression expected
[2026-03-15 23:53:30] [Infor] preinst start stop atrust service...
[2026-03-15 23:53:30] [Infor] preinst end stop atrust service...
[2026-03-15 23:53:30] [Infor] preinst start stop atrust iptables...
[2026-03-15 23:53:30] [Infor] preinst end stop atrust iptables-legacy:0...
[2026-03-15 23:53:30] [Infor] prerm end stop atrust iptables-legacy:0...
[2026-03-15 23:53:30] [Infor] preinst end stop atrust ip6tables-legacy:0...
[2026-03-15 23:53:30] [Infor] preinst end stop atrust ip6tables-legacy:0...
[2026-03-15 23:53:30] [Infor] preinst end...
Unpacking cn.com.sangfor.atrust (2.5.16.30) ...
Setting up cn.com.sangfor.atrust (2.5.16.30) ...
all argv configure 2.5.16.30
[2026-03-15 23:53:41] [Infor] postinst start...
[2026-03-15 23:53:41] [Infor] bash /var/lib/dpkg/info/cn.com.sangfor.atrust.create_dir >> /root/.aTrust/logs/aTrustInstallOut.log 2>&1
[2026-03-15 23:53:41] [Infor] start setup sangfor cert...
[2026-03-15 23:53:41] [Infor] end setup sangfor cert...
[2026-03-15 23:53:41] [Infor] postinst start system detect...
[2026-03-15 23:53:41] [Infor] postinst end system detect with type:ubuntu,version:22.04...
[2026-03-15 23:53:41] [Infor] libstdc++6 in system is 12.3.0-1ubuntu1~22.04.3, higher than 8.3, will delete lib in package.
[2026-03-15 23:53:41] [Infor] skip modify desktop
[2026-03-15 23:53:41] [Infor] postinst start get atrust installer name...
awk: 命令行:1: 警告: 正则表达式中的转义序列“\�”不是有效的操作符
[2026-03-15 23:53:41] [Infor] get cmdline:/root/aTrustInstaller_amd64.deb
[2026-03-15 23:53:41] [Infor] postinst end get atrust installer name:aTrustInstaller_amd64.deb...
[2026-03-15 23:53:41] [Infor] postinst start change authority...
[2026-03-15 23:53:41] [Infor] postinst end change authority...
[2026-03-15 23:53:41] [Infor] postinst start change uem authority...
[2026-03-15 23:53:41] [Infor] postinst end change uem authority...
[2026-03-15 23:53:41] [Infor] postinst start parse info...
ln: 无法创建符号链接 '/usr/share/applications/cn.com.sangfor.atrust.desktop' -> '': 没有那个文件或目录
cp: 对 '/tmp/aTrustInstaller_key.txt' 调用 stat 失败: 没有那个文件或目录
cp: 对 '/tmp/aTrustInstaller_key.txt' 调用 stat 失败: 没有那个文件或目录
[2026-03-15 23:53:41] [Infor] postinst end parse info...
awk: 致命错误: 无法打开文件“/home/ubuntu/.config/user-dirs.dirs”进行读取:没有那个文件或目录
[2026-03-15 23:53:41] [Infor] get ubuntu desktop path
cp: 在 '/usr/share/applications/cn.com.sangfor.atrust.desktop' 后缺少要操作的目标文件
请尝试执行 "cp --help" 来获取更多信息。
chown: 无法访问 '/cn.com.sangfor.atrust.desktop': 没有那个文件或目录
chmod: 无法访问 '/cn.com.sangfor.atrust.desktop': 没有那个文件或目录
[2026-03-15 23:53:41] [Error] chmod 755 /cn.com.sangfor.atrust.desktop failed
[2026-03-15 23:53:41] [Infor] cp /usr/share/applications/cn.com.sangfor.atrust.desktop to
awk: 致命错误: 无法打开文件“/home/ubuntu/.config/user-dirs.dirs”进行读取:没有那个文件或目录
[2026-03-15 23:53:41] [Infor] get ubuntu desktop path
cp: 在 '/usr/share/applications/cn.com.sangfor.atrust.desktop' 后缺少要操作的目标文件
请尝试执行 "cp --help" 来获取更多信息。
chown: 无法访问 '/cn.com.sangfor.atrust.desktop': 没有那个文件或目录
chmod: 无法访问 '/cn.com.sangfor.atrust.desktop': 没有那个文件或目录
[2026-03-15 23:53:41] [Error] chmod 755 /cn.com.sangfor.atrust.desktop failed
[2026-03-15 23:53:41] [Infor] cp /usr/share/applications/cn.com.sangfor.atrust.desktop to
[2026-03-15 23:53:41] [Infor] upgrade database config for dir: /usr/share/sangfor/.aTrust/database
[2026-03-15 23:53:41] [Infor] /usr/share/sangfor/aTrust/resources/bin/ConfigUpgrade -d /usr/share/sangfor/.aTrust/database
init log file `ConfigUpgrade.log` begin
log isn't inited.[ConfigUpgrade][getUserHomePath:375]pw_name:root,pw_dir:/root
/root
log dir:/root/.aTrust/logs log name:ConfigUpgrade.log
chmod -R 666 "/root/.aTrust/logs/ConfigUpgrade.log"
log debug file path:/usr/share/sangfor/.aTrust/debug
initLogName success
[I] <MMKV.cpp:165::initialize> version v1.2.13, page size 4096, arch x86_64
[I] <MMKV.cpp:207::initializeMMKV> root dir: /usr/share/sangfor/.aTrust/database/sdpEntity
[I] <MMKV.cpp:234::mmkvWithID> prepare to load aTrustSpaPersistence (id aTrustSpaPersistence) from rootPath /usr/share/sangfor/.aTrust/database/sdpEntity
[I] <MemoryFile.cpp:97: pen> open fd[0x6], /usr/share/sangfor/.aTrust/database/sdpEntity/aTrustSpaPersistence
[I] <MemoryFile.cpp:97: pen> open fd[0x8], /usr/share/sangfor/.aTrust/database/sdpEntity/aTrustSpaPersistence.crc
[I] <MMKV_IO.cpp:81::loadFromFile> loading [aTrustSpaPersistence] with 0 actual size, file size 4096, InterProcess 1, meta info version:0
[I] <MMKV_IO.cpp:130::loadFromFile> loaded [aTrustSpaPersistence] with 0 key-values
[I] <MMKV_IO.cpp:1051::clearAll> cleaning all key-values from [aTrustSpaPersistence]
[I] <MMKV_IO.cpp:1058::clearAll> nothing to clear for [aTrustSpaPersistence]
[I] <MMKV.cpp:207::initializeMMKV> root dir: /usr/share/sangfor/.aTrust/database
[I] <MMKV.cpp:234::mmkvWithID> prepare to load SdpcHistory (id SdpcHistory) from rootPath /usr/share/sangfor/.aTrust/database
[I] <MemoryFile.cpp:97: pen> open fd[0x9], /usr/share/sangfor/.aTrust/database/SdpcHistory
[I] <MemoryFile.cpp:97: pen> open fd[0xa], /usr/share/sangfor/.aTrust/database/SdpcHistory.crc
[I] <MMKV_IO.cpp:81::loadFromFile> loading [SdpcHistory] with 0 actual size, file size 4096, InterProcess 1, meta info version:0
[I] <MMKV_IO.cpp:130::loadFromFile> loaded [SdpcHistory] with 0 key-values
[2026-03-15 23:53:41] [Infor] upgrade database config done
[2026-03-15 23:53:41] [Infor] config dmidecode tool
/var/lib/dpkg/info/cn.com.sangfor.atrust.postinst: 第 212 行: [: : 需要整数表达式
[2026-03-15 23:53:41] [Infor] postinst start add atrust service...
[2026-03-15 23:53:42] [Infor] postinst end add atrust service...
[2026-03-15 23:53:42] [Infor] postinst end...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
root@VM-0-10-ubuntu:~# |