内部搞了个apt源,简单记录一下,主要参考了:http://www.debian-administration.org/articles/286

  1. 新建立目录结构mkdir test/{conf,dists,incoming,indices,logs,pool,project,tmp}

2.新建配置文件

2.1 conf/distributionsOrigin: GNUerLabel: GNUer’s repositoryCodename: testingArchitectures:  amd64Components: mainDescription: Description of repository you are creating2.2 conf/optionsverboseask-passphrasebasedir .

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
  1. apt源的配置新增deb http://192.168.2.2/test testing main