[EMAIL PROTECTED] (Debian Bug Tracking System) writes:
> Your message dated Thu, 26 Apr 2007 17:14:05 +0200
> with message-id <[EMAIL PROTECTED]>
> and subject line already fixed in 20060907
> 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)
>
> From: mat <[EMAIL PROTECTED]>
> Subject: debmirror fails when mirroring sarge+etch with amd64 arch enabled
> To: Debian Bug Tracking System <[EMAIL PROTECTED]>
> Date: Fri, 20 Apr 2007 14:57:20 +0200
> Reply-To: mat <[EMAIL PROTECTED]>
>
> Package: debmirror
> Version: 20070123
> Severity: normal
>
>
> when called with these options :
> /usr/bin/debmirror --debug -v --progress --passive \
> --pdiff=mirror --dist=sarge,etch --arch=i386,amd64 \
> /var/repository/ftp/debian
>
> debmirror fails (which is "normal" as amd64 doesn't exist for sarge) :
>
> Errors:
> ...
> Download of dists/sarge/Contents-amd64.gz failed
> ...
> Failed to download files (4 errors)!
>
> A patch to ignore the combo sarge+amd64 is included.
>
>
> -- System Information:
> Debian Release: 4.0
> APT prefers stable
> APT policy: (990, 'stable')
> Architecture: i386 (i686)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.18-3-vserver-686
> Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored:
> LC_ALL set to [EMAIL PROTECTED])
>
> --
> Mat
>
> ----------
>
> From: Mat <[EMAIL PROTECTED]>
> Subject: already fixed in 20060907
> To: [EMAIL PROTECTED]
> Cc: Yaroslav Halchenko <[EMAIL PROTECTED]>
> Date: Thu, 26 Apr 2007 17:14:05 +0200
> Reply-To: Mat <[EMAIL PROTECTED]>
>
> As Yaroslov mentioned it, the '--ignore-small-errors' fix the problem.
>
> (But I dislike using it, since I prefer when debmirror fails whenever an
> error occurs :) )
>
> Note:
> The .temp directory, even when patched to ignore amd64+sarge, is not
> removed... I will look further at it.
>
> --
> Mat
> ----------
Neither --ignore-small-errors nor the patch is correct imho.
Debmirro has some logic in it that detects non-existant combinations
like amd64+sarge by looking at the local mirror and Release file. That
logic has to be extended to cover the Contents file as
well. I.e. combinations for which no Packages.gz file is fetched must
not fetch Contents.gz either.
Concerning the .temp directory: The new mta files are always
downloaded into .temp and are only linked/copied to the real place at
the end of a successfull mirror run. In case of an error the .temp
must remain so the next run can reuse the downloaded data and in case
of a successfull run .temp takes no space since it only contains
hardlinked files. I think always keeping .temp is preferable as it
simplifies the code.
To summarize: .temp is kept intentionally.
MfG
Goswin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]