<!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=%3CCAONrEtY%2BY_bV0byBQXQ4rd_gVm%3DZnajs5k5Hjj3si0d5CRyOiw%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="014325.html">
   <LINK REL="Next"  HREF="014327.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper</H1>
    <B>Thierry Vignaud</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=%3CCAONrEtY%2BY_bV0byBQXQ4rd_gVm%3DZnajs5k5Hjj3si0d5CRyOiw%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper">thierry.vignaud at gmail.com
       </A><BR>
    <I>Mon Apr 16 11:20:29 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="014325.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
</A></li>
        <LI>Next message: <A HREF="014327.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#14326">[ date ]</a>
              <a href="thread.html#14326">[ thread ]</a>
              <a href="subject.html#14326">[ subject ]</a>
              <a href="author.html#14326">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 16 April 2012 11:18, Thomas Backlund &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">tmb at mageia.org</A>&gt; wrote:
&gt;&gt;&gt;&gt;<i> As per an earlier mail on this list regarding apache during upgrade from
</I>&gt;&gt;&gt;&gt;<i> mga1 to mga2, it seems that rpm-helper may not get installed earlier
</I>&gt;&gt;&gt;&gt;<i> enough to do systemd transitions for services.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Does anyone have any objection to adding a versioned require on
</I>&gt;&gt;&gt;&gt;<i> rpm-helper in the rpm spec such that we know it'll be installed early
</I>&gt;&gt;&gt;&gt;<i> when doing a distro upgrade? Any problems with this approach?
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> So assuming no one has any objections to this, I'll add it to rpm today.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> That will work for urpmi that will upgrade rpm first before restarting
</I>&gt;&gt;<i> but not for installer that doesn't need restarting itself (since we do
</I>&gt;&gt;<i> not &#160;use the system's urpmi).
</I>&gt;<i>
</I>&gt;<i> But AFAIK installer obeys rpm requires,
</I>
yes

&gt;<i> so when it installs rpm, it will put rpm-helper in same transaction, wont it ?
</I>
NO.
Read again what I wrote: installer doesn't do any priority upgrade since
it doesn't need upgrading itself and doesn't use the installed system rpm/urpmi

&gt;<i> and since rpm is a priority package, it will be done in the beginning, wont
</I>&gt;<i> it ?
</I>
NO.

&gt;&gt;<i> A somewhat nicer fix would be to auto generate some
</I>&gt;&gt;<i> 'needs-systemd-aware-rpm-helper'
</I>&gt;&gt;<i> requires for packages providing systemd units, having rpm-helper
</I>&gt;&gt;<i> fulfil this provides
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> Then we wouldn't need this.
</I>
Yes we do
</PRE>






















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="014325.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
</A></li>
	<LI>Next message: <A HREF="014327.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#14326">[ date ]</a>
              <a href="thread.html#14326">[ thread ]</a>
              <a href="subject.html#14326">[ subject ]</a>
              <a href="author.html#14326">[ 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>