Re: Syncing the mirrors

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



Damjan Georgievski <gdamjan@xxxxxxxxx> writes:

>>> >>> - 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.

I don't get it. Why is it such a big problem?

If pacman tries to download a package that isn't on the mirror, quit it
and try it later...


[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