From time to time I see that wrong Manifests are written by me. Last time it happened, I think it was due to me running in one terminal tab "emerge package" and, while the file was still being downloaded, me running "repoman manifest" for the same package and version in another terminal. Then, if the file was still being downloaded by the first "emerge" invocation, probably repoman should wait until any process related with fetching the distfiles are running :/ Is this being handled via some locks or similar? If that is not the issue, then, I don't understand why I still hit this wrong Manifests issue from time to time :S Thanks
(In reply to Pacho Ramos from comment #0) > Then, if the file was still being downloaded by the first "emerge" > invocation, probably repoman should wait until any process related with > fetching the distfiles are running Yeah, the problem is that it does not try to acquire a lock if the file exists, and we really need to use a separate file name for partial downloads, as suggested in bug #175612, comment #4.