Package: debmirror
Version: 1:2.27
Severity: normal

I can’t figure out how to reliably mirror sid for users.
I’m attaching the config file, I tried diff_mode none and
use but get errors on the clients running apt-get update
either way:

E: Failed to fetch 
http://mirror.lan.tarent.de/debian/dists/sid/main/binary-amd64/Packages.gz  
Hash Sum mismatch
   Hashes of expected file:
    - Filesize:10129139 [weak]
    - SHA256:d81d8d4ecff84b52fb6f1bc6e58c79570b95c4b8768c19aacd45a507d6699b76
    - MD5Sum:6ce60c48450df70864589829b407ef5a [weak]
   Hashes of received file:
    - SHA256:efe6a06883ca7e54d663032a404a6b32eb668024dd6ddeb0ae5e94990f2ba1c9
    - MD5Sum:386edf0f6e19d81905e0b0a93a62b0e6 [weak]
    - Filesize:10129113 [weak]
   Last modification reported: Mon, 17 Jul 2017 09:00:36 +0000
   Release file created at: Mon, 17 Jul 2017 08:29:18 +0000
E: Failed to fetch 
http://mirror.lan.tarent.de/debian/dists/sid/main/binary-i386/Packages.gz
E: Some index files failed to download. They have been ignored, or old ones 
used instead.

(usually for Translation_en though) and

E: Failed to fetch 
http://mirror.lan.tarent.de/debian/dists/sid/main/binary-amd64/PackagesIndex  
404  Not Found [IP: 172.26.0.180 80]: rename failed, No such file or directory 
(/var/lib/apt/lists/partial/mirror.lan.tarent.de_debian_dists_sid_main_binary-amd64_Packages.diff_Index
 -> 
/var/lib/apt/lists/mirror.lan.tarent.de_debian_dists_sid_main_binary-amd64_Packages.diff_Index).
E: Failed to fetch 
http://mirror.lan.tarent.de/debian/dists/sid/main/i18n/Translation-enIndex  404 
 Not Found [IP: 172.26.0.180 80]: rename failed, No such file or directory 
(/var/lib/apt/lists/partial/mirror.lan.tarent.de_debian_dists_sid_main_i18n_Translation-en.diff_Index
 -> 
/var/lib/apt/lists/mirror.lan.tarent.de_debian_dists_sid_main_i18n_Translation-en.diff_Index).
E: Some index files failed to download. They have been ignored, or old ones 
used instead.


-- System Information:
Debian Release: 8.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debmirror depends on:
ii  bzip2                       1.0.6-7+b3
pn  libdigest-md5-perl          <none>
ii  liblockfile-simple-perl     0.208-1
ii  libnet-inet6glue-perl       0.603-1
ii  libwww-perl                 6.08-1
ii  perl [libdigest-sha-perl]   5.20.2-3+deb8u7
ii  perl-modules [libnet-perl]  5.20.2-3+deb8u7
ii  rsync                       3.1.1-3

Versions of packages debmirror recommends:
ii  ed     1.10-2
ii  gpgv   1.4.18-7+deb8u3
ii  patch  2.7.5-1

Versions of packages debmirror suggests:
ii  gnupg  1.4.18-7+deb8u3

-- no debconf information
# Default config for debmirror

# The config file is a perl script so take care to follow perl syntax.
# Any setting in /etc/debmirror.conf overrides these defaults and
# ~/.debmirror.conf overrides those again. Take only what you need.
#
# The syntax is the same as on the command line and variable names
# loosely match option names. If you don't recognize something here
# then just stick to the command line.
#
# Options specified on the command line override settings in the config
# files.

# Location of the local mirror (use with care)
$mirrordir="/var/www/mirror/debian";

# Output options
$verbose=1;
$progress=0;
$debug=0;

# Download options
$host="debian.netcologne.de";
$user="anonymous";
$passwd="anonymous@";
$remoteroot="debian";
$download_method="rsync";
@dists="wheezy,wheezy-proposed-updates,wheezy-updates,wheezy-backports,jessie,jessie-proposed-updates,jessie-updates,jessie-backports,stretch,stretch-proposed-updates,stretch-updates,stretch-backports,sid,experimental";
@sections="main,main/debian-installer,contrib,contrib/debian-installer,non-free,non-free/debian-installer";
@arches="i386,amd64";
# @ignores="";
# @excludes="";
# @includes="";
# @excludes_deb_section="";
# @limit_priority="";
$omit_suite_symlinks=0;
$skippackages=0;
# @rsync_extra="doc,tools";
$i18n=1;
$getcontents=1;
$do_source=0;
$max_batch=0;

# @di_dists="dists";
# @di_archs="arches";

# Save mirror state between runs; value sets validity of cache in days
$state_cache_days=0;

# Security/Sanity options
$ignore_release_gpg=0;
$ignore_release=0;
$check_md5sums=0;
$ignore_small_errors=1;

# Cleanup
$cleanup=0;
$post_cleanup=1;

# Locking options
$timeout=300;

# Rsync options
$rsync_batch=200;
$rsync_options="-aIL --partial --no-motd";

# FTP/HTTP options
$passive=0;
# $proxy="http://proxy:port/";;

# Dry run
$dry_run=0;

# Don't keep diff files but use them
$diff_mode="none";

# Fix?
#$diff_mode="use";

# The config file must return true or perl complains.
# Always copy this.
1;

Reply via email to