Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's not possible to run multiple adds at the same time #44

Open
jigfox opened this issue Sep 7, 2016 · 0 comments
Open

It's not possible to run multiple adds at the same time #44

jigfox opened this issue Sep 7, 2016 · 0 comments

Comments

@jigfox
Copy link

jigfox commented Sep 7, 2016

if you run multiple repositorio --repo=SOMEREPO --add=SOMEPACKAGE.rpm at the same time all but one will fail with the following message:

Cannot create/verify /some/folder/7/x86_64/./.repodata
Error running createrepo. at /usr/share/perl5/vendor_perl/Rex/Repositorio/Repository/Yum.pm line 296.
    Rex::Repositorio::Repository::Yum::_run_createrepo('Rex::Repositorio::Repository::Yum=HASH(0x27c0928)') called at /usr/share/perl5/vendor_perl/Rex/Repositorio/Repository/Yum.pm line 264
    Rex::Repositorio::Repository::Yum::add_file(undef, 'file', 'SOMEPACKAGE.rpm') called at /usr/share/perl5/vendor_perl/Rex/Repositorio.pm line 213
    Rex::Repositorio::add_file(undef, 'file', 'SOMEPACKAGE.rpm', 'repo', 'SOMEREPO') called at /usr/share/perl5/vendor_perl/Rex/Repositorio.pm line 85
    Rex::Repositorio::parse_cli_option('Rex::Repositorio=HASH(0x27980c8)', 'repo', 'SOMEREPO', 'add-file', 'SOMEPACKAGE.rpm') called at /usr/share/perl5/vendor_perl/Rex/Repositorio.pm line 68
    Rex::Repositorio::run('Rex::Repositorio=HASH(0x27980c8)', 'repo', 'SOMEREPO', 'add-file', 'SOMEPACKAGE.rpm') called at /usr/bin/repositorio line 74

SOMEPACKE is always another package for each parallel run, so I don't try to add the same package multiple times, but multiple different packages at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant