Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

install weixin.work.deepin failed on bullseye #30

Open
yjqg6666 opened this issue Sep 7, 2022 · 6 comments
Open

install weixin.work.deepin failed on bullseye #30

yjqg6666 opened this issue Sep 7, 2022 · 6 comments

Comments

@yjqg6666
Copy link

yjqg6666 commented Sep 7, 2022

SUMMARY | 问题概要

$ ll-cli install com.qq.weixin.work.deepin
install com.qq.weixin.work.deepin , please wait a few minutes...
message: app base:test base format err , errcode: 604

STEPS TO REPRODUCE | 复现步骤

  1. debian bullseye 所有包更新到最新版本
  2. 下载linglong https://github.com/linuxdeepin/linglong-hub/releases/download/1.3.3/debian_bullseye.tar.gz
  3. cd /tmp/linglong && tar xzvf debian*tar.gz && apt install ./debian_bullseye/ling*.deb
  4. 重启机器
  5. $ ll-cli install com.qq.weixin.work.deepin 试过root用户执行同样的错误。

OBSERVED RESULT | 观察到的结果

安装失败, 终端输出:
install com.qq.weixin.work.deepin , please wait a few minutes...
message: app base:test base format err , errcode: 604

EXPECTED RESULT | 期望的结果

安装成功

linglong/app in linglong version | 玲珑本身/玲珑软件

linglong: 1.3.3
app: 企业微信 appId: com.qq.weixin.work.deepin name: WeChat Work version: 4.0.0.6007 arch: x86_64 channel: linglong module: runtime

ADDITIONAL INFORMATION | 额外补充

  1. debian testing/bookworm 安装也会有相同的错误。

  2. 安装有以下报错 需要加上 xdg-utils的依赖。可以通过apt-file search xdg-mime查询获取提供这个命令文件的包。装上依赖后重新安装成功。系统回滚到安装前的状态,先装xdg-utils再装linlong*deb也是相同的报错。安装应该没有问题。
    /var/lib/dpkg/info/linglong-installer.postinst: line 2: xdg-mime: command not found
    dpkg: error processing package linglong-installer (--configure):
    installed linglong-installer package post-installation script subprocess returned error exit status 127

  3. /var/log/linglong 目录的 日志文件压缩包

  4. 参考 message: unknown err , errcode: -1 #27 , systemhelper服务正常运行中。

$ systemctl status deepin-linglong-SystemHelper.service
deepin-linglong-SystemHelper.service - Linglong dbus service
Loaded: loaded (/lib/systemd/system/deepin-linglong-SystemHelper.service; disabled; preset: enabled)
Active: active (running) since Wed 2022-09-07 10:08:24 +08; 7h ago
Main PID: 5541 (ll-system-helpe)
Tasks: 3 (limit: 18817)

@yjqg6666
Copy link
Author

yjqg6666 commented Sep 7, 2022

安装qq也是失败, 输出略有不同 errcode相同。

2022-09-07 14:25:48.601 [INFO ] : install linux.qq.com , please wait a few minutes...
2022-09-07 14:33:14.021 [ERROR] : message: installRuntime download runtime data err , errcode: 604

@yjqg6666
Copy link
Author

yjqg6666 commented Sep 7, 2022

$ strace -e trace=network ll-cli install com.qq.weixin.work.deepin

socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
install com.qq.weixin.work.deepin , please wait a few minutes...
message: app base:test base format err , errcode: 604
+++ exited with 255 +++

@yjqg6666
Copy link
Author

yjqg6666 commented Sep 7, 2022

$strings /usr/bin/ll-cli |grep 'base format err'

base format err

二进制文件中存在这个错误提示的字符串。
麻烦结合源码看一下是啥原因导致的失败。

@hqh2010
Copy link

hqh2010 commented Sep 8, 2022

你好,感谢反馈,这个是debian发行版com.qq.weixin.work.deepin对应的base包打包配置问题,后续会跟进处理。

@happyd0ggie
Copy link

happyd0ggie commented Jun 6, 2023

你好,感谢反馈,这个是debian发行版com.qq.weixin.work.deepin对应的base包打包配置问题,后续会跟进处理。

Fedora 38上安装遇到同样的错误提示消息
ll-cli install com.qq.weixin.work.deepin

install com.qq.weixin.work.deepin , please wait a few minutes...
com.qq.weixin.work.deepin is installing...
message: app base: base format err , errcode: 604

@happyd0ggie
Copy link

Ubuntu 22.04.2 上安装遇到同样的错误提示信息
ll-cli install com.qq.weixin.work.deepin

install com.qq.weixin.work.deepin , please wait a few minutes...
message: app base: base format err , errcode: 604

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants