Author: jsuchome Date: Wed Nov 21 09:33:57 2007 New Revision: 42241 URL: http://svn.opensuse.org/viewcvs/yast?rev=42241&view=rev Log: - report error of Pkg::SourceStartManager (#180172) - 2.13.64 Modified: branches/SuSE-SLE-10-SP2-Branch/online-update/VERSION branches/SuSE-SLE-10-SP2-Branch/online-update/package/yast2-online-update.changes branches/SuSE-SLE-10-SP2-Branch/online-update/src/OnlineUpdateCallbacks.ycp Modified: branches/SuSE-SLE-10-SP2-Branch/online-update/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/online-update/VERSION?rev=42241&r1=42240&r2=42241&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP2-Branch/online-update/VERSION (original) +++ branches/SuSE-SLE-10-SP2-Branch/online-update/VERSION Wed Nov 21 09:33:57 2007 @@ -1 +1 @@ -2.13.63 +2.13.64 Modified: branches/SuSE-SLE-10-SP2-Branch/online-update/package/yast2-online-update.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/online-update/package/yast2-online-update.changes?rev=42241&r1=42240&r2=42241&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP2-Branch/online-update/package/yast2-online-update.changes (original) +++ branches/SuSE-SLE-10-SP2-Branch/online-update/package/yast2-online-update.changes Wed Nov 21 09:33:57 2007 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Nov 21 09:20:22 CET 2007 - jsuchome@suse.cz + +- report error of Pkg::SourceStartManager (#180172) +- 2.13.64 + +------------------------------------------------------------------- Mon Nov 19 16:19:30 CET 2007 - jsuchome@suse.cz - reload the target before checking for new patches (#232247) Modified: branches/SuSE-SLE-10-SP2-Branch/online-update/src/OnlineUpdateCallbacks.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/online-update/src/OnlineUpdateCallbacks.ycp?rev=42241&r1=42240&r2=42241&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP2-Branch/online-update/src/OnlineUpdateCallbacks.ycp (original) +++ branches/SuSE-SLE-10-SP2-Branch/online-update/src/OnlineUpdateCallbacks.ycp Wed Nov 21 09:33:57 2007 @@ -13,6 +13,7 @@ import "OnlineUpdateDialogs"; import "PackageCallbacks"; import "Popup"; + import "Report"; integer total_progress = 0; @@ -489,7 +490,12 @@ global define void RefreshAllSources () { y2milestone("Refreshing all sources..."); - Pkg::SourceStartManager(true); + boolean mgr_ok = Pkg::SourceStartManager(true); + if (!mgr_ok) + { + // error popoup (detailed info follows) + Report::LongWarning(_("There was an error in the repository initialization.") + "\n" + Pkg::LastError ()); + } list