Reprepro 不镜像所有内容

Reprepro 不镜像所有内容

我安装了 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*。

这也适用于许多其他包。

相关内容