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