我使用 AlmaLinux 9.3 服务器托管 AlmaLinux 存储库,并希望将 Debian 12 存储库添加到网络托管文件中。因此,我在存储库机器上使用 debmirror 来镜像 debian 12 存储库以供本地使用。
debmirror --i18n --dist=bookworm --no-check-gpg --exclude-deb-section=games --exclude-deb-section=debug --exclude-deb-section=news --verbose --method=ftp --arch=amd64,i386 --section=main,non-free-firmware --host=ftp.debian.org /var/www/html/debian
在运行期间我得到以下输出:
Arches: i386,amd64,i386
Dists: sid,bookworm
Sections: main,main/debian-installer,contrib,non-free,non-free-firmware,main,non-free-firmware
Including source.
Pdiff mode: use
Not checking Release gpg signatures.
Will clean up after mirroring.
Dry run.
Attempting to get lock ...
Updating remote trace files (using rsync) ...
rsync: [Receiver] failed to connect to ftp.debian.org (199.232.150.132): Connection timed out (110)
rsync: [Receiver] failed to connect to ftp.debian.org (2a04:4e42:65::644): Network is unreachable (101)
rsync error: error in socket IO (code 10) at clientserver.c(138) [Receiver=3.2.3]
Warning: failed to use rsync to download extra files.
Getting meta files ...
[ 0%] Getting: dists/bookworm/Release... ok
[ 0%] Getting: dists/bookworm/InRelease... ok
[ 0%] Getting: dists/bookworm/Release.gpg... ok
[GNUPG:] ERROR add_keyblock_resource 33554433
[GNUPG:] NEWSIG
[GNUPG:] ERROR keydb_search 33554445
[GNUPG:] ERROR keydb_search 33554445
//
//
gpgv: Can't check signature: No public key
gpgv: Signature made Sat Oct 7 11:38:14 2023 CEST
gpgv: using EDDSA key
4D64FEC119C2029067D6E791F8D2585B8783D481
gpgv: Can't check signature: No public key
.temp/.tmp/dists/bookworm/InRelease signature does not verify.
Errors:
.temp/.tmp/dists/bookworm/Release.gpg signature does not verify
.temp/.tmp/dists/bookworm/InRelease signature does not verify
Failed to download some Release, Release.gpg or InRelease files!
releasing 1 pending lock... at
/usr/share/perl5/vendor_perl/LockFile/Simple.pm line 206.
我在安全团队的帮助下查看了固件规则,SSH FTP HTTP HTTPS 和端口 873(rsync 守护程序访问)已打开并允许出站。我从 debian12.2 DVD 导入了密钥环 gpg 文件,因为该 debmirror 运行在可以轻松安装 debmirror 软件包的 AlmaLinux 服务器上。
它无法将其互联网镜像同步到 rsync 会是什么?
非常感谢您的浏览。