summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-May/015682.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-May/015682.html')
-rw-r--r--zarb-ml/mageia-dev/2012-May/015682.html126
1 files changed, 126 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-May/015682.html b/zarb-ml/mageia-dev/2012-May/015682.html
new file mode 100644
index 000000000..720391c00
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-May/015682.html
@@ -0,0 +1,126 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] [soft-commits] [4522] - fix updates installation.
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B4522%5D%20-%20fix%20updates%20installation.&In-Reply-To=%3CCAONrEtZPnoSFZnGT%2B5zWGYsV5884ijWYxMik%2B%3D0rX3LUnqgp5g%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="015701.html">
+ <LINK REL="Next" HREF="015685.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] [soft-commits] [4522] - fix updates installation.</H1>
+ <B>Thierry Vignaud</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B4522%5D%20-%20fix%20updates%20installation.&In-Reply-To=%3CCAONrEtZPnoSFZnGT%2B5zWGYsV5884ijWYxMik%2B%3D0rX3LUnqgp5g%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] [soft-commits] [4522] - fix updates installation.">thierry.vignaud at gmail.com
+ </A><BR>
+ <I>Tue May 15 17:52:37 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="015701.html">[Mageia-dev] Freeze push: muparser
+</A></li>
+ <LI>Next message: <A HREF="015685.html">[Mageia-dev] [soft-commits] [4522] - fix updates installation.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#15682">[ date ]</a>
+ <a href="thread.html#15682">[ thread ]</a>
+ <a href="subject.html#15682">[ subject ]</a>
+ <a href="author.html#15682">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 15 May 2012 17:21, &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A>&gt; wrote:
+&gt;<i> Revision 4522 Author rtp Date 2012-05-15 17:21:44 +0200 (Tue, 15 May 2012)
+</I>&gt;<i>
+</I>&gt;<i> Log Message
+</I>&gt;<i>
+</I>&gt;<i> - fix updates installation. installUpdates was relying on
+</I>&gt;<i> urpmi_add_all_media
+</I>&gt;<i> return value different than 0, which was always 0 due to the 'undef $wait'
+</I>&gt;<i> line
+</I>
+This is bogus:
+- if we don't have rpmdrake installed
+- if we're in the text mode install.
+
+What you wanted was probably this:
+
+ my $val = run_program::rooted($::prefix, $binary, '&gt;&gt;', $log_file,
+'2&gt;&gt;', $log_file, @options);
+ undef $wait;
+ $val;
+}
+
+Also your description in NEWS is ... undescriptive
+&quot;fix detecting if adding update media succeeded&quot; would have been better
+
+
+&gt;<i> --- drakx/trunk/perl-install/NEWS 2012-05-15 08:08:22 UTC (rev 4521)
+</I>&gt;<i> +++ drakx/trunk/perl-install/NEWS 2012-05-15 15:21:44 UTC (rev 4522)
+</I>&gt;<i> @@ -1,3 +1,6 @@
+</I>&gt;<i> +Version 14.22 - 15 May 2012
+</I>&gt;<i> +- fix urpmi_add_all_media
+</I>&gt;<i> +
+</I>&gt;<i> Version 14.21 - 11 May 2012
+</I>&gt;<i>
+</I>&gt;<i> - harddrake2: allow writing 0 as module option, and forbid options
+</I>&gt;<i>
+</I>&gt;<i> Modified: drakx/trunk/perl-install/any.pm
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- drakx/trunk/perl-install/any.pm 2012-05-15 08:08:22 UTC (rev 4521)
+</I>&gt;<i> +++ drakx/trunk/perl-install/any.pm 2012-05-15 15:21:44 UTC (rev 4522)
+</I>&gt;<i> @@ -976,8 +976,8 @@
+</I>&gt;<i> local $ENV{URPMI_ADDMEDIA_REASON} = $reason;
+</I>&gt;<i>
+</I>&gt;<i> my $log_file = '/root/drakx/updates.log';
+</I>&gt;<i> + undef $wait;
+</I>&gt;<i> run_program::rooted($::prefix, $binary, '&gt;&gt;', $log_file, '2&gt;&gt;',
+</I>&gt;<i> $log_file, @options);
+</I>&gt;<i> - undef $wait;
+</I>&gt;<i> }
+</I></PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="015701.html">[Mageia-dev] Freeze push: muparser
+</A></li>
+ <LI>Next message: <A HREF="015685.html">[Mageia-dev] [soft-commits] [4522] - fix updates installation.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#15682">[ date ]</a>
+ <a href="thread.html#15682">[ thread ]</a>
+ <a href="subject.html#15682">[ subject ]</a>
+ <a href="author.html#15682">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>