summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-April/014341.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-April/014341.html')
-rw-r--r--zarb-ml/mageia-dev/2012-April/014341.html148
1 files changed, 148 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-April/014341.html b/zarb-ml/mageia-dev/2012-April/014341.html
new file mode 100644
index 000000000..c273d74da
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-April/014341.html
@@ -0,0 +1,148 @@
+<!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=%3C4F8C1D64.6050909%40colin.guthr.ie%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="014340.html">
+ <LINK REL="Next" HREF="014344.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper</H1>
+ <B>Colin Guthrie</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=%3C4F8C1D64.6050909%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Mon Apr 16 15:23:48 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="014340.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
+</A></li>
+ <LI>Next message: <A HREF="014344.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#14341">[ date ]</a>
+ <a href="thread.html#14341">[ thread ]</a>
+ <a href="subject.html#14341">[ subject ]</a>
+ <a href="author.html#14341">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Thierry Vignaud at 16/04/12 13:04 did gyre and gimble:
+&gt;<i> On 16 April 2012 13:15, Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
+</I>&gt;&gt;<i> &lt;snip&gt;
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> So just to make sure I'm following this right:
+</I>&gt;&gt;<i> 1. Versioned require will fix urpmi-based upgrades.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> 2. Installer (fresh-install) will be fine because basesystem-minimal
+</I>&gt;&gt;<i> will pull in rpm which will pull in rpm-helper. WE can be confident
+</I>&gt;&gt;<i> this will happen early.
+</I>&gt;<i>
+</I>&gt;<i> No you cannot on upgrade.
+</I>&gt;<i> Package ordering will depends on versioned requires.
+</I>
+I don't understand... This is a fresh install, where did upgrade come
+into it?
+
+Just to clarify, the *fresh install* case is fine, it's the *upgrade*
+case (which I specifically outlined separately below to avoid confusion
+- although that clearly failed) that has the problem. Correct?
+
+&gt;&gt;<i> 3. Installer (upgrade) will still be broken as it does not treat the
+</I>&gt;&gt;<i> rpm package inside the chroot as any kind of priority update that is
+</I>&gt;&gt;<i> installed early in the upgrade process.
+</I>&gt;<i>
+</I>&gt;<i> installer upgrade will be OK if systemd unit packages require a recent
+</I>&gt;<i> enough rpm-helper
+</I>
+I wasn't really looking for solutions, just trying to understand the
+problem clearly. Proposed solutions often cloud the thinking about the
+problem itself.
+
+
+So putting &quot;Requires(pre): systemd-units&quot; in all packages providing a
+systemd unit seems wrong (it doesn't require systemd-units at all, so
+this is a fake requires).
+
+Putting &quot;Requires(pre): rpm-helper &gt;= $ver&quot; also seems somewhat overkill
+and hard to maintain (e.g. what if some other new thing goes into
+rpm-helper? We have to rebuild all packages that use any of the macros
+inside it to get the appropriate versioned require which seems awkward
+and hard to maintain[1]).
+
+Wouldn't it simply be easier to make the installer aware of priority
+updates? That way we don't need to maintain different or convoluted
+solutions for the same problem.
+
+I suspect problems like this have been present in the past but were less
+noticeable due to the minor differences in rpm-helper package. This time
+round it's obviously quite important!
+
+Col
+
+
+1. By &quot;hard to maintain&quot; I don't really mean in individual specs (it
+should be simple enough to parse out any use of the rpm-helper macros
+from a spec and automatically add a &quot;Requires(post|preun): rpm-helper &gt;=
+$curver&quot; automatically), but rather knowing to rebuild all the packages
+as and when needed. It would be nice to now worry about this as a packager.
+
+
+--
+
+Colin Guthrie
+colin(at)mageia.org
+<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
+
+Day Job:
+ Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
+Open Source:
+ Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
+ PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
+ Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="014340.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
+</A></li>
+ <LI>Next message: <A HREF="014344.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#14341">[ date ]</a>
+ <a href="thread.html#14341">[ thread ]</a>
+ <a href="subject.html#14341">[ subject ]</a>
+ <a href="author.html#14341">[ 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>