summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-April/014331.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-April/014331.html')
-rw-r--r--zarb-ml/mageia-dev/2012-April/014331.html143
1 files changed, 143 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-April/014331.html b/zarb-ml/mageia-dev/2012-April/014331.html
new file mode 100644
index 000000000..3f9549434
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-April/014331.html
@@ -0,0 +1,143 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RFC%3A%20Add%20versioned%20require%20in%20rpm%20on%20rpm-helper&In-Reply-To=%3C4F8BF52D.2080505%40mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="014329.html">
+ <LINK REL="Next" HREF="014332.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper</H1>
+ <B>Thomas Backlund</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RFC%3A%20Add%20versioned%20require%20in%20rpm%20on%20rpm-helper&In-Reply-To=%3C4F8BF52D.2080505%40mageia.org%3E"
+ TITLE="[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper">tmb at mageia.org
+ </A><BR>
+ <I>Mon Apr 16 12:32:13 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="014329.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
+</A></li>
+ <LI>Next message: <A HREF="014332.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#14331">[ date ]</a>
+ <a href="thread.html#14331">[ thread ]</a>
+ <a href="subject.html#14331">[ subject ]</a>
+ <a href="author.html#14331">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Thierry Vignaud skrev 16.4.2012 12:36:
+&gt;<i> On 16 April 2012 11:30, Thomas Backlund&lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">tmb at mageia.org</A>&gt; wrote:
+</I>&gt;&gt;<i> Ah, you only mentioned system urpmi (not rpm) first time.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> but wont installer already use correct rpm/rpm-helper, since it's built from
+</I>&gt;&gt;<i> current cauldron packages?
+</I>&gt;&gt;<i> (and can be rebuilt again after updated rpm-helper)
+</I>&gt;<i>
+</I>&gt;<i> installer runs packages post-scripts in their chrooted environment,
+</I>&gt;<i> aka the installed system.
+</I>&gt;<i>
+</I>
+
+Thanks for clarifying.
+
+&gt;&gt;&gt;&gt;<i> and since rpm is a priority package, it will be done in the beginning,
+</I>&gt;&gt;&gt;&gt;<i> wont
+</I>&gt;&gt;&gt;&gt;<i> it ?
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> NO.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> but since it's already correct version in stage2, we should already be ok,
+</I>&gt;&gt;<i> or... ?
+</I>&gt;<i>
+</I>&gt;<i> Unless you add specific versionated requires, you've no guaranties that rpm
+</I>&gt;<i> will get updated before foobar which has a systemd unit and requires
+</I>&gt;<i> an up to date rpm-helper.
+</I>&gt;<i>
+</I>
+Yep, that was why I thought adding versioned requires on rpm would be
+enough (wich it would be in urpmi case)
+
+&gt;&gt;&gt;&gt;&gt;<i> A somewhat nicer fix would be to auto generate some
+</I>&gt;&gt;&gt;&gt;&gt;<i> 'needs-systemd-aware-rpm-helper'
+</I>&gt;&gt;&gt;&gt;&gt;<i> requires for packages providing systemd units, having rpm-helper
+</I>&gt;&gt;&gt;&gt;&gt;<i> fulfil this provides
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> Then we wouldn't need this.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Yes we do
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> So instead of fixing one package we will have to fix many packages :/
+</I>&gt;<i>
+</I>&gt;<i> That has always be the way to do.
+</I>&gt;<i> Any package should require what it needs for its post/pre scripts.
+</I>
+Yeah, that's true.
+
+&gt;<i> For systemd units, that means, an up to date rpm-helper.
+</I>
+True.
+
+&gt;<i> Another way would be to alter the installer (see install/pkgs&amp; media.pm)
+</I>&gt;<i> in order to install first urpmi by handling priority upgrades w/o
+</I>&gt;<i> actually restarting
+</I>&gt;<i> itself of course. (Might need urpmi changes).
+</I>&gt;<i>
+</I>&gt;<i> Or to explicitly upgrade rpm/rpm-helper first.
+</I>
+Ok, so whatever we do decide, we need to fix it fast, we are supposed to
+release beta3 soon...
+
+Thinking some more on the issue, I guess the best way is to fix requires
+on all packages with systemd units as it will cover every way (besides
+--nodeps) people can install the rpms.
+
+--
+Thomas
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="014329.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
+</A></li>
+ <LI>Next message: <A HREF="014332.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#14331">[ date ]</a>
+ <a href="thread.html#14331">[ thread ]</a>
+ <a href="subject.html#14331">[ subject ]</a>
+ <a href="author.html#14331">[ 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>