Your message dated Wed, 19 Jan 2005 00:02:14 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#288973: fixed in debmirror 20050118
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Jan 2005 15:46:14 +0000
>From [EMAIL PROTECTED] Thu Jan 06 07:46:14 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mtagate2.uk.ibm.com [195.212.29.135] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CmZq2-0004PQ-00; Thu, 06 Jan 2005 07:46:14 -0800
Received: from d06nrmr1407.portsmouth.uk.ibm.com 
(d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185])
        by mtagate2.uk.ibm.com (8.12.10/8.12.10) with ESMTP id j06FjgpN388518
        for <[EMAIL PROTECTED]>; Thu, 6 Jan 2005 15:45:42 GMT
Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com 
[9.149.37.228])
        by d06nrmr1407.portsmouth.uk.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id 
j06Fk3xp138768
        for <[EMAIL PROTECTED]>; Thu, 6 Jan 2005 15:46:03 GMT
Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1])
        by d06av02.portsmouth.uk.ibm.com (8.12.11/8.12.11) with ESMTP id 
j06Fjgmw020926
        for <[EMAIL PROTECTED]>; Thu, 6 Jan 2005 15:45:42 GMT
Received: from ns (ns.parislab.fr.ibm.com [9.101.40.87])
        by d06av02.portsmouth.uk.ibm.com (8.12.11/8.12.11) with ESMTP id 
j06Fjghu020923
        for <[EMAIL PROTECTED]>; Thu, 6 Jan 2005 15:45:42 GMT
Received: from dyn-9-101-102-49.nze.fr.ibm.com (localhost) [9.101.102.49] 
(Debian-exim)
        by ns with esmtp (Exim 3.35 #1 (Debian))
        id 1CmZpV-0003Rm-00; Thu, 06 Jan 2005 16:45:41 +0100
Received: from jcn by localhost with local (Exim 4.34)
        id 1CmZpV-0001SH-41; Thu, 06 Jan 2005 16:45:41 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jean-Marc Chaton <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: failure to download pool files should not stop debmirror
X-Mailer: reportbug 3.2
Date: Thu, 06 Jan 2005 16:45:41 +0100
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: debmirror
Version: 20041209
Severity: minor
Tags: patch

When debmirror tries to mirror a distrib but fails to download some of
the pool files, it stops and fails whereas the lack of a few files make
the mirror still useful. I take the example of the debian-security
woody/updates distrib which is a bit inconsistent (it lacks five files
it claims to have).

debmirror should warn us that the files aren't there but nethertheless
go on with the work.

The patch below is a crude hack just to make things continue.


--
Jean-Marc Chaton


*** bin/debmirror       2005-01-06 15:04:47.000000000 +0100
--- /usr/bin/debmirror  2004-12-16 17:45:31.000000000 +0100
***************
*** 878,887 ****
  
  if ($num_errors != 0) {
    print "Failed to download files ($num_errors errors)!\n";
  } else {
!   say("Everything OK. ");
!  } 
!   say("Moving meta files.");
    chdir($tempdir) or die "unable to chdir($tempdir): $!\n";
    my $res=0;
    foreach my $file (`find . -type f`) {
--- 878,886 ----
  
  if ($num_errors != 0) {
    print "Failed to download files ($num_errors errors)!\n";
+   exit 1;
  } else {
!   say("Everything OK. Moving meta files.");
    chdir($tempdir) or die "unable to chdir($tempdir): $!\n";
    my $res=0;
    foreach my $file (`find . -type f`) {
***************
*** 920,926 ****
        }
      }
    }
! 
  
  # mirror cleanup for directories
  if ($cleanup || $post_cleanup) {
--- 919,925 ----
        }
      }
    }
! }
  
  # mirror cleanup for directories
  if ($cleanup || $post_cleanup) {


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages debmirror depends on:
ii  bzip2                         1.0.2-1    A high-quality block-sorting file 
ii  libcompress-zlib-perl         1.33-3     Perl module for creation and manip
ii  liblockfile-simple-perl       0.2.5-4    Simple advisory file locking
ii  libwww-perl                   5.800-2    WWW client/server library for Perl
ii  perl [libdigest-md5-perl]     5.8.4-3    Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl]    5.8.4-3    Core Perl modules
ii  rsync                         2.6.3-2    fast remote file copy program (lik

-- no debconf information

---------------------------------------
Received: (at 288973-close) by bugs.debian.org; 19 Jan 2005 05:07:04 +0000
>From [EMAIL PROTECTED] Tue Jan 18 21:07:04 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Cr83c-000300-00; Tue, 18 Jan 2005 21:07:04 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1Cr7yw-00039y-00; Wed, 19 Jan 2005 00:02:14 -0500
From: Goswin von Brederlow <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#288973: fixed in debmirror 20050118
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 19 Jan 2005 00:02:14 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.3 required=4.0 tests=BAYES_00,DATING,
        HAS_BUG_NUMBER,SUBJ_HAS_UNIQ_ID autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 5

Source: debmirror
Source-Version: 20050118

We believe that the bug you reported is fixed in the latest version of
debmirror, which is due to be installed in the Debian FTP archive:

debmirror_20050118.dsc
  to pool/main/d/debmirror/debmirror_20050118.dsc
debmirror_20050118.tar.gz
  to pool/main/d/debmirror/debmirror_20050118.tar.gz
debmirror_20050118_all.deb
  to pool/main/d/debmirror/debmirror_20050118_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Goswin von Brederlow <[EMAIL PROTECTED]> (supplier of updated debmirror package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 18 Jan 2005 02:59:34 +0200
Source: debmirror
Binary: debmirror
Architecture: source all
Version: 20050118
Distribution: unstable
Urgency: low
Maintainer: Goswin von Brederlow <[EMAIL PROTECTED]>
Changed-By: Goswin von Brederlow <[EMAIL PROTECTED]>
Description: 
 debmirror  - Debian partial mirror script, with ftp and package pool support
Closes: 286575 287465 287732 288814 288973 289286 289752
Changes: 
 debmirror (20050118) unstable; urgency=low
 .
   * Add --no-tty option to gpg (Closes: #289286)
     reported by Holger Ruckdeschel <[EMAIL PROTECTED]>
   * Move cleanup code into function and add missing chdir (Closes: #287465)
     adapted patch by Daniel Parthey <[EMAIL PROTECTED]>
   * Unlink hardlinks before system calls with redirected IO (Closes: #288814)
     adapted patch by Mirko Parthey <[EMAIL PROTECTED]>
   * Unlink metafiles later (Closes: #289752)
     patch by Ingo Saitz <[EMAIL PROTECTED]>
   * Typo fixes as found by Martin Kourim <[EMAIL PROTECTED]>
     (Closes: #287732)
   * Add --ignore-small-errors to allow updating inconsistent upstream
     mirrors (Closes: #288973)
   * Hide gpg signature check output if !verbose (Closes: #286575)
Files: 
 721036b68f9c9e221d43edc0632980e6 494 net extra debmirror_20050118.dsc
 c609fb5d618a180157b88bbbbc71b1d1 16085 net extra debmirror_20050118.tar.gz
 6959c3a591021792521759b1644b755c 23356 net extra debmirror_20050118_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB7eZf78o9R9NraMQRAg97AJ9eYpxRe/ztR/15ghRVwbZ8txY/eQCfSWNr
geBs2nxyMprsNXMFf3/XerM=
=iySD
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to