为了账号安全,请及时绑定邮箱和手机立即绑定

如何搭建一个自己的ubuntu软件源啊?

如何搭建一个自己的ubuntu软件源啊?

料青山看我应如是 2019-05-24 19:25:40
我看了几篇文章,大概总结出是这样的,也不知道对不对搭建一个web服务,开启列表功能,即nginx的autoindexon;,假设根目录下有一个soft目录,里面保存了一些*.deb文件sudoapt-getinstall-ydpkg-devsudodpkg-scanpackagessoft|gzip>soft/Packages.gz得到软件源地址debhttp://192.168.1.20:6666soft其中不明白的是deb[option1=value1option2=value2]urisuite[component1][component2][...]component1及后面的参数到底有什么用,我看官方的软件源结构不像是目录结构我参考了https://odzangba.wordpress.co...结果很多问题sudoapt-getupdate获取:1file:/home/zc/repository/disk_1InRelease忽略:1file:/home/zc/repository/disk_1InRelease获取:2file:/home/zc/repository/disk_1Release忽略:2file:/home/zc/repository/disk_1Release获取:3file:/home/zc/repository/disk_1Packages忽略:3file:/home/zc/repository/disk_1Packages获取:4file:/home/zc/repository/disk_1Translation-zh_CN忽略:4file:/home/zc/repository/disk_1Translation-zh_CN获取:5file:/home/zc/repository/disk_1Translation-zh忽略:5file:/home/zc/repository/disk_1Translation-zh获取:6file:/home/zc/repository/disk_1Translation-en忽略:6file:/home/zc/repository/disk_1Translation-en获取:3file:/home/zc/repository/disk_1Packages忽略:3file:/home/zc/repository/disk_1Packages获取:4file:/home/zc/repository/disk_1Translation-zh_CN忽略:4file:/home/zc/repository/disk_1Translation-zh_CN获取:5file:/home/zc/repository/disk_1Translation-zh忽略:5file:/home/zc/repository/disk_1Translation-zh获取:6file:/home/zc/repository/disk_1Translation-en忽略:6file:/home/zc/repository/disk_1Translation-en获取:3file:/home/zc/repository/disk_1Packages忽略:3file:/home/zc/repository/disk_1Packages获取:4file:/home/zc/repository/disk_1Translation-zh_CN忽略:4file:/home/zc/repository/disk_1Translation-zh_CN获取:5file:/home/zc/repository/disk_1Translation-zh忽略:5file:/home/zc/repository/disk_1Translation-zh获取:6file:/home/zc/repository/disk_1Translation-en忽略:6file:/home/zc/repository/disk_1Translation-en获取:3file:/home/zc/repository/disk_1Packages[1,154B]获取:4file:/home/zc/repository/disk_1Translation-zh_CN忽略:4file:/home/zc/repository/disk_1Translation-zh_CN获取:5file:/home/zc/repository/disk_1Translation-zh忽略:5file:/home/zc/repository/disk_1Translation-zh获取:6file:/home/zc/repository/disk_1Translation-en忽略:6file:/home/zc/repository/disk_1Translation-en获取:4file:/home/zc/repository/disk_1Translation-zh_CN忽略:4file:/home/zc/repository/disk_1Translation-zh_CN获取:5file:/home/zc/repository/disk_1Translation-zh忽略:5file:/home/zc/repository/disk_1Translation-zh获取:6file:/home/zc/repository/disk_1Translation-en忽略:6file:/home/zc/repository/disk_1Translation-en获取:4file:/home/zc/repository/disk_1Translation-zh_CN忽略:4file:/home/zc/repository/disk_1Translation-zh_CN获取:5file:/home/zc/repository/disk_1Translation-zh忽略:5file:/home/zc/repository/disk_1Translation-zh获取:6file:/home/zc/repository/disk_1Translation-en忽略:6file:/home/zc/repository/disk_1Translation-enW:仓库“file:/home/zc/repository/disk_1Release”没有Release文件。N:无法认证来自该源的数据,所以使用它会带来潜在风险。N:参见apt-secure(8)手册以了解仓库创建和用户配置方面的细节。apt-cachesearchmypackage空的
查看完整描述

2 回答

?
九州编程

TA贡献1785条经验 获得超4个赞

可以参考这2篇文章Howtocreatealocalmirrors和制作完整的Ubuntu本地源镜像,主要用到apt-mirror。
                            
查看完整回答
反对 回复 2019-05-24
  • 2 回答
  • 0 关注
  • 1035 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信