下载Deepin软件源后,是否可以自己搭建个本地源自己使用呢
Tofloor
poster avatar
Stranded
deepin
2015-08-17 02:46
Author
本帖最后由 Stranded 于 2015-8-16 22:30 编辑

如题,我自己下载了Deepin的软件源,我想自己搭建一个本地源出来,好让没网的时候也能更新
但是,我看了网上的很多Debian搭建本地源的资料,好像有点问题,目录都不一样啊,请问如何构建本地源啊,在source.list又应该如何写,求帮忙指教

好了  自己解决好了,在source.list文件中在仓库路径的后面加入dists目录下的main目录就成功了,然后apt-get update更新时会提示公钥问题,随后cd进入到软件仓库下的project目录,运行命令sudo apt-key add deepin-keyring.gpg ;导入公钥再次运行apt-get update就成功,感谢大家的帮助O(∩_∩)O谢谢
Reply Favorite View the author
All Replies
rekols
deepin
2015-08-17 03:01
#1
发错版区了
Reply View the author
Stranded
deepin
2015-08-17 03:02
#2

哦  不在这个版区么  新来的不好意思  不清楚
Reply View the author
Feng Yu
deepin
2015-08-17 04:05
#3
改软件仓库的路径即可,原来的http://改为file://
Reply View the author
Stranded
deepin
2015-08-17 04:12
#4
https://bbs.deepin.org/post/31985
改软件仓库的路径即可,原来的http://改为file://

请问应该怎么改呢  我把source.list中添加为deb file:/Deepin/软件仓库报错了
Reply View the author
rekols
deepin
2015-08-17 04:14
#5
https://bbs.deepin.org/post/31985
请问应该怎么改呢  我把source.list中添加为deb file:/Deepin/软件仓库报错了

请填写完整的file地址
Reply View the author
Feng Yu
deepin
2015-08-17 04:17
#6
https://bbs.deepin.org/post/31985
请问应该怎么改呢  我把source.list中添加为deb file:/Deepin/软件仓库报错了

file://表示使用本地路径,那么自然你要写清楚本地路径在哪?
比如file:///usr/local/................
Reply View the author
Stranded
deepin
2015-08-17 04:17
#7
https://bbs.deepin.org/post/31985
请填写完整的file地址

这个就是我同步下来的软件仓库存放路径啊
Reply View the author
Stranded
deepin
2015-08-17 04:18
#8
https://bbs.deepin.org/post/31985
file://表示使用本地路径,那么自然你要写清楚本地路径在哪?
比如file:///usr/local/................ ...

可以我同步下来的软件仓库存放位置就是这里啊
Reply View the author
rekols
deepin
2015-08-17 04:18
#9
https://bbs.deepin.org/post/31985
这个就是我同步下来的软件仓库存放路径啊


Reply View the author
Stranded
deepin
2015-08-17 04:22
#10
是要这样写吗? deb file:///Deepin
Reply View the author
rekols
deepin
2015-08-17 04:25
#11
https://bbs.deepin.org/post/31985
是要这样写吗? deb file:///Deepin

Deepin这个目录在 / 下?
Reply View the author
rekols
deepin
2015-08-17 04:26
#12
https://bbs.deepin.org/post/31985
是要这样写吗? deb file:///Deepin

试试 deb file:///Deepin/软件仓库   
Reply View the author
Feng Yu
deepin
2015-08-17 04:42
#13
绝对路径啊亲
Reply View the author
Stranded
deepin
2015-08-17 04:43
#14
不行啊
Reply View the author
Stranded
deepin
2015-08-17 04:44
#15

对啊  我这个就是绝对路径啊 我在/目录下的Deepin下的软件仓库下
Reply View the author
Stranded
deepin
2015-08-17 05:50
#16
诶  我自己改了下  突然就好了  但是提示W: GPG 错误:file: trusty InRelease: 由于没有公钥,无法验证下列签名
Reply View the author
Feng Yu
deepin
2015-08-17 06:59
#17
Reply View the author
Stranded
deepin
2015-08-17 18:38
#18
https://bbs.deepin.org/post/31985
https://help.ubuntu.com/community/Debmirror

恩   已经解决了  谢谢
Reply View the author