[Problem feedback] 求助:deepin-wine在Ubuntu-24.04/Debian-13运行报错
Tofloor
poster avatar
remyxo
deepin
2025-07-21 12:33
Author
各位大佬:
 
由于各种原因,暂时不能使用deepin做主力机,UOS的glibc库版本太低,很多应用需要glibc 2.36以上版本。因此,我想把deepin-wine6-stable移植到Ubuntu/Debian上,以运行云视讯等不支持Linux的应用,通过dpkg --info 查看依赖关系,需要安装以下deepin的包(从deepin/UOS下载):
deepin-elf-verify       
fonts-wqy-microhei
deepin-wine-helper
deepin-wine-runtime
deepin-wine6-stable  (deepin-wine8-stable、 deepin-wine10-stable,暂时未安装,云视讯基于deepin-wine6-stable打包)
另外,安装过程中发现还依赖libssl1.1、p7zip、p7zip-full等组件,都已经安装好。然后从deepin/UOS商店下来云视讯的wine包,拷贝到Debian/Ubuntu上安装并运行。
在Debian 12上,安装运行云视讯正常,自己打包的绿色软件也正常。但是,在Debian 13和Ubuntu 24.04上,安装deepin-wine和wine应用正常,运行应用都报错:解压失败。不管是官方打包的云视讯,还是自己打包的应用,都报相同的错误。
请大佬指点一下,问题在哪里,如何解决?谢谢!
 
手动运行安装路径下的run.sh,报如下错误:
$ /opt/apps/cn.10086.ipower.uc.deepin/files/run.sh
Don't use public dir
Run cn.10086.ipower.uc.deepin 3.16.0deepin4 c:/Program Files/ChinaMobile/Vilin/ViLin.exe
main return:  0
set info:  "启动" "1753067734"
waiting for cn.10086.ipower.uc.deepin window

7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
 64-bit locale=zh_CN.UTF-8 Threads:2 OPEN_MAX:1024

Scanning the drive for archives:
1 file, 85805338 bytes (82 MiB)                     

Extracting archive: /opt/apps/cn.10086.ipower.uc.deepin/files/files.7z
--
Path = /opt/apps/cn.10086.ipower.uc.deepin/files/files.7z
Type = 7z
Physical Size = 85805338
Headers Size = 16186
Method = LZMA2:24 BCJ
Solid = +
Blocks = 2

  2% 145dtk.dguihelper: Process is started: pid= 3735 arguments= ("/opt/deepinwine/tools/deepin-wine-banner", "start", "1753067734")
dtk.dguihelper: New instance: pid= 3758 arguments= ("/opt/deepinwine/tools/deepin-wine-banner", "unpack")
slotNewProcessInstance 3758 ("/opt/deepinwine/tools/deepin-wine-banner", "unpack")
set info:  "解压" "1753067734"
"cn.10086.ipower.uc.deepin"  is running
main return:  2
ERROR: Dangerous symbolic link path was ignored : dosdevices/c: : ../drive_c
ERROR: Dangerous link path was ignored : dosdevices/com1 : /dev/ttyS0
... ...
ERROR: Dangerous link path was ignored : dosdevices/com9 : /dev/ttyS8
ERROR: Dangerous link path was ignored : dosdevices/y: : /home/uos
ERROR: Dangerous link path was ignored : dosdevices/z: : /
                                                                            
Sub items Errors: 35

Archives with Errors: 1

Sub items Errors: 35
dtk.dguihelper: Process is started: pid= 3735 arguments= ("/opt/deepinwine/tools/deepin-wine-banner", "start", "1753067734")
"cn.10086.ipower.uc.deepin"  is running
dtk.dguihelper: New instance: pid= 3775 arguments= ("/opt/deepinwine/tools/deepin-wine-banner", "info", "解压失败")
slotNewProcessInstance 3775 ("/opt/deepinwine/tools/deepin-wine-banner", "info", "解压失败")
main return:  2
p7zip及p7zip-full也已经安装:
 
Debian 12的内核:6.1,        -- 运行正常
Debian 13的内核:6.12,      -- 运行失败
Ubuntu 24.04的内核:6.11    -- 运行失败
 
感谢大佬!
 
Reply Favorite View the author
All Replies
remyxo
deepin
2025-07-21 12:39
#1

尽管不推荐把deepin-wine安装到其他系统上用,但目前暂时只能这样,求帮助!🤝

Reply View the author
pzm9012
Moderator
2025-07-21 12:59
#2

试一下wine运行器呢(不过有段时间没更新了)https://bbs.deepin.org.cn/post/275418

Reply View the author
HualetWang
deepin
2025-07-21 14:06
#3
Reply View the author
流浪的加菲
deepin
2025-07-21 16:14
#4

这是在做wine的Debian/Ubuntu移植吗,可以出个教程不,哈哈applaud

Reply View the author
remyxo
deepin
2025-07-21 16:20
#5
流浪的加菲

这是在做wine的Debian/Ubuntu移植吗,可以出个教程不,哈哈applaud

哈哈,问题解决了我总结一下。

Reply View the author
wayne
deepin
2025-07-21 16:41
#6

你可以对比试下通过7z a 命令压缩一个有软连接的目录,然后通过7z x 解压是不是报同样的问题

Reply View the author
remyxo
deepin
2025-07-21 16:50
#7
wayne

你可以对比试下通过7z a 命令压缩一个有软连接的目录,然后通过7z x 解压是不是报同样的问题

基本确认应该是这个问题。

ERROR: Dangerous symbolic link path was ignored : dosdevices/c: : ../drive_c

这是deepseek的解释:
image.png

dosdevices/c: 不能通过相对路径映射到 ../drive_c,而必须是/home/user_name/.deepinwine/wine_bottle/drive_c,或者$WINEPRFIX/drive_c

但我不知道怎么解决,应该是打包工具来解决吧?

Reply View the author
wayne
deepin
2025-07-21 16:54
#8
remyxo

基本确认应该是这个问题。

ERROR: Dangerous symbolic link path was ignored : dosdevices/c: : ../drive_c

这是deepseek的解释:
image.png

dosdevices/c: 不能通过相对路径映射到 ../drive_c,而必须是/home/user_name/.deepinwine/wine_bottle/drive_c,或者$WINEPRFIX/drive_c

但我不知道怎么解决,应该是打包工具来解决吧?

这个 AI 是自己臆想的。和软连接的目标没有关系,你随便写个软连接执行这个过程应该都有问题。

你查下 7zip SUPPORT_LINKS 关键字相关的信息

之前有遇到过类似问题,但不是切换内核引入的。

Reply View the author
remyxo
deepin
2025-07-21 16:57
#9
wayne

这个 AI 是自己臆想的。和软连接的目标没有关系,你随便写个软连接执行这个过程应该都有问题。

你查下 7zip SUPPORT_LINKS 关键字相关的信息

之前有遇到过类似问题,但不是切换内核引入的。

$ 7z x /opt/apps/cn.10086.ipower.uc.deepin/files/files.7z 
 
7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
 64-bit locale=zh_CN.UTF-8 Threads:2 OPEN_MAX:1024
 
Scanning the drive for archives:
1 file, 85805338 bytes (82 MiB)                     
 
Extracting archive: /opt/apps/cn.10086.ipower.uc.deepin/files/files.7z
--
Path = /opt/apps/cn.10086.ipower.uc.deepin/files/files.7z
Type = 7z
Physical Size = 85805338
Headers Size = 16186
Method = LZMA2:24 BCJ
Solid = +
Blocks = 2
 
ERROR: Dangerous symbolic link path was ignored : dosdevices/c: : ../drive_c
ERROR: Dangerous link path was ignored : dosdevices/com1 : /dev/ttyS0
ERROR: Dangerous link path was ignored : dosdevices/com10 : /dev/ttyS9
ERROR: Dangerous link path was ignored : dosdevices/com11 : /dev/ttyS10
ERROR: Dangerous link path was ignored : dosdevices/com12 : /dev/ttyS11
ERROR: Dangerous link path was ignored : dosdevices/com13 : /dev/ttyS12
ERROR: Dangerous link path was ignored : dosdevices/com14 : /dev/ttyS13
ERROR: Dangerous link path was ignored : dosdevices/com15 : /dev/ttyS14
ERROR: Dangerous link path was ignored : dosdevices/com16 : /dev/ttyS15
ERROR: Dangerous link path was ignored : dosdevices/com17 : /dev/ttyS16
ERROR: Dangerous link path was ignored : dosdevices/com18 : /dev/ttyS17
ERROR: Dangerous link path was ignored : dosdevices/com19 : /dev/ttyS18
ERROR: Dangerous link path was ignored : dosdevices/com2 : /dev/ttyS1
ERROR: Dangerous link path was ignored : dosdevices/com20 : /dev/ttyS19
ERROR: Dangerous link path was ignored : dosdevices/com21 : /dev/ttyS20
ERROR: Dangerous link path was ignored : dosdevices/com22 : /dev/ttyS21
ERROR: Dangerous link path was ignored : dosdevices/com23 : /dev/ttyS22
ERROR: Dangerous link path was ignored : dosdevices/com24 : /dev/ttyS23
ERROR: Dangerous link path was ignored : dosdevices/com25 : /dev/ttyS24
ERROR: Dangerous link path was ignored : dosdevices/com26 : /dev/ttyS25
ERROR: Dangerous link path was ignored : dosdevices/com27 : /dev/ttyS26
ERROR: Dangerous link path was ignored : dosdevices/com28 : /dev/ttyS27
ERROR: Dangerous link path was ignored : dosdevices/com29 : /dev/ttyS28
ERROR: Dangerous link path was ignored : dosdevices/com3 : /dev/ttyS2
ERROR: Dangerous link path was ignored : dosdevices/com30 : /dev/ttyS29
ERROR: Dangerous link path was ignored : dosdevices/com31 : /dev/ttyS30
ERROR: Dangerous link path was ignored : dosdevices/com32 : /dev/ttyS31
ERROR: Dangerous link path was ignored : dosdevices/com4 : /dev/ttyS3
ERROR: Dangerous link path was ignored : dosdevices/com5 : /dev/ttyS4
ERROR: Dangerous link path was ignored : dosdevices/com6 : /dev/ttyS5
ERROR: Dangerous link path was ignored : dosdevices/com7 : /dev/ttyS6
ERROR: Dangerous link path was ignored : dosdevices/com8 : /dev/ttyS7
ERROR: Dangerous link path was ignored : dosdevices/com9 : /dev/ttyS8
ERROR: Dangerous link path was ignored : dosdevices/y: : /home/uos
ERROR: Dangerous link path was ignored : dosdevices/z: : /
                                                                            
Sub items Errors: 35
 
Archives with Errors: 1
 
Sub items Errors: 35
$ echo $?
2
 
Reply View the author
remyxo
deepin
2025-07-21 17:02
#10
wayne

这个 AI 是自己臆想的。和软连接的目标没有关系,你随便写个软连接执行这个过程应该都有问题。

你查下 7zip SUPPORT_LINKS 关键字相关的信息

之前有遇到过类似问题,但不是切换内核引入的。

上面是Ubuntu 24.04执行解压的输出,返回错误码2;
下面是Debian 12执行解压输出,返回0(没有错误!)
$ 7z x /opt/apps/cn.10086.ipower.uc.deepin/files/files.7z 

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (806EC),ASM,AES-NI)

Scanning the drive for archives:
1 file, 85805338 bytes (82 MiB)                     

Extracting archive: /opt/apps/cn.10086.ipower.uc.deepin/files/files.7z
--
Path = /opt/apps/cn.10086.ipower.uc.deepin/files/files.7z
Type = 7z
Physical Size = 85805338
Headers Size = 16186
Method = LZMA2:24 BCJ
Solid = +
Blocks = 2

Everything is Ok                                                          

Folders: 145
Files: 1408
Size:       343000487
Compressed: 85805338
$ echo $?
0
Reply View the author
remyxo
deepin
2025-07-21 17:07
#11
wayne

这个 AI 是自己臆想的。和软连接的目标没有关系,你随便写个软连接执行这个过程应该都有问题。

你查下 7zip SUPPORT_LINKS 关键字相关的信息

之前有遇到过类似问题,但不是切换内核引入的。

看了一下几个系统7z的版本:

Debian 12 ,比较老:16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21

UOS v20, 比较老:16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21

deepin 25,比较老:16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21

Ubuntu 24.04,比较新:23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20

Debian 13,比较新:24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29

新版本的7z可能会更关注安全问题,基本可以确认是7z版本问题。

通过将Debian 12上的~/.deepinwine/cn.10086.ipower.uc.deepin目录下的内容打包拷贝到Ubuntu 24.04机器上,手动解压缩后,云视讯运行起来了(只是偶尔会报错,跟其它系统的兼容性还有待提升)

Reply View the author
Beyond_the_limits
deepin
2025-07-22 16:24
#12
remyxo

看了一下几个系统7z的版本:

Debian 12 ,比较老:16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21

UOS v20, 比较老:16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21

deepin 25,比较老:16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21

Ubuntu 24.04,比较新:23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20

Debian 13,比较新:24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29

新版本的7z可能会更关注安全问题,基本可以确认是7z版本问题。

通过将Debian 12上的~/.deepinwine/cn.10086.ipower.uc.deepin目录下的内容打包拷贝到Ubuntu 24.04机器上,手动解压缩后,云视讯运行起来了(只是偶尔会报错,跟其它系统的兼容性还有待提升)

Ubuntu24和Debian13下,装个16.02版本的7z解压缩工具,是不是也可以解决呢?如果可以,以后类似的软件安装运行,就不用每次都从别的系统拷贝了

Reply View the author
remyxo
deepin
2025-07-22 17:24
#13
Beyond_the_limits

Ubuntu24和Debian13下,装个16.02版本的7z解压缩工具,是不是也可以解决呢?如果可以,以后类似的软件安装运行,就不用每次都从别的系统拷贝了

是的,我在新的帖子里说了。

Reply View the author
zccrs
deepin
2025-07-24 09:41
#14

感觉你不如反过来,用玲珑解决在deepin上运行不起来的需要2.36 glibc的软件。

Reply View the author
zccrs
deepin
2025-07-24 09:42
#15

不过 deepin 25 的glibc是2.38了,不能用吗?

Reply View the author