RepoManager::loadFromCache currently throws an exception if the solvfile can't be loaded (e.g. because the solv file format has changed). Would someone mind if we automatically try to rebuild the solv file in that case. It would be similar to try { repoManager.loadFromCache( nrepo ); } catch ( const Exception & exp ) { MIL << "Try to rebuild cache..." << endl; repoManager.cleanCache( nrepo ); repoManager.buildCache( nrepo ); repoManager.loadFromCache( nrepo ); } but performed inside the loadFromCache call. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org