apt 挂了
Tofloor
poster avatar
ntuwang
deepin
2019-09-25 23:56
Author
我的/etc/apt 下的source.list 和key都被我删了,请问该怎么恢复呢?
Reply Favorite View the author
All Replies
avatar
字甲达宾
deepin
2019-09-26 00:57
#1
以 sudo 运行 synaptic 新立德软件包管理器

sudo synaptic

点击菜单,设置,软件库,
选中 main, contrib, non-free 三项,
再在 下载自
菜单里,选择 other ,

找到一个熟悉的镜像站点,比如 163,huaweicloud, 确定。

完成后,再运行

sudo apt update 更新软件库即可
Reply View the author
avatar
ntuwang
deepin
2019-09-28 16:44
#2
https://bbs.deepin.org/post/183091
以 sudo 运行 synaptic 新立德软件包管理器

sudo synaptic

synaptic 找不到这个命令,怎么办
Reply View the author
avatar
走钢丝
deepin
2019-09-28 17:05
#3
https://bbs.deepin.org/post/183091
synaptic 找不到这个命令,怎么办

synaptic 这命令商店里有。。可以安装。。把 /etc/apt 删除了,缓存应该还在,试试。。

另外,给你传一份我的 /etc/apt,自己放进去。。


apt.tar.gz
Reply View the author
avatar
2019-09-28 17:27
#4
传你一份就是了,拷贝到原位置
https://c-t.work/s/4ef60825906646
Reply View the author