Package: debmirror
Version: 1:2.16

As the installer-$arch is not available the MD5SUM is not available
and debmirror exits with an error.

http://security.debian.org/debian-security/dists/jessie/updates/main/installer-amd64/current/images/MD5SUMS
=> [  3%] Getting:
dists/jessie/updates/main/installer-amd64/current/images/MD5SUMS...
#** GET 
http://security.debian.org/debian-security/dists/jessie/updates/main/installer-amd64/current/images/MD5SUMS
==> 404 Not Found
404 Not Found
failed 404 Not Found
Failed to download
dists/jessie/updates/main/installer-amd64/current/images/MD5SUMS;
skipping.
Errors:
 Download of dists/jessie/updates/main/installer-amd64/current/images/MD5SUMS
failed: 404 Not Found
Failed to download some Package, Sources or Release files!
WARNING: releasing 1 pending lock...


function repo_sync(){

   arch=$1
   section=$2
   release=$3
   server=$4
   inPath=$5
   proto=$6
   outPath=$7
   proxy=$8
   /usr/bin/debmirror -v -a $arch \
        --slow-cpu \
        --debug \
        --verbose \
        --ignore-missing-release \
        --ignore-small-errors \
        --no-check-gpg\
        --no-source \
        -s $section \
        -h $server      \
        -d $release \
        -r $inPath      \
        --progress \
        --method $proto \
        --proxy=$proxy \
        --rsync-extra=none \
        --di-dist=$release \
        --di-arch=$arch \
        $outPath
}

repo_sync 'amd64' 'main,contrib,non-free' 'jessie/updates'
'security.debian.org' ':debian-security' 'http'
'/var/www/repos/debian-security/x86_64/jessie/'
"http://$PRX_USER:$PRX_PASS@$PRX_HOST:$PRX_PORT";


I attach the patch I used to fix it

Regards,
Marco

Attachment: b0e0156bac2b636a0416220b2264b3fc422f8a32.patch
Description: Binary data

Reply via email to