Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu20.04安装企业微信缺少依赖- deepin-wine-helper #382

Open
Hsqstark opened this issue Apr 11, 2024 · 10 comments
Open

ubuntu20.04安装企业微信缺少依赖- deepin-wine-helper #382

Hsqstark opened this issue Apr 11, 2024 · 10 comments

Comments

@Hsqstark
Copy link

最开始是因为微信2.8的版本提示版本过低,账户无法登录,转用4.1版本。这个方案刚开始安装正常,23年后半年开始安装没有成功过。

系统:ubuntu20.04
内核:5.15.0-102-generic
问题现象:安装企业微信出现deepin-wine-helper依赖报错,这个环境已经遇到过多次。
使用脚本 wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
1、安装企业微信提示依赖deepin-wine-helper (>= 5.3.8-1)
sudo apt-get install com.qq.weixin.work.deepin -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
com.qq.weixin.work.deepin : Depends: deepin-wine-helper (>= 5.3.8-1) but it is not going to be installedE: Unable to correct problems, you have held broken packages.
2、安装deepin-wine-helper (>= 5.3.8-1)提示依赖
sudo apt install deepin-wine-helper
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
deepin-wine-helper : Depends: libdtkcore5 (>= 5.2.0) but it is not going to be installed
Depends: libdtkgui5 (>= 5.2.0) but it is not going to be installed
Depends: libdtkwidget5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
3、查看deepin-wine-helper完整依赖
sudo aptitude install deepin-wine-helper
The following NEW packages will be installed:
deepin-elf-verify{a} deepin-wine-helper libdouble-conversion3{a} libdtkcommon{a} libdtkcore5{ab}
libdtkdata{a} libdtkgui5{ab} libdtkwidget5{ab} libgsettings-qt1{a} libmng2{a} libpcre2-16-0{a}
libqt5core5a{a} libqt5dbus5{a} libqt5gui5{a} libqt5network5{a} libqt5printsupport5{a}
libqt5svg5{a} libqt5widgets5{a} libqt5x11extras5{a} libqt5xdgiconloader3{a} libqt5xml5{a}
libxcb-xinerama0{a} libxcb-xinput0{a} p7zip{a} p7zip-full{a} qt5-gtk-platformtheme{a}
qt5-image-formats-plugins{a} qttranslations5-l10n{a}
The following packages will be REMOVED:
chromium-codecs-ffmpeg-extra{u} gstreamer1.0-vaapi{u} libgstreamer-plugins-bad1.0-0{u}
libva-wayland2{u}
0 packages upgraded, 28 newly installed, 4 to remove and 8 not upgraded.
Need to get 15.3 MB of archives. After unpacking 60.2 MB will be used.
The following packages have unmet dependencies:
libdtkwidget5 : Depends: libqt5core5a (>= 5.15.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: libqt5dbus5 (>= 5.14.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: libqt5gui5 (>= 5.14.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed or
libqt5gui5-gles (>= 5.14.1) but it is not going to be installed
Depends: libqt5widgets5 (>= 5.15.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: qtbase-abi-5-15-8 which is a virtual package, provided by:
- libqt5core5a (5.15.8.1-1+dde), but 5.12.8+dfsg-0ubuntu2.1 is to be installed
- libqt5core5a (5.15.8-1+dde), but 5.12.8+dfsg-0ubuntu2.1 is to be installed

libdtkgui5 : Depends: libqt5core5a (>= 5.15.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: libqt5dbus5 (>= 5.14.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: qtbase-abi-5-15-8 which is a virtual package, provided by:
- libqt5core5a (5.15.8.1-1+dde), but 5.12.8+dfsg-0ubuntu2.1 is to be installed
- libqt5core5a (5.15.8-1+dde), but 5.12.8+dfsg-0ubuntu2.1 is to be installed

libdtkcore5 : Depends: libqt5core5a (>= 5.15.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: libqt5dbus5 (>= 5.14.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: qtbase-abi-5-15-8 which is a virtual package, provided by:
- libqt5core5a (5.15.8.1-1+dde), but 5.12.8+dfsg-0ubuntu2.1 is to be installed
- libqt5core5a (5.15.8-1+dde), but 5.12.8+dfsg-0ubuntu2.1 is to be installed

The following actions will resolve these dependencies:

 Keep the following packages at their current version:
  1. deepin-wine-helper [Not Installed]                 
    
  2. libdtkcore5 [Not Installed]                        
    
  3. libdtkgui5 [Not Installed]                         
    
  4. libdtkwidget5 [Not Installed]                      
    

处理方式:
1、尝试过换内核,换软件源更新安装失败
2、尝试使用https://packages.debian.org/逐个安装依赖包,各种依赖包交叉依赖,系统已有依赖包不满足版本要求,出现冲突系统环境被破坏,被迫重装系统
3、尝试用aptitude安装deepin-wine-helper,安装过程有报错,安装后启动企业微信慢,启动后立刻卡死

@zq1997
Copy link
Owner

zq1997 commented Apr 11, 2024

可能和不同源的优先级有关,存在些版本冲突

@Hsqstark
Copy link
Author

apititude有时候可以修复,但不是每次都可以解决。参考了同样问题的回复,使用星火作为替代方案也可以安装,但有时同样也会遇到依赖问题,区别处理。

@Hsqstark
Copy link
Author

apititude有时候可以修复,但不是每次都可以解决。参考了同样问题的回复,使用星火作为替代方案也可以安装,但有时同样也会遇到依赖问题,区别处理。

星火官网:https://www.spark-app.store/

@github68616208
Copy link

可以安装一下星火的那个20.04的依赖包,就可以解决此问题

@rangerzhou
Copy link

apititude有时候可以修复,但不是每次都可以解决。参考了同样问题的回复,使用星火作为替代方案也可以安装,但有时同样也会遇到依赖问题,区别处理。

星火官网:https://www.spark-app.store/

此方案可以安装,但是如何把图标从任务栏隐藏呢,感觉不太好用

@mingyang22
Copy link

找到一个办法,先安装一个旧的版本,登录会提示版本过低,这个时候再安装新版本,会报错:

dpkg: 依赖关系问题使得 com.qq.weixin.work.deepin 的配置工作不能继续:
com.qq.weixin.work.deepin 依赖于 deepin-wine-helper (>= 5.3.8-1);然而:
系统中 deepin-wine-helper:i386 的版本为 5.1.45-1。

但是这个时候你去运行是能运行起来的,我的是20.04

@yaobaishen
Copy link

可以安装一下星火的那个20.04的依赖包,就可以解决此问题

the spark store 20.04 dependencies download link is 404 now, how to get the deb file? thanks.

@Hsqstark
Copy link
Author

Hsqstark commented Jun 6, 2024

可以安装一下星火的那个20.04的依赖包,就可以解决此问题

the spark store 20.04 dependencies download link is 404 now, how to get the deb file? thanks.

try this.
https://gitee.com/spark-store-project/spark-store/releases/tag/4.2.10

@yaobaishen
Copy link

yaobaishen commented Jun 6, 2024

可以安装一下星火的那个20.04的依赖包,就可以解决此问题

the spark store 20.04 dependencies download link is 404 now, how to get the deb file? thanks.

try this. https://gitee.com/spark-store-project/spark-store/releases/tag/4.2.10

@Hsqstark thanks, but I can only find the spark-store install deb, not the dependencies package? I remember in some guidance that for Ubuntu 20.04 we need to install the dependencies first ?

@Hsqstark
Copy link
Author

Hsqstark commented Jun 6, 2024 via email

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

No branches or pull requests

6 participants