diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-April/014344.html')
| -rw-r--r-- | zarb-ml/mageia-dev/2012-April/014344.html | 122 | 
1 files changed, 122 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-April/014344.html b/zarb-ml/mageia-dev/2012-April/014344.html new file mode 100644 index 000000000..acce209f1 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/014344.html @@ -0,0 +1,122 @@ +<!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=%3CCA%2BCX%2Bbg3WZU3%2BTBMAj6sYdtX_ekaZwapuO%3DgJtLkt__CjAgpjg%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="014341.html"> +   <LINK REL="Next"  HREF="014346.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> +   <H1>[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper</H1> +    <B>Pascal Terjan</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=%3CCA%2BCX%2Bbg3WZU3%2BTBMAj6sYdtX_ekaZwapuO%3DgJtLkt__CjAgpjg%40mail.gmail.com%3E" +       TITLE="[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper">pterjan at gmail.com +       </A><BR> +    <I>Mon Apr 16 15:35:46 CEST 2012</I> +    <P><UL> +        <LI>Previous message: <A HREF="014341.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper +</A></li> +        <LI>Next message: <A HREF="014346.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper +</A></li> +         <LI> <B>Messages sorted by:</B>  +              <a href="date.html#14344">[ date ]</a> +              <a href="thread.html#14344">[ thread ]</a> +              <a href="subject.html#14344">[ subject ]</a> +              <a href="author.html#14344">[ author ]</a> +         </LI> +       </UL> +    <HR>   +<!--beginarticle--> +<PRE>On Mon, Apr 16, 2012 at 14:23, Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote: +><i> 'Twas brillig, and Thierry Vignaud at 16/04/12 13:04 did gyre and gimble: +</I>>><i> On 16 April 2012 13:15, Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote: +</I>>>><i> <snip> +</I>>>><i> +</I>>>><i> So just to make sure I'm following this right: +</I>>>><i>  1. Versioned require will fix urpmi-based upgrades. +</I>>>><i> +</I>>>><i>  2. Installer (fresh-install) will be fine because basesystem-minimal +</I>>>><i> will pull in rpm which will pull in rpm-helper.  WE can be confident +</I>>>><i> this will happen early. +</I>>><i> +</I>>><i> No you cannot on upgrade. +</I>>><i> Package ordering will depends on versioned requires. +</I>><i> +</I>><i> I don't understand... This is a fresh install, where did upgrade come +</I>><i> into it? +</I>><i> +</I>><i> Just to clarify, the *fresh install* case is fine, it's the *upgrade* +</I>><i> case (which I specifically outlined separately below to avoid confusion +</I>><i> - although that clearly failed) that has the problem. Correct? +</I>><i> +</I>>>><i>  3. Installer (upgrade) will still be broken as it does not treat the +</I>>>><i> rpm package inside the chroot as any kind of priority update that is +</I>>>><i> installed early in the upgrade process. +</I>>><i> +</I>>><i> installer upgrade will be OK if systemd unit packages require a recent +</I>>><i> enough rpm-helper +</I>><i> +</I>><i> I wasn't really looking for solutions, just trying to understand the +</I>><i> problem clearly. Proposed solutions often cloud the thinking about the +</I>><i> problem itself. +</I>><i> +</I>><i> +</I>><i> So putting "Requires(pre): systemd-units" in all packages providing a +</I>><i> systemd unit seems wrong (it doesn't require systemd-units at all, so +</I>><i> this is a fake requires). +</I>><i> +</I>><i> Putting "Requires(pre): rpm-helper >= $ver" also seems somewhat overkill +</I>><i> and hard to maintain (e.g. what if some other new thing goes into +</I>><i> rpm-helper? We have to rebuild all packages that use any of the macros +</I>><i> inside it to get the appropriate versioned require which seems awkward +</I>><i> and hard to maintain[1]). +</I> +If a package requires a new script, it means there is a call to this +script, so I would expect that it was built after this new script was +added. +</PRE> + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> +    <HR> +    <P><UL> +        <!--threads--> +	<LI>Previous message: <A HREF="014341.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper +</A></li> +	<LI>Next message: <A HREF="014346.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper +</A></li> +         <LI> <B>Messages sorted by:</B>  +              <a href="date.html#14344">[ date ]</a> +              <a href="thread.html#14344">[ thread ]</a> +              <a href="subject.html#14344">[ subject ]</a> +              <a href="author.html#14344">[ 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>  | 
