Re: Syncing the mirrors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>> >>> - download new packages
>> >>> - update db
>> >>> - delete old packages
>> >>>
>>
>> from http://www.debian.org/mirror/ftpmirror#how
>> ...
>> * MUST perform a 2-stage sync
>> ...
>> Rationale: if archive mirroring is done in a single stage, there will
>> be periods of time
>> during which the index files will reference files not yet mirrored.
>
> I must be missing something.. isn't --delete-after good enough?

you are missing the fact that it will download the database file
before it downloads the package files.
So if I "-Syu" at that time pacman will want to upgrade packages that
are not on the mirror.

Which is why mirrors must sync the database AFTER syncing the packages.



-- 
damjan


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux