diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-April/014329.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-April/014329.html | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-April/014329.html b/zarb-ml/mageia-dev/2012-April/014329.html new file mode 100644 index 000000000..8050f10fe --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/014329.html @@ -0,0 +1,132 @@ +<!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=%3CCAONrEtbXhkjuMi94etOG6e6o_w1WetesG4MQ1G32aFtjE-971g%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="014327.html"> + <LINK REL="Next" HREF="014331.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=%3CCAONrEtbXhkjuMi94etOG6e6o_w1WetesG4MQ1G32aFtjE-971g%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:36:09 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="014327.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper +</A></li> + <LI>Next message: <A HREF="014331.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#14329">[ date ]</a> + <a href="thread.html#14329">[ thread ]</a> + <a href="subject.html#14329">[ subject ]</a> + <a href="author.html#14329">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 16 April 2012 11:30, Thomas Backlund <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">tmb at mageia.org</A>> wrote: +>>>><i> That will work for urpmi that will upgrade rpm first before restarting +</I>>>>><i> but not for installer that doesn't need restarting itself (since we do +</I>>>>><i> not  use the system's urpmi). +</I>>>><i> +</I>>>><i> But AFAIK installer obeys rpm requires, +</I> +(...) + +>><i> Read again what I wrote: installer doesn't do any priority upgrade since +</I>>><i> it doesn't need upgrading itself and doesn't use the installed system +</I>>><i> rpm/urpmi +</I>><i> +</I>><i> Ah, you only mentioned system urpmi (not rpm) first time. +</I>><i> +</I>><i> but wont installer already use correct rpm/rpm-helper, since it's built from +</I>><i> current cauldron packages? +</I>><i> (and can be rebuilt again after updated rpm-helper) +</I> +installer runs packages post-scripts in their chrooted environment, +aka the installed system. + +>>><i> and since rpm is a priority package, it will be done in the beginning, +</I>>>><i> wont +</I>>>><i> it ? +</I>>><i> +</I>>><i> NO. +</I>><i> +</I>><i> but since it's already correct version in stage2, we should already be ok, +</I>><i> or... ? +</I> +Unless you add specific versionated requires, you've no guaranties that rpm +will get updated before foobar which has a systemd unit and requires +an up to date rpm-helper. + +>>>><i> A somewhat nicer fix would be to auto generate some +</I>>>>><i> 'needs-systemd-aware-rpm-helper' +</I>>>>><i> requires for packages providing systemd units, having rpm-helper +</I>>>>><i> fulfil this provides +</I>>>><i> +</I>>>><i> Then we wouldn't need this. +</I>>><i> +</I>>><i> Yes we do +</I>><i> +</I>><i> So instead of fixing one package we will have to fix many packages :/ +</I> +That has always be the way to do. +Any package should require what it needs for its post/pre scripts. +For systemd units, that means, an up to date rpm-helper. + +Another way would be to alter the installer (see install/pkgs & media.pm) +in order to install first urpmi by handling priority upgrades w/o +actually restarting +itself of course. (Might need urpmi changes). + +Or to explicitly upgrade rpm/rpm-helper first. +</PRE> + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="014327.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper +</A></li> + <LI>Next message: <A HREF="014331.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#14329">[ date ]</a> + <a href="thread.html#14329">[ thread ]</a> + <a href="subject.html#14329">[ subject ]</a> + <a href="author.html#14329">[ 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> |