内部搞了个apt源,简单记录一下,主要参考了:http://www.debian-administration.org/articles/286
1. 新建立目录结构
mkdir test/{conf,dists,incoming,indices,logs,pool,project,tmp}
2.新建配置文件
2.1 conf/distributions
Origin: GNUer
Label: GNUer’s repository
Codename: testing
Architectures: amd64
Components: main
Description: Description of repository you are creating
2.2 conf/options
verbose
ask-passphrase
basedir .
3.包的维护
导入包需要使用reprepro
reprepro -b /home/mirrors/test/ includedeb testing /home/test_deb/dropbox_1.6.0_amd64.deb
删除包
reprepro -v -b /home/mirrors/test/ remove testing dropbox
4. apt源的配置
新增
deb http://192.168.2.2/test testing main