深度商店无法安装软件
Tofloor
poster avatar
chenfei2341
deepin
2017-09-09 19:18
Author
本帖最后由 chenfei2341 于 2017-9-9 11:22 编辑

最近有看到介绍deepin系统,就想着在虚拟机上装一个,但是装完打开深度商店能显示图片和信息,却无法安装,一点安装就报下载失败。
在网上找了许多的攻略,都没法解决,使用 sudo apt-get update ,然后一大堆忽略,还说什么无法认证该来源,什么鬼!
然后有说换源的,我把我的仓库配置的深度源用浏览器打开,是可以的。
想了想还是换源吧,我对linux系统也不熟,打开 sudo vi /etc/apt/sources.list,就说,换个阿里云的源吧,用

## Generated by deepin-installer
deb [by-hash=force] http://mirrors.aliyun.com/deepin panda main contrib non-free
#deb-src http://mirrors.aliyun.com/deepin panda main contrib non-free


换了还是不行,还是无法认证该来源,然后我打开这个源一看。竟然是https的,再改

## Generated by deepin-installer
deb [by-hash=force] https://mirrors.aliyun.com/deepin panda main contrib non-free
#deb-src https://mirrors.aliyun.com/deepin panda main contrib non-free

再用 sudo apt-get update 更新,可以了!终于能用深度商店了!


Reply Favorite View the author
All Replies
avatar
moriwuhen
deepin
2017-09-09 21:33
#1
很有效,很多应用原本不能安装的,现在终于可以安装了。
Reply View the author
avatar
jingle
deepin
2017-09-09 23:24
#2
是不是虚拟机网路的问题。
Reply View the author
avatar
153******45
deepin
2017-09-09 23:52
#3
jingle 发表于 2017-9-9 15:24
是不是虚拟机网路的问题。

深度源为啥不用HTTPS,用了就不会遇到缓存服务器了吧
Reply View the author
avatar
wuyaoyou
deepin
2017-09-10 22:39
#4
jieyu@jieyu-PC:~$ sudo apt-get update
[sudo] jieyu 的密码:
正在读取软件包列表... 完成
E: 无法获得锁 /var/lib/apt/lists/lock - open (11: 资源暂时不可用)
E: 无法对目录 /var/lib/apt/lists/ 加锁
jieyu@jieyu-PC:~$

Reply View the author
avatar
wuyaoyou
deepin
2017-09-10 22:39
#5
求指教啊
Reply View the author
avatar
moriwuhen
deepin
2017-09-10 22:54
#6
https://bbs.deepin.org/post/145280
jieyu@jieyu-PC:~$ sudo apt-get update
[sudo] jieyu 的密码:
正在读取软件包列表... 完成

网上搜索的
方法一:执行一下 sudo dpkg --configure -a

方法二(亲测可以用):sudo rm /var/lib/apt/lists/lock
Reply View the author
avatar
wuyaoyou
deepin
2017-09-12 05:19
#7
https://bbs.deepin.org/post/145280
网上搜索的
方法一:执行一下 sudo dpkg --configure -a

jieyu@jieyu-PC:~$ sudo dpkg --configure -a
[sudo] jieyu 的密码:
jieyu@jieyu-PC:~$ sudo rm /var/lib/apt/lists/lock
jieyu@jieyu-PC:~$ 4694
bash: 4694: 未找到命令
jieyu@jieyu-PC:~$

Reply View the author
avatar
wuyaoyou
deepin
2017-09-12 05:20
#8
https://bbs.deepin.org/post/145280
网上搜索的
方法一:执行一下 sudo dpkg --configure -a

jieyu@jieyu-PC:~$ sudo apt-get update
0% [正在等待报头]

Reply View the author
avatar
impressionyang
deepin
2017-09-17 18:06
#9
https://bbs.deepin.org/post/145280
网上搜索的
方法一:执行一下 sudo dpkg --configure -a


Reply View the author