Author: coolo Date: Sun Mar 2 16:13:41 2008 New Revision: 8976 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8976&view=rev Log: next step to get my live cd working again Modified: trunk/libzypp/package/libzypp.changes trunk/libzypp/zypp/RepoManager.cc Modified: trunk/libzypp/package/libzypp.changes URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/package/libzypp.changes?rev=8976&r1=8975&r2=8976&view=diff ============================================================================== --- trunk/libzypp/package/libzypp.changes (original) +++ trunk/libzypp/package/libzypp.changes Sun Mar 2 16:13:41 2008 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Sun Mar 2 16:13:16 CET 2008 - coolo@suse.de + +- refresh metadata if there is no cache to unbreak compat with + kiwi (that relied on "zypper sa <url> <alias>" to create a repo + that "zypper in" could work on) + +------------------------------------------------------------------- Sun Mar 2 10:28:13 CET 2008 - coolo@suse.de - create cache directory before calling rpmdb2solv (in an empty Modified: trunk/libzypp/zypp/RepoManager.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/RepoManager.cc?rev=8976&r1=8975&r2=8976&view=diff ============================================================================== --- trunk/libzypp/zypp/RepoManager.cc (original) +++ trunk/libzypp/zypp/RepoManager.cc Sun Mar 2 16:13:41 2008 @@ -698,6 +698,12 @@ needs_cleaning = true; } + else { + /* if there is no cache at this point, we refresh the raw + in case this is the first time - if it's !autorefresh, + we may still refresh */ + refreshMetadata(info, RefreshIfNeeded, progressrcv ); + } ProgressData progress(100); callback::SendReport<ProgressReport> report; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org