다음 구성으로 Reprepro 5.1.1을 설치했습니다. 아이디어는 Debian Stretch amd64 공개 미러에서 모든 것을 로컬로 미러링하는 것입니다.
"분산":
Origin: debian
Codename: stretch
Description: debian stretch mirror
Architectures: amd64
Components: main contrib non-free
Update: - debian-stretch
Contents: .gz
Log: /var/log/reprepro/debian/stretch.log
SignWith: <key>
Origin: debian
Codename: stretch-updates
Description: debian stretch-updates mirror
Architectures: amd64
Components: main contrib non-free
Update: - debian-stretch-updates
Contents: .gz
Log: /var/log/reprepro/debian/stretch-updates.log
SignWith: <key>
Origin: debian
Codename: stretch-backports
Description: debian stretch-backports mirror
Architectures: amd64
Components: main contrib non-free
Update: - debian-stretch-backports
Contents: .gz
Log: /var/log/reprepro/debian/stretch-backports.log
SignWith: <key>
NotAutomatic: yes
ButAutomaticUpgrades: yes
"고쳐 쓰다":
Name: debian-stretch
Method: http://ftp.us.debian.org/debian
Architectures: amd64
Suite: stretch
GetInRelease: no
VerifyRelease: EF0F382A1A7B6500
Name: debian-stretch-updates
Method: http://ftp.us.debian.org/debian
Architectures: amd64
Suite: stretch-updates
GetInRelease: no
VerifyRelease: 7638D0442B90D010
Name: debian-stretch-backports
Method: http://ftp.us.debian.org/debian
Architectures: amd64
Suite: stretch-backports
GetInRelease: no
VerifyRelease: 7638D0442B90D010
문제는 Reprepro가 찾은 모든 것을 반영하지 않는다는 것입니다.http://http.us.debian.org/debian/dists/stretch-backports/main/binary-all/Packages.gz. 예를 들어, 내 로컬 이미지에는 linux-headers-4.16.0-0.bpo.2-common이 없습니다. 하지만 linux-headers-4.17*이 있습니다.
이는 다른 많은 패키지에서도 작동합니다.