控制中心无法更改软件源
Tofloor
poster avatar
185******63
deepin
2017-12-03 09:02
Author
控制中心更改软件源后无效,只能手动修改sources.list文件,怎么解决呀?
Reply Favorite View the author
All Replies
avatar
RucLinux
deepin
2017-12-03 09:09
#1
应该是权限的原因。
/etc/目录下的文件都是配置文件,权限很严格。
Reply View the author
avatar
wtz
deepin
2017-12-03 11:05
#2
我也遇到了相同的问题。但是查看dde-control-center源代码后,我发现有关镜像源管理的操作都是交给lastore-daemon(也就是深度商店的守护进程)来做的。
具体解释可以参考https://github.com/linuxdeepin/l ... epin_repository.org
简单来讲,就是控制中心不会直接修改/etc/apt/source.list(只会更改/etc/apt/apt.conf.d/99mirrors.conf),但在更新时会兼顾控制中心里的选择和source.list里的设置。
所以楼主还是把source.list里面的内容改回来吧。
Reply View the author
avatar
wtz
deepin
2017-12-03 11:07
#3
https://bbs.deepin.org/post/149482
应该是权限的原因。
/etc/目录下的文件都是配置文件,权限很严格。

deepin做的工作比你想象中的要多。
如果有兴趣,不妨读一读源码
Reply View the author