Lucas Nussbaum <[EMAIL PROTECTED]> writes:

> On Tue, Jul 19, 2005 at 09:41:57PM +0200, Goswin von Brederlow <[EMAIL 
> PROTECTED]> wrote:
>> Lucas Nussbaum <[EMAIL PROTECTED]> writes:
>> 
>> > Package: debmirror
>> > Version: 20050207
>> > Followup-For: Bug #316461
>> >
>> > Hi,
>> >
>> > This bug might be much more dangerous than it looks like : it *seems*
>> > that it prevented debmirror from working properly. I only noticed
>> > today, when I saw that I hadn't any new version of packages available,
>> > even if I hadn't upgraded for the last 2 weeks or so.
>> >
>> > Lucas
>> 
>> Hi,
>> 
>> can you be more specific about this?
>
> Timeline :
> t0 : I upgrade my system using the local mirror. Everything goes fine.
>
> about 2 weeks later : I run apt-get update. No new upgrades are waiting
> (!) (I'm running sid)
>
> I suspect there's a problem with debmirror. I rerun debmirror by hand
> (debmirror --progress --verbose --dist=sid --nosource --passive
> --host=ftp.fr.debian.org --method=rsync --root=:debian
> --section=main,contrib,non-free --arch=i386 --cleanup --getcontents
> /home/space/debmirror/debian). Nothing strange in the debmirror output
> except the find warning.
>
> To check if there is really nothing new, I switch in
> /etc/apt/sources.list from my local mirror to another mirror. I apt-get
> update, some new packages show up. I stop, look for a bug in the BTS,
> find it, apply the patch, rerun debmirror, switch back to my local
> mirror in /etc/apt/sources.list, run apt-get update, and it goes fine.

Did you switch to ftp.fr.debian.org or to another mirror? Maybe
ftp.fr.debian.org didn't update or something? Sounds like a very big
coincidence that it gets fixed the day you notice but nothing else
makes sense. If you look at the code the find can't have any effect on
the mirroring:

# mirror cleanup for directories
if ($cleanup || $post_cleanup) {
  # Remove all empty directories. Not done as part of main cleanup
  # to prevent race problems with pool download code, which
  # makes directories.. Sort so they are removable in bottom-up
  # order.
  chdir($mirrordir) or die "chdir $mirrordir: $!";
  system("find . -type d -depth ! -name . ! -name .. -print0 | xargs -0 rmdir 2>
/dev/null") if (! $dry_run);
}

exit;

It does the find and then exits. All the mirroring has been done at
that point.

MfG
        Goswin

PS: I will get a new upload sponsored this week including the fix for
this.


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

Reply via email to