# apt-get update Get:1 file: testing Release.gpg [189B] Get:2 file: unstable Release.gpg [189B] Get:3 file: testing Release [74,4kB] Get:4 file: unstable Release [79,6kB] Get:5 ftp://ftp.ru.debian.org unstable Release.gpg [189B] Get:6 ftp://ftp.ru.debian.org unstable Release [79,6kB] Get:7 ftp://ftp.ru.debian.org unstable/main Packages [4336kB] Get:8 ftp://ftp.ru.debian.org unstable/contrib Packages [52,5kB] Get:9 ftp://ftp.ru.debian.org unstable/non-free Packages [60,2kB] Fetched 4528kB in 3s (1170kB/s) Reading package lists... Done 07:24:19 root@petrel /home/olleg # apt-get upgrade Reading package lists... Done Building dependency tree... Done The following packages will be upgraded: subcommander subcommander-doc 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1918kB of archives. After unpacking 279kB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 ftp://ftp.ru.debian.org unstable/main subcommander 1.2.1-1 [1074kB] Err ftp://ftp.ru.debian.org unstable/main subcommander 1.2.1-1Unable to fetch file, server said 'Failed to open file. ' [IP: 193.233.9.194 21]
Get:2 ftp://ftp.ru.debian.org unstable/main subcommander-doc 1.2.1-1 [844kB] Err ftp://ftp.ru.debian.org unstable/main subcommander-doc 1.2.1-1Unable to fetch file, server said 'Failed to open file. ' [IP: 193.233.9.194 21] Failed to fetch ftp://ftp.ru.debian.org/debian/pool/main/s/subcommander/subcommander_1.2.1-1_amd64.deb Unable to fetch file, server said 'Failed to open file. ' [IP: 193.233.9.194 21] Failed to fetch ftp://ftp.ru.debian.org/debian/pool/main/s/subcommander/subcommander-doc_1.2.1-1_all.deb Unable to fetch file, server said 'Failed to open file. ' [IP: 193.233.9.194 21] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
How can this be happened? Looked like rsync with incorrect options on primary server. :-(
Here my options for rsync, they are different from official debian anonftpsync script. As I undestand with new options rsync can correctly synchronize debian in only one stage.
rsync --verbose --recursive --links --hard-links --times --filter='R .~tmp~/' --delete-after --delay-updates "$source_url" "$destination"
-- Olleg Samoylov
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature