Mailinglist Archive: opensuse-bugs (15134 mails)
| < Previous | Next > |
[Bug 327742] Browsing SLP sources in Add-Ons in Installation/ Update wants to install packages...
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Mon, 24 Sep 2007 06:29:40 -0600 (MDT)
- Message-id: <20070924122940.B255CCC7AC@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=327742#c2
--- Comment #2 from Lukas Ocilka <locilka@xxxxxxxxxx> 2007-09-24 06:29:40 MST ---
Ah, plus this one applied before...
Mode::installation() != Mode::update() (in installation)
Modified: trunk/add-on/src/add-on-workflow.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/add-on/src/add-on-workflow.ycp?rev=41050&r1=41049&r2=41050&view=diff
==============================================================================
--- trunk/add-on/src/add-on-workflow.ycp (original)
+++ trunk/add-on/src/add-on-workflow.ycp Mon Sep 24 14:18:14 2007
@@ -264,7 +264,9 @@
string required_package = "yast2-slp";
boolean installed_before = PackageSystem::Installed
(required_package);
- if (! Mode::installation () && ! installed_before) {
+ // in stage initial, packages can't be installed
+ // bugzilla #327742
+ if (! Stage::initial() && ! installed_before) {
// Tries to Check and Install packages
if (
! PackageSystem::CheckAndInstallPackagesInteractive
([required_package]) ||
--
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.
--- Comment #2 from Lukas Ocilka <locilka@xxxxxxxxxx> 2007-09-24 06:29:40 MST ---
Ah, plus this one applied before...
Mode::installation() != Mode::update() (in installation)
Modified: trunk/add-on/src/add-on-workflow.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/add-on/src/add-on-workflow.ycp?rev=41050&r1=41049&r2=41050&view=diff
==============================================================================
--- trunk/add-on/src/add-on-workflow.ycp (original)
+++ trunk/add-on/src/add-on-workflow.ycp Mon Sep 24 14:18:14 2007
@@ -264,7 +264,9 @@
string required_package = "yast2-slp";
boolean installed_before = PackageSystem::Installed
(required_package);
- if (! Mode::installation () && ! installed_before) {
+ // in stage initial, packages can't be installed
+ // bugzilla #327742
+ if (! Stage::initial() && ! installed_before) {
// Tries to Check and Install packages
if (
! PackageSystem::CheckAndInstallPackagesInteractive
([required_package]) ||
--
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 > |