Joey Hess <[EMAIL PROTECTED]> writes:
> Package: debmirror
> Version: 20050118
> Severity: normal
>
> If there is some problem with the debmirror run, possibly due to a
> missing file in the Debian archive, then debmirror will report errors
> and abort, and will not move meta files out of the .temp directory.
> This has the result of turning what is possibly a very small mirror
> problem into a much larger one.
>
> Over the last few days, the debian archive has been missing a single
> .orig.tar.gz file of some obscure package (I forget which one). Due to
> this missing file, debmirror seems to have behaved as follows:
>
> 1. Download new Packages &etc to .temp directory.
> 2. Parse the files, clean up all old files in mirror that are not in
> the files.
> 3. Download new debs and sources.
> 4. Exit with error.
>
> This leaves the mirror with old Packages files that refer to already
> removed packages, which is probably much more inconsistent than if it
> just copied the .temp files into place after a few failures.
>
> To work around this I am now running debmirror with
> --ignore-small-errors. You should either make --ignore-small-errors the
> default or make --postcleanup default as either option avoids the
> problem I described.
The reason I haven't made --postcleanup the default is that it
increases the diskspace. But I guess compared to the overall mirror
size it is not that much and should be relatively harmless to make it
the default. I will change that.
The reason --ignore-small-errors isn't default is that it's new but it
seems to work fine. But I think I will leave this off by default. I
like to know about such inconsistencies and it is easy enough to
change on the command line or the conffig file. Turning it on would
also create major inconsistencies if the network connection or
upstream server realy dies.
MfG
Goswin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]