[other] 请教一下DeepinV25如何搭建本地离线源? Resolved
Tofloor
poster avatar
IA
deepin
2025-08-24 02:03
Author

请教一下DeepinV25如何搭建本地源?

apt install apt-mirror 无法定位软件

通过git clone apt-mirror 执行又下载不了源

请问还有什么办法搭建本地离线源?使用环境下无物联网。

Reply Favorite View the author
All Replies
新手小白
deepin
2025-08-24 08:16
#1

apt-mirror就是个工具,又不是非要用。你可以手动创建本地源嘛。

既然不联网,直接让 etc/apt/sources.list 指向本地源路径不就好了。

比如你本地镜像放在 /opt/deepin_mirror/ 你就改成

deb [trusted=yes] file:/opt/deepin_mirror ./
Reply View the author
谢克辉
deepin beta test group
2025-08-24 08:47
#2

我老早用nginx搭建过,但是跟仓库同步后系统更新好多地方就会变成英文的了,不知道为什么,放自己整的包倒是可以

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2025-08-24 10:02
#3

从镜像站rsync下来

本地开仓库可以用这个脚本

https://blog.shenmo.tech/post/apt-ftparchieve-deb-apt%E4%BB%93%E5%BA%93-%E5%A2%9E%E9%87%8F%E6%9B%B4%E6%96%B0/

Reply View the author