Author Login
Post Reply
Anssi Hannula wrote:
> Gustavo De Nardin (spuk) wrote:
>> * Frank Griffin <ftg@(protected)]:
>>> When a urpmi --auto-select fails because of a missing dependency, my
>>> experience is that it is almost always caused by the presence of an old
>>> synthesis or hdlist which doesn't reflect the missing package. For the
>>> package to actually be missing, it would have to have been uploaded
>>> significantly later than the package which needs it.
>> This is likely caused by use of rsync --delete (which is --delete-before by
>> default), or --delete-before.
>
>
> Just for the record, it isn't always --delete-before by default.
>
> Quoting rsync man page:
>> if none of the --delete-WHEN options are specified, rsync will choose the
>> --delete-during algorithm when talking to an rsync 3.0.0 or newer, and the --delete-before algorithm
>> when talking to an older rsync. See also --delete-delay and --delete-after.
I think Nanar mentioned this yonks ago with regards to how he updates DC
(forgive me if I'm misremembering!)
It's a three pass process.
1) Get new files but exclude media_info folder and don't delete anything.
2) Get new media_info folder
3) Delete old files
That way at any stage the tree is "stable".
Obviously Nanar can do this but it's a bit unrealistic to expect all
mirrors to use the same procedure.
Just thought I'd mention it.
(again apologies if I'm misremembering).
Col
--
+--------------------------+
| Colin Guthrie |
+--------------------------+
| cguthrie(at)mandriva.org |
| http://colin.guthr.ie/ |
+--------------------------+