Mailinglist Archive: opensuse-bugs (14451 mails)

< Previous Next >
[Bug 440184] no update repo is registered
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 30 Oct 2008 07:38:01 -0600 (MDT)
  • Message-id: <20081030133801.9AEF1245390@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=440184

User locilka@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=440184#c4





--- Comment #4 from Lukas Ocilka <locilka@xxxxxxxxxx> 2008-10-30 07:37:59 MDT
---
Possibly but not likely, sources are registered anyway, so storing them right
after that operation makes sense...

This should fix it:

Index: inst_extrasources.ycp
===================================================================
--- inst_extrasources.ycp (revision 52731)
+++ inst_extrasources.ycp (working copy)
@@ -24,6 +24,7 @@
// We need the constructor
import "ProductControl";
import "Installation";
+import "PackageCallbacks";

/**
* Returns list of maps of repositories to register. See bnc #381360.
@@ -184,6 +185,11 @@
y2milestone ("syncing to zmd");
boolean synced = SourceManager::SyncAddedAndDeleted (added_ids, []);
y2milestone ("sync status: %1", synced);
+
+ // If any source has been added, store the sources
+ // bnc #440184
+ y2milestone ("Some (%1) sources have been added, storing them...",
added_ids);
+ Pkg::SourceSaveAll();
}
}


--
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.

< Previous Next >
References