Debian Mirrorer <[EMAIL PROTECTED]> writes:
> Package: debmirror
> Version: 20070123
> Severity: normal
>
>
> I am mirroring custom repository which was originally generated using
> debarchiver -- so there is no pool. If no "--nocleanup" switch provided it
> removes source directories for debian distributions (etch,sid,sarge which have
> also symlinks testing,unstable,stable... I know - old links, not yet updated).
> But it operates fine on ubuntu repositories.
>
> Command line is
> debmirror /share/debmirror/fsl -e http -h apsy.gse.uni-magdeburg.de -r debian
> -d breezy,dapper,edgy,sid,etch,sarge -s main,non-free,contrib -a
> i386,amd64,powerpc,ia64 --ignore-small-errors --pdiff=none
There is no breezy on that server so your command line does not work
at all. You are also missing --ignore entries for your symlinks so I
expect them to get deleted on every run (but just the symlinks).
> And I am talking about directories such as
>
> /share/debmirror/fsl/dists/testing/non-free/source/science/
>
> which is mentioned in
>
> $> grep Directory fsl/dists/testing/non-free/source/Sources | uniq
> Directory: dists/testing/non-free/source/science
That file is irelevant. The new file in
.temp/fsl/dists/etch/non-free/source/Sources determines what gets
mirrored. Only after a successfull mirror run does this get
linked/copied into place so that the mirror remains consistent while
mirroring.
And that file only contains
Directory: dists/etch/main/source/science
not
Directory: dists/testing/main/source/science
> So if there is no "--nocleanup" debmirror removes
> /share/debmirror/fsl/dists/testing/non-free/source/science/ so that sources
> become no longer available although listed in Source.
>
> testing is linked to etch:
>
> $> ls -l fsl/dists/testing
> 0 lrwxrwxrwx 1 kdharris adm 4 Aug 4 2006 fsl/dists/testing -> etch/
> $> ls -ld fsl/dists/etch
> 4 drwxr-sr-x 5 debmirror adm 4096 May 2 00:43 fsl/dists/etch/
If testing is a link then find will not follow it and thus not delete
anything below it.
> Due to this bug I kept redownloading all the sources on each invocation of
> debmirror...
Running a corrected commandline works just fine here. Please run
debmirror with -v -p and send a logfile.
MfG
Goswin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]