我正在尝试在我的 debian 镜像上镜像 debian“实验”版本。我用来debmirror
这样做:
#!/bin/sh
GNUPGHOME=/var/lib/debmirror; export GNUPGHOME
debmirror -a amd64,i386 -e rsync --getcontents --diff=none --i18n \
-v --rsync-options='-rltIL --partial --no-motd' --nocleanup \
-d experimental -h debian.osuosl.org -r debian /srv/mirrors/debian
我看到的错误:
Mirroring to /srv/mirrors/debian from rsync://[email protected]/debian/
Arches: amd64,i386
Dists: experimental
Sections: main,contrib,non-free,main/debian-installer
Including source.
Pdiff mode: none
Download at most 200 files per rsync call.
Will NOT clean up.
Attempting to get lock ...
Updating remote trace files (using rsync) ...
receiving incremental file list
./
project/trace/_hierarchy
project/trace/_hierarchy.mirror
project/trace/_traces
project/trace/ftp-chi.osuosl.org
project/trace/ftp-master.debian.org
project/trace/ftp-osl.osuosl.org
project/trace/master
project/trace/syncproxy2.wna.debian.org
sent 343 bytes received 1,381 bytes 1,149.33 bytes/sec
total size is 1,688 speedup is 0.98
Getting meta files ...
gpgv: Signature made Thu Mar 17 02:09:05 2016 PDT using RSA key ID 46925553
gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) <[email protected]>"
gpgv: Signature made Thu Mar 17 02:09:05 2016 PDT using RSA key ID 2B90D010
gpgv: Good signature from "Debian Archive Automatic Signing Key (8/jessie) <[email protected]>"
Errors:
Download of dists/experimental/main/binary-amd64/Packages failed
dists/experimental/main/binary-amd64/Packages failed checksum verification
Download of dists/experimental/main/binary-i386/Packages failed
dists/experimental/main/binary-i386/Packages failed checksum verification
Download of dists/experimental/main/source/Sources failed
dists/experimental/main/source/Sources failed checksum verification
Download of dists/experimental/contrib/binary-amd64/Packages failed
dists/experimental/contrib/binary-amd64/Packages failed checksum verification
Download of dists/experimental/contrib/binary-i386/Packages failed
dists/experimental/contrib/binary-i386/Packages failed checksum verification
Download of dists/experimental/contrib/source/Sources failed
dists/experimental/contrib/source/Sources failed checksum verification
Download of dists/experimental/non-free/binary-amd64/Packages failed
dists/experimental/non-free/binary-amd64/Packages failed checksum verification
Download of dists/experimental/non-free/binary-i386/Packages failed
dists/experimental/non-free/binary-i386/Packages failed checksum verification
Download of dists/experimental/non-free/source/Sources failed
dists/experimental/non-free/source/Sources failed checksum verification
Failed to download some Package, Sources or Release files!
WARNING: releasing 1 pending lock...
中的键/var/lib/debmirror/pubring.gpg
:
gpg: key B98321F9: "Squeeze Stable Release Key <[email protected]>" not changed
gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) <[email protected]>" not changed
gpg: key 65FFB764: "Wheezy Stable Release Key <[email protected]>" not changed
gpg: key 46925553: "Debian Archive Automatic Signing Key (7.0/wheezy) <[email protected]>" not changed
gpg: key 518E17E1: "Jessie Stable Release Key <[email protected]>" not changed
gpg: key 2B90D010: "Debian Archive Automatic Signing Key (8/jessie) <[email protected]>" not changed
gpg: key C857C906: "Debian Security Archive Automatic Signing Key (8/jessie) <[email protected]>" not changed
答案1
这可能是由于删除 MD5 和 SHA-1 校验和来自实验档案;我怀疑debmirror
是否支持 SHA-256 校验和(最近更新以忽略它们而不是循环)。
这被追踪为#818479并在 2.21 版本中修复debmirror
。