我看了几篇文章,大概总结出是这样的,也不知道对不对搭建一个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空的
添加回答
举报
0/150
提交
取消