安装Wine遇到问题
Tofloor
poster avatar
今风
deepin
2020-03-16 03:59
Author
https://bbs.deepin.org/post/174295
按昭上面帖子,遇到问题,检查源也没发现问题。
Reply Favorite View the author
All Replies
avatar
o0******00@163.com
deepin
2020-03-16 04:30
#1
打开终端
sudo dpkg --add-architecture i386  回车
wget -nc https://dl.winehq.org/wine-builds/Release.key     回车
sudo apt-key add Release.key   回车
{deb https://dl.winehq.org/wine-builds/debian/ stretch main    这步是粘贴到 etc/apt/sources.list里   选中etc右键选--以管理员身份打开}
sudo apt update  回车
sudo apt install --install-recommends winehq-stable   回车  这个有点慢  
ok后
{把etc/apt/sources.list里 选中etc右键选--以管理员身份打开  删除sources.list里的
deb https://dl.winehq.org/wine-builds/debian/ stretch main
不删会增加机器负担。}
Reply View the author
avatar
今风
deepin
2020-03-16 05:07
#2
源添加的发地址,但还是无法定位。
Reply View the author
avatar
o0******00@163.com
deepin
2020-03-16 05:15
#3
把deb 前面的#去掉,保存退出。
Reply View the author
avatar
今风
deepin
2020-03-16 05:27
#4
https://bbs.deepin.org/post/189738
把deb 前面的#去掉,保存退出。

早就试过了,加不加#,都试了
Reply View the author
avatar
o0******00@163.com
deepin
2020-03-16 05:31
#5
https://bbs.deepin.org/post/189738
早就试过了,加不加#,都试了

etc/apt/sources.list   这一步  里面有vscode.list个文件  打开  把
deb https://dl.winehq.org/wine-builds/debian/ stretch main
复制到最后一行。
你这个sources.list 是什么文件。
Reply View the author
avatar
今风
deepin
2020-03-16 05:39
#6
wget -nc https://dl.winehq.org/wine-builds/Release.key   能下载,但就是不能定位
Reply View the author
avatar
o0******00@163.com
deepin
2020-03-16 05:41
#7
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
这两步是安装签发秘钥。能跑就行。
Reply View the author
avatar
今风
deepin
2020-03-16 06:04
#8
vscode.list是什么文件,sources.list  不是源文件吗??
Reply View the author
avatar
o0******00@163.com
deepin
2020-03-16 07:01
#9
你对了。我错了。就是sources.list  
Reply View the author
avatar
o0******00@163.com
deepin
2020-03-16 07:02
#10
还是没按好?
Reply View the author
avatar
pgxppp
deepin
2020-03-16 18:06
#11
winehq-stable 改成winehq
Reply View the author
avatar
残念
deepin
2020-03-16 18:40
#12
官网已经说的很清楚了。。。
https://wiki.winehq.org/Debian_zhcn
注:deepin 15.11 stable 基于debian 9 Stretch
Reply View the author
avatar
今风
deepin
2020-03-16 20:22
#13
https://bbs.deepin.org/post/189738
官网已经说的很清楚了。。。
https://wiki.winehq.org/Debian_zhcn
注:deepin 15.11 stable 基于de ...

是呀,debian 9是  deb https://dl.winehq.org/wine-builds/debian/ stretch main
Reply View the author
avatar
残念
deepin
2020-03-16 20:32
#14
https://bbs.deepin.org/post/189738
是呀,debian 9是  deb https://dl.winehq.org/wine-builds/debian/ stretch main

我的意思是你最好按照官网的步骤一步一步来,并不说你源选错了
Reply View the author
avatar
今风
deepin
2020-03-16 21:06
#15
是按步骤做的,实机是无法定位,虚拟机中是,有几个软件包无法下载,要不运行 apt-get update 或者加上 --fix-missing 的选项再试试?  执行后,查看版本wine --version 没有的
Reply View the author
avatar
吉王义昊
deepin
2020-03-17 16:20
#16
https://bbs.deepin.org/post/189738
是按步骤做的,实机是无法定位,虚拟机中是,有几个软件包无法下载,要不运行 apt-get update 或者加上 --f ...

虚拟机里那个情况的原因是下载超时,挂梯子就OK了,实机里改完list文件以后sudo apt update了吗?每改一次都要执行
Reply View the author
avatar
今风
deepin
2020-03-18 03:53
#17
本帖最后由 abc22048 于 2020-3-17 19:54 编辑

无法定位的在于 /etc/apt/sources.list.d/文件夹中也要添加源。从更新列表看源是挂上了,但部分索引文件下载失败。
Reply View the author