先在新立得里删除多余的deepin-wine开头的软件,说不定就可以了,有位大佬说了,Llinux一堆提醒警告啥的,不用理它。
我就是个普通桌面办公使用,不懂代码。呵呵!
不、需、要、奖、赏!
好的,我小肚了,我先试试
先在新立得里删除多余的deepin-wine开头的软件,说不定就可以了,有位大佬说了,Llinux一堆提醒警告啥的,不用理它。
我就是个普通桌面办公使用,不懂代码。呵呵!
不、需、要、奖、赏!
好的,我小肚了,我先试试
先在新立得里删除多余的deepin-wine开头的软件,说不定就可以了,有位大佬说了,Llinux一堆提醒警告啥的,不用理它。
我就是个普通桌面办公使用,不懂代码。呵呵!
不、需、要、奖、赏!
(base) hk-pc@hk-pc:~/.deepinwine/deepin-wine5-stable/bin$ deepin-wine
/usr/bin/deepin-wine: 45: /usr/bin/deepin-wine: /usr/lib/deepin-wine/wine: not found
(base) hk-pc@hk-pc:~/.deepinwine/deepin-wine5-stable/bin$ deepin-wine5
/usr/bin/deepin-wine5: 45: /usr/bin/deepin-wine5: /usr/lib/deepin-wine5/wine: not found
(base) hk-pc@hk-pc:~/.deepinwine/deepin-wine5-stable/bin$
大哥,我怀疑可能命令链接这里除了点问题,可以看下你的吗,我的deepin-wine和deepin-wine5命令有问题
先在新立得里删除多余的deepin-wine开头的软件,说不定就可以了,有位大佬说了,Llinux一堆提醒警告啥的,不用理它。
我就是个普通桌面办公使用,不懂代码。呵呵!
不、需、要、奖、赏!
麻烦,感谢帮助,我自己再想想办法,再次感谢
sudo dpkg -P $(sudo dpkg -l | grep deepin-wine | awk '{print $2}')
sudo apt install deepin-wine5
deepin-wine环境被搞乱了,重新装一下就好了
deepin-wine环境被搞乱了,重新装一下就好了
老哥,不行啊
Sending data...
正在设置 deepin-wine5-i386:i386 (5.0.16-1) ...
正在设置 deepin-wine5:i386 (5.0.16-1) ...
正在处理用于 man-db (2.8.5-2) 的触发器 ...
正在处理用于 libc-bin (2.28.12-1+eagle) 的触发器 ...
needrestart is being skipped since dpkg has failed
(base) hk-pc@hk-pc:~/.deepinwine$ ls
(base) hk-pc@hk-pc:~/.deepinwine$ "/opt/apps/com.qq.weixin.deepin/files/run.sh" -u %u
sh: 0: getcwd() failed: No such file or directory
shell-init:获取当前目录时出错: getcwd: 无法访问父目录:没有那个文件或目录
Run Deepin-WeChat 2.9.5.41deepin7 c:/Program Files/Tencent/WeChat/WeChat.exe -u %u
run Deepin-WeChat progress pid
(zenity:10346): GLib-GObject-CRITICAL **: 17:14:35.658: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
chdir:获取当前目录时出错: getcwd: 无法访问父目录:没有那个文件或目录
总用量 0
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 6 17:14 c: -> ../drive_c
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 6 17:05 com1 -> /dev/ttyS0
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 6 17:05 com2 -> /dev/ttyS1
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 6 17:05 com3 -> /dev/ttyS2
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 6 17:05 com4 -> /dev/ttyS3
lrwxrwxrwx 1 hk-pc hk-pc 8 5月 6 17:05 d:: -> /dev/sr0
lrwxrwxrwx 1 hk-pc hk-pc 11 5月 6 17:14 y: -> /home/hk-pc
lrwxrwxrwx 1 hk-pc hk-pc 1 5月 6 17:14 z: -> /
CallApp Deepin-WeChat c:/Program Files/Tencent/WeChat/WeChat.exe %u
Disable auto update
rm: 无法删除'/home/hk-pc/.deepinwine/Deepin-WeChat/drive_c/users/hk-pc/Application Data/Tencent/WeChat/All Users/config/configEx.ini': 没有那个文件或目录
2021年 05月 06日 星期四 17:14:35 CST:kill WeChat.exe block
cat: /proc/1338/maps: 权限不够
cat: /proc/1338/maps: 权限不够
cat: /proc/2991/maps: 权限不够
cat: /proc/2991/maps: 权限不够
cat: /proc/3011/maps: 权限不够
cat: /proc/3011/maps: 权限不够
2021年 05月 06日 星期四 17:14:35 CST:No wine process found
/home/hk-pc/.deepinwine/Deepin-WeChat/drive_c/Program Files/Tencent/WeChat
(base) hk-pc@hk-pc:~/.deepinwine$ env: “/home/hk-pc/.deepinwine/deepin-wine5-stable/bin/wine”: 没有那个文件或目录
^C
(base) hk-pc@hk-pc:~/.deepinwine$ deepin-wine5
sh: 0: getcwd() failed: No such file or directory
/usr/bin/deepin-wine5: 45: /usr/bin/deepin-wine5: /usr/lib/deepin-wine5/wine: not found
(base) hk-pc@hk-pc:~/.deepinwine$
我的是这样的
看起来腾讯会议这个包破损了,要不先把它卸载了?(虽然说不一定能解决你的问题)
看起来腾讯会议这个包破损了,要不先把它卸载了?(虽然说不一定能解决你的问题)
都卸载光了全安装还是不行,关键是deepin-wine5命令都跑不起来,/usr/lib/deepin-wine5/wine这个文件运行不起来
我已经放弃了,折腾几天了,看是换回win10还是重装系统,真的无力
都卸载光了全安装还是不行,关键是deepin-wine5命令都跑不起来,/usr/lib/deepin-wine5/wine这个文件运行不起来
我已经放弃了,折腾几天了,看是换回win10还是重装系统,真的无力
其实我都好久没用 wine 了
都卸载光了全安装还是不行,关键是deepin-wine5命令都跑不起来,/usr/lib/deepin-wine5/wine这个文件运行不起来
我已经放弃了,折腾几天了,看是换回win10还是重装系统,真的无力
这个是linux机制的锅。牵一发动全身。依赖这东西,全世界都头疼。你/home单独分区了吗?如果没有,的确有些麻烦。单独分区的话,倒是简单。只要重新安装系统的时候,只重装“/”根分区就可以了。
这个是linux机制的锅。牵一发动全身。依赖这东西,全世界都头疼。你/home单独分区了吗?如果没有,的确有些麻烦。单独分区的话,倒是简单。只要重新安装系统的时候,只重装“/”根分区就可以了。
大佬可以看出什么吗
(base) hk-pc@hk-pc:/usr/lib/deepin-wine5$ ./wine
bash: ./wine: 没有那个文件或目录
(base) hk-pc@hk-pc:/usr/lib/deepin-wine5$ ./wine-preloader
Usage: ./wine-preloader wine_binary [args]
(base) hk-pc@hk-pc:/usr/lib/deepin-wine5$ file
Usage: file [-bcCdEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding]
[--mime-type] [-e
[-m
file -C [-m
file [--help]
(base) hk-pc@hk-pc:/usr/lib/deepin-wine5$ file wine
wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=a6c8eb045ec7b216cc9da9174e71610eed04f8ca, stripped
(base) hk-pc@hk-pc:/usr/lib/deepin-wine5$ strings wine
/lib/ld-linux.so.2
libwine.so.1
__gmon_start__
wine_init_argv0_path
wine_exec_wine_binary
wine_dlsym
wine_mmap_add_reserved_area
wine_init
wine_get_build_id
libpthread.so.0
pthread_create
pthread_join
__errno_location
libc.so.6
_IO_stdin_used
exit
puts
getpid
putenv
getenv
stderr
setrlimit64
munmap
fwrite
fprintf
syscall
getrlimit64
__libc_start_main
__libc_csu_fini
_edata
__data_start
__libc_csu_init
_end
_fp_hw
__bss_start
wine_main_preload_info
GLIBC_2.1
GLIBC_2.0
GLIBC_2.2
WINE_1.0
$ORIGIN/.:/usr/lib/i386-linux-gnu/deepin-wine5
WVSQ
1h*
|j%j
|=|@
|-|@
Ph|@
|jPj
PPSj
UWVS
[^_]
--help
--version
epoll_create
WINELOADERNOEXEC
WINELOADER
wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
Please upgrade to a glibc with NPTL support.
wine: Your C library is too old. You need at least glibc 2.3 with NPTL support.
Warning: memory above 0x80000000 doesn't seem to be accessible.
Wine requires a 3G/1G user/kernel memory split to work properly.
wine: could not exec the wine loader
wine: failed to initialize: %s
Usage: wine PROGRAM [ARGUMENTS...] Run the specified program
wine --help Display this help and exit
wine --version Output version information and exit
;*2$"(
WINELOADERNOEXEC=1
.shstrtab
.interp
.note.ABI-tag
.note.gnu.build-id
.gnu.hash
.dynsym
.dynstr
.gnu.version
.gnu.version_r
.rel.dyn
.rel.plt
.init
.text
.fini
.rodata
.eh_frame_hdr
.eh_frame
.init_array
.fini_array
.dynamic
.got
.got.plt
.data
.bss
老哥,不行啊
Sending data...
正在设置 deepin-wine5-i386:i386 (5.0.16-1) ...
正在设置 deepin-wine5:i386 (5.0.16-1) ...
正在处理用于 man-db (2.8.5-2) 的触发器 ...
正在处理用于 libc-bin (2.28.12-1+eagle) 的触发器 ...
needrestart is being skipped since dpkg has failed
(base) hk-pc@hk-pc:~/.deepinwine$ ls
(base) hk-pc@hk-pc:~/.deepinwine$ "/opt/apps/com.qq.weixin.deepin/files/run.sh" -u %u
sh: 0: getcwd() failed: No such file or directory
shell-init:获取当前目录时出错: getcwd: 无法访问父目录:没有那个文件或目录
Run Deepin-WeChat 2.9.5.41deepin7 c:/Program Files/Tencent/WeChat/WeChat.exe -u %u
run Deepin-WeChat progress pid
(zenity:10346): GLib-GObject-CRITICAL **: 17:14:35.658: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
chdir:获取当前目录时出错: getcwd: 无法访问父目录:没有那个文件或目录
总用量 0
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 6 17:14 c: -> ../drive_c
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 6 17:05 com1 -> /dev/ttyS0
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 6 17:05 com2 -> /dev/ttyS1
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 6 17:05 com3 -> /dev/ttyS2
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 6 17:05 com4 -> /dev/ttyS3
lrwxrwxrwx 1 hk-pc hk-pc 8 5月 6 17:05 d:: -> /dev/sr0
lrwxrwxrwx 1 hk-pc hk-pc 11 5月 6 17:14 y: -> /home/hk-pc
lrwxrwxrwx 1 hk-pc hk-pc 1 5月 6 17:14 z: -> /
CallApp Deepin-WeChat c:/Program Files/Tencent/WeChat/WeChat.exe %u
Disable auto update
rm: 无法删除'/home/hk-pc/.deepinwine/Deepin-WeChat/drive_c/users/hk-pc/Application Data/Tencent/WeChat/All Users/config/configEx.ini': 没有那个文件或目录
2021年 05月 06日 星期四 17:14:35 CST:kill WeChat.exe block
cat: /proc/1338/maps: 权限不够
cat: /proc/1338/maps: 权限不够
cat: /proc/2991/maps: 权限不够
cat: /proc/2991/maps: 权限不够
cat: /proc/3011/maps: 权限不够
cat: /proc/3011/maps: 权限不够
2021年 05月 06日 星期四 17:14:35 CST:No wine process found
/home/hk-pc/.deepinwine/Deepin-WeChat/drive_c/Program Files/Tencent/WeChat
(base) hk-pc@hk-pc:~/.deepinwine$ env: “/home/hk-pc/.deepinwine/deepin-wine5-stable/bin/wine”: 没有那个文件或目录
^C
(base) hk-pc@hk-pc:~/.deepinwine$ deepin-wine5
sh: 0: getcwd() failed: No such file or directory
/usr/bin/deepin-wine5: 45: /usr/bin/deepin-wine5: /usr/lib/deepin-wine5/wine: not found
(base) hk-pc@hk-pc:~/.deepinwine$
sudo dpkg -P $(sudo dpkg -l | grep deepin-wine | awk '{print $2}')
sudo apt install deepin-wine5
运行上面两条命令,贴一下完整的日志,我看下哪个依赖有问题
这有一个安装wine6的方法,你试试
# 安装wine6
# 添加 32位支持
sudo dpkg --add-architecture i386
# 下载添加仓库密钥
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
# 添加仓库
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/debian/ buster main'
# 更新
sudo apt update
# 下载并安装缺少的依赖包
# libfaudio0:i386
https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/i386/libfaudio0_19.07-0~bionic_i386.deb
# libfaudio0:amd64
https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/amd64/libfaudio0_19.07-0~bionic_amd64.deb
# 安装wine
sudo apt install --install-recommends winehq-stable
# 配置
winecfg
看起来deepin的微信,QQ等都是用的自己的~/.deepinwine/deepin-wine-helper路径下的wine,跟系统安装的wine不是一个。
我虚拟机里新装的deepin20新系统里安装的wine相关的包就这几个。你装装试试(最好系统源用官方的,先别使第三方wine源):
apt install wine deepin-wine-plugin deepin-wine-plugin-virtual fonts-wine libkwineffects12 libwine:i386 wine32:i386
附上我的系统源信息:
root@kbox-PC:/home/kbox# cat /etc/apt/sources.list
## Generated by deepin-installer
deb [by-hash=force] https://community-packages.deepin.com/deepin/ apricot main contrib non-free
#deb-src https://community-packages.deepin.com/deepin/ apricot main contrib non-free
root@kbox-PC:/home/kbox# cat /etc/apt/sources.list.d/appstore.list
deb https://community-store-packages.deepin.com/appstore eagle appstore
root@kbox-PC:/home/kbox# cat /etc/apt/sources.list.d/printer.list
安装了之后还不行的话:
先rm -rf ~/.deepinwine, 再root用户在/opt/apps/com.qq.weixin.deepin/files/run.sh的第二行加入"set -x",用当前用户(非sudo非root)运行它 看看日志是什么。
正常情况下应该会重新创建出~/deepinwine目录。root用户执行apt install tree后当前用户执行
tree ~/.deepinwine/ -L 2
ls ~/.deepinwine/deepin-wine5-stable/bin/
看看输出什么。
如果正常创建出来了~/.deepinwine/deepin-wine-helper/run_v3.sh,同样的第二行加入"set -x",用当前用户运行/opt/apps/com.qq.weixin.deepin/files/run.sh 看看日志是什么。
env WINEPREFIX="/home/kbox/tempBottle" ~/.deepinwine/deepin-wine5-stable/bin/wine wineboot
看看输出什么
如果上上一步正常创建出来了~/.deepinwine/deepin-wine5-stable/bin/wine,执行
env WINEPREFIX="/home/kbox/tempBottle" ~/.deepinwine/deepin-wine5-stable/bin/wine wineboot
看看输出什么
运行:
$ sudo apt remove --purge --auto-remove wine* deepin-wine* && rm -rf ~/.wine ~/.deepinwine
$ /opt/apps/你的软件包名/files/run.sh
即可
因为deepin应用商店的每个wine版软件包自带了deepinwine, 第一次运行时,他会自动创建.deepinwine目录,并把相应包的wine容器和wine命令解压于此, 所以你不需安装额外的wine包, 你可以在$HOME/.deepinwine/deepin-wine5*/bin/ 中找到wine
可参考官方说明 Deepin-wine
大佬可以看出什么吗
(base) hk-pc@hk-pc:/usr/lib/deepin-wine5$ ./wine
bash: ./wine: 没有那个文件或目录
(base) hk-pc@hk-pc:/usr/lib/deepin-wine5$ ./wine-preloader
Usage: ./wine-preloader wine_binary [args]
(base) hk-pc@hk-pc:/usr/lib/deepin-wine5$ file
Usage: file [-bcCdEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding]
[--mime-type] [-e
[-m
file -C [-m
file [--help]
(base) hk-pc@hk-pc:/usr/lib/deepin-wine5$ file wine
wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=a6c8eb045ec7b216cc9da9174e71610eed04f8ca, stripped
(base) hk-pc@hk-pc:/usr/lib/deepin-wine5$ strings wine
/lib/ld-linux.so.2
libwine.so.1
__gmon_start__
wine_init_argv0_path
wine_exec_wine_binary
wine_dlsym
wine_mmap_add_reserved_area
wine_init
wine_get_build_id
libpthread.so.0
pthread_create
pthread_join
__errno_location
libc.so.6
_IO_stdin_used
exit
puts
getpid
putenv
getenv
stderr
setrlimit64
munmap
fwrite
fprintf
syscall
getrlimit64
__libc_start_main
__libc_csu_fini
_edata
__data_start
__libc_csu_init
_end
_fp_hw
__bss_start
wine_main_preload_info
GLIBC_2.1
GLIBC_2.0
GLIBC_2.2
WINE_1.0
$ORIGIN/.:/usr/lib/i386-linux-gnu/deepin-wine5
WVSQ
1h*
|j%j
|=|@
|-|@
Ph|@
|jPj
PPSj
UWVS
[^_]
--help
--version
epoll_create
WINELOADERNOEXEC
WINELOADER
wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
Please upgrade to a glibc with NPTL support.
wine: Your C library is too old. You need at least glibc 2.3 with NPTL support.
Warning: memory above 0x80000000 doesn't seem to be accessible.
Wine requires a 3G/1G user/kernel memory split to work properly.
wine: could not exec the wine loader
wine: failed to initialize: %s
Usage: wine PROGRAM [ARGUMENTS...] Run the specified program
wine --help Display this help and exit
wine --version Output version information and exit
;*2$"(
WINELOADERNOEXEC=1
.shstrtab
.interp
.note.ABI-tag
.note.gnu.build-id
.gnu.hash
.dynsym
.dynstr
.gnu.version
.gnu.version_r
.rel.dyn
.rel.plt
.init
.text
.fini
.rodata
.eh_frame_hdr
.eh_frame
.init_array
.fini_array
.dynamic
.got
.got.plt
.data
.bss
这只能说明你系统存在wine这个程序
Rankings
Popular Events
More
我本来想在deepin上装个魔兽试下,参考这个 https://bbs.deepin.org/zh/post/202339,wine游戏助手 里面好像是下载了一个新的wine,结果还是跑不起来,我就把这个 wine游戏助手卸载了,然后所有wine就起不来了,重装deepin-wine5、deepin-wine没有,删除.deepin-wine目录也没用
wine环境坏了,所有wine应用启动不了,重装微信试过、重装deepin-wine5也试过、删除.deepinwine目录下的微信工作目录也试过,都不行
跪求解决方案,大牛也可看做一个挑战,我愿给50意思一下,Q q 3292028193,可远程控制
只要解决了就行,不限于形势,如给命令、远程、第三方网页指南都行,加q拿qian
(base) hk-pc@hk-pc:~/.deepinwine$ rm -rf ~/.deepinwine/Deepin-WeChat/
(base) hk-pc@hk-pc:~/.deepinwine$ "/opt/apps/com.qq.weixin.deepin/files/run.sh" -u %u
Run Deepin-WeChat 2.9.5.41deepin7 c:/Program Files/Tencent/WeChat/WeChat.exe -u %u
run Deepin-WeChat progress pid
(zenity:39030): GLib-GObject-CRITICAL **: 14:35:26.314: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
总用量 0
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 5 14:35 c: -> ../drive_c
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 5 14:35 com1 -> /dev/ttyS0
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 5 14:35 com2 -> /dev/ttyS1
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 5 14:35 com3 -> /dev/ttyS2
lrwxrwxrwx 1 hk-pc hk-pc 10 5月 5 14:35 com4 -> /dev/ttyS3
lrwxrwxrwx 1 hk-pc hk-pc 8 5月 5 14:35 d:: -> /dev/sr0
lrwxrwxrwx 1 hk-pc hk-pc 11 5月 5 14:35 y: -> /home/hk-pc
lrwxrwxrwx 1 hk-pc hk-pc 1 5月 5 14:35 z: -> /
CallApp Deepin-WeChat c:/Program Files/Tencent/WeChat/WeChat.exe %u
Disable auto update
rm: 无法删除'/home/hk-pc/.deepinwine/Deepin-WeChat/drive_c/users/hk-pc/Application Data/Tencent/WeChat/All Users/config/configEx.ini': 没有那个文件或目录
2021年 05月 05日 星期三 14:35:26 CST:kill WeChat.exe block
cat: /proc/1402/maps: 权限不够
cat: /proc/1402/maps: 权限不够
cat: /proc/21716/maps: 权限不够
cat: /proc/21716/maps: 权限不够
cat: /proc/21767/maps: 权限不够
cat: /proc/21767/maps: 权限不够
2021年 05月 05日 星期三 14:35:26 CST:No wine process found
/home/hk-pc/.deepinwine/Deepin-WeChat/drive_c/Program Files/Tencent/WeChat
(base) hk-pc@hk-pc:~/.deepinwine$ env: “/home/hk-pc/.deepinwine/deepin-wine5-stable/bin/wine”: 没有那个文件或目录
^C
(base) hk-pc@hk-pc:~/.deepinwine$ ^C
(base) hk-pc@hk-pc:~/.deepinwine$