https://bugzilla.novell.com/show_bug.cgi?id=866257 https://bugzilla.novell.com/show_bug.cgi?id=866257#c7 --- Comment #7 from Dominique Leuenberger <dimstar@opensuse.org> 2014-09-12 10:41:15 UTC --- Thanks for the tip! That might actually work. - once zypp signals that 'all repos are refreshed' (I hope I can get this?) an external script could launch, ensuring to install the latest metadata from the meta datas into the right locations. Can't test your snippet above yet, as libzypp-bindings is 'too new in Factory' (It's actually not yet on the mirror). Assuming the code extract above gives, as it indicates, the location where the metadata is stored, it should be rather simple... only question for me left at this moment: - for rpm-md, I guess metadataPath() points to /var/cache/zypp/raw/<repo>/repodata (or to <repo>/?) and for yast2? to /var/cache/zypp/raw/<repo>/ or somewhere deeper? (doc for zypp is generally a bit 'sparse'..for metadataPath, it states: Pathname zypp::RepoInfo::metadataPath ( ) const Path where this repo metadata was read from. Note could be an empty pathname for repo infos created in memory. ) for type, i assume repo.type() would be the right thing to identify this as well. Anyway: once zypp-bindings hits the mirrors in the next factory sync, I will try to write a script that 'does the magic' of installing the stuff.. then we only need to hook it up to libzypp in the end. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.