先把wine升级到5.0,可是老是权限不够
Tofloor
poster avatar
lovecui198700
deepin
2020-04-21 07:14
Author
前几天直接改源升级到V20。看到别人都能玩游戏,我就想折腾一下,看看能不能把wine给升级下游戏会不会支持好点,但是一直报错。
论坛老友帮忙解惑一下
love1987@love1987-PC:~$ cd /etc/apt
love1987@love1987-PC:/etc/apt$ sudo nano sources.list
love1987@love1987-PC:/etc/apt$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
--2020-04-20 23:08:40--  https://dl.winehq.org/wine-builds/winehq.key
正在解析主机 dl.winehq.org (dl.winehq.org)... 151.101.110.217
正在连接 dl.winehq.org (dl.winehq.org)|151.101.110.217|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:3220 (3.1K) [application/pgp-keys]
winehq.key: 权限不够

无法写入 “winehq.key” (权限不够)。
love1987@love1987-PC:/etc/apt$

Reply Favorite View the author
All Replies
avatar
ylxdxx
deepin
2020-04-21 07:25
#1
wget 前面加 sudo 试试
Reply View the author
avatar
lovecui198700
deepin
2020-04-21 07:38
#2
嗯,明天试一下,夜深了,早点休息
Reply View the author
avatar
188******30
deepin
2020-04-21 07:48
#3
好像挺多包会有冲突的,慎重- -
Reply View the author
avatar
ShineWay
deepin
2020-04-21 07:49
#4
V20不应该是debian10吗?添加的源应该是buster而不是stretch ,教程上是debian9的吧
  1. deb https://dl.winehq.org/wine-builds/debian/ buster main
Copy the Code

Reply View the author
avatar
忘记、过去
deepin
2020-04-21 08:07
#5
wget的下载位置错了呀,怎么可能安装包直接放在/etc/apt里面......先回~/Downloads之类的能写入的地方下载再安装就好了
Reply View the author
avatar
一醉陶然
deepin
2020-04-21 10:03
#6
体验太差,又删除了
Reply View the author
avatar
lovecui198700
deepin
2020-04-21 15:56
#7
lengsir replied at 2020-4-20 23:49
V20不应该是debian10吗?添加的源应该是buster而不是stretch ,教程上是debian9的吧

...

我以为一样的呢!
Reply View the author
avatar
安洛
deepin
2020-04-21 16:20
#8
https://bbs.deepin.org/post/192448
我以为一样的呢!

如果你没有安装缺少的包,请一定选择stretch!deepin20安装buster必须安装缺少的包,否则会有依赖错误,安装stretch就没有这个问题。
Reply View the author
avatar
走钢丝
deepin
2020-04-21 16:39
#9
这在哪儿看的教程,太不负责了。
Reply View the author
avatar
ShineWay
deepin
2020-04-21 23:00
#10
https://bbs.deepin.org/post/192448
如果你没有安装缺少的包,请一定选择stretch!deepin20安装buster必须安装缺少的包,否则会有依赖错误, ...

那wine的源里buster和stretch的区别是啥?
Reply View the author
avatar
安洛
deepin
2020-04-21 23:18
#11
https://bbs.deepin.org/post/192448
那wine的源里buster和stretch的区别是啥?

stretch指debian9,即这个分支的wine软件包适合在debian9的系统上运行,它会用到debian9的依赖。
buster指debian10。
本来deepin20基于debian10,deepin15.11基于debian9,但是由于deepin20里面有两个包没有更新到buster版本,所以仍然只适用stretch。
Reply View the author
avatar
GBwater
deepin
2020-04-21 23:26
#12
我把软件包下载了,直接安装deb就好,省了下载的时间
https://bbs.deepin.org/post/192370#
Reply View the author
avatar
ShineWay
deepin
2020-04-21 23:38
#13
https://bbs.deepin.org/post/192448
stretch指debian9,即这个分支的wine软件包适合在debian9的系统上运行,它会用到debian9的依赖。
buster ...

我已经安上了buster的,1G多的空间

  1. apt install --install-recommends winehq-stable
  2. 正在读取软件包列表... 完成
  3. 正在分析软件包的依赖关系树      
  4. 正在读取状态信息... 完成      
  5. 将会同时安装下列软件:
  6.   gstreamer1.0-plugins-base:i386 libbz2-1.0:i386 libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386
  7.   libexif12:i386 libgd3:i386 libgdbm-compat4:i386 libgdbm6:i386 libgphoto2-6:i386
  8.   libgphoto2-port12:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386
  9.   libieee1284-3:i386 libmariadb3:i386 libodbc1 liborc-0.4-0:i386 libosmesa6 libpci3:i386
  10.   libperl5.28:i386 libsane:i386 libsnmp30:i386 libvisual-0.4-0:i386 libvkd3d1 libvkd3d1:i386
  11.   libvulkan1:i386 libxpm4:i386 ocl-icd-libopencl1 sane-utils update-inetd wine-stable
  12.   wine-stable-amd64 wine-stable-i386:i386
  13. 建议安装:
  14.   gvfs:i386 libgd-tools:i386 gdbm-l10n:i386 gphoto2:i386 libvisual-0.4-plugins:i386
  15.   gstreamer1.0-tools:i386 libmyodbc odbc-postgresql tdsodbc unixodbc-bin avahi-daemon:i386 hplip:i386
  16.   opencl-icd avahi-daemon unpaper
  17. 下列【新】软件包将被安装:
  18.   gstreamer1.0-plugins-base:i386 libbz2-1.0:i386 libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386
  19.   libexif12:i386 libgd3:i386 libgdbm-compat4:i386 libgdbm6:i386 libgphoto2-6:i386
  20.   libgphoto2-port12:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386
  21.   libieee1284-3:i386 libmariadb3:i386 libodbc1 liborc-0.4-0:i386 libosmesa6 libpci3:i386
  22.   libperl5.28:i386 libsane:i386 libsnmp30:i386 libvisual-0.4-0:i386 libvkd3d1 libvkd3d1:i386
  23.   libvulkan1:i386 libxpm4:i386 ocl-icd-libopencl1 sane-utils update-inetd wine-stable
  24.   wine-stable-amd64 wine-stable-i386:i386 winehq-stable
  25. 升级了 0 个软件包,新安装了 34 个软件包,要卸载 0 个软件包,有 1 个软件包未被升级。
  26. 需要下载 148 MB/156 MB 的归档。
  27. 解压缩后会消耗 1,018 MB 的额外空间。
  28. 您希望继续执行吗? [Y/n] y
Copy the Code
Reply View the author
avatar
安洛
deepin
2020-04-22 00:28
#14
https://bbs.deepin.org/post/192448
我已经安上了buster的,1G多的空间

stretch也是将近1G的空间。
我这里安装buster会有依赖问题,论坛里面有相关软件包。不过这也可能跟我们用的其它软件有关,可能你在折腾其它软件的时候吧缺的软件给搞上了。
Reply View the author
avatar
ShineWay
deepin
2020-04-22 00:36
#15
https://bbs.deepin.org/post/192448
stretch也是将近1G的空间。
我这里安装buster会有依赖问题,论坛里面有相关软件包。不过这也可能跟我们用 ...

我发现安装的有点慢,我取消了,直接用安装包装的

https://bbs.deepin.org/post/192370
Reply View the author
avatar
安洛
deepin
2020-04-22 00:48
#16
https://bbs.deepin.org/post/192448
我发现安装的有点慢,我取消了,直接用安装包装的

https://bbs.deepin.org/forum.php?mod=viewthread&ti ...

我这里不知为啥连接wine的源很快……玄学加持。
Reply View the author
avatar
lovecui198700
deepin
2020-04-22 01:44
#17
lengsir replied at 2020-4-20 23:49
V20不应该是debian10吗?添加的源应该是buster而不是stretch ,教程上是debian9的吧

...

晚上下班试下看看
Reply View the author
avatar
ShineWay
deepin
2020-04-22 02:00
#18
直接用安装包装吧,源站那速度慢的要命

https://bbs.deepin.org/post/192370
Reply View the author