summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20101009/001054.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/20101009/001054.html')
-rw-r--r--zarb-ml/mageia-dev/20101009/001054.html217
1 files changed, 217 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20101009/001054.html b/zarb-ml/mageia-dev/20101009/001054.html
new file mode 100644
index 000000000..db6fdb099
--- /dev/null
+++ b/zarb-ml/mageia-dev/20101009/001054.html
@@ -0,0 +1,217 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Proposal: Updating released versions (long post)
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Proposal%3A%20Updating%20released%20versions%20%28long%20post%29&In-Reply-To=%3Ci8p4l8%241b9%241%40dough.gmane.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="001053.html">
+ <LINK REL="Next" HREF="001070.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Proposal: Updating released versions (long post)</H1>
+ <B>Marc Par&#233;</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Proposal%3A%20Updating%20released%20versions%20%28long%20post%29&In-Reply-To=%3Ci8p4l8%241b9%241%40dough.gmane.org%3E"
+ TITLE="[Mageia-dev] Proposal: Updating released versions (long post)">marc at marcpare.com
+ </A><BR>
+ <I>Sat Oct 9 09:12:39 CEST 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="001053.html">[Mageia-dev] Proposal: Updating released versions (long post)
+</A></li>
+ <LI>Next message: <A HREF="001070.html">[Mageia-dev] Proposal: Updating released versions (long post)
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1054">[ date ]</a>
+ <a href="thread.html#1054">[ thread ]</a>
+ <a href="subject.html#1054">[ subject ]</a>
+ <a href="author.html#1054">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Le 2010-10-09 03:05, Margot a &#233;crit :
+&gt;<i> On Sat, 09 Oct 2010 02:15:18 -0400
+</I>&gt;<i> andr&#233;&lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">andr55 at laposte.net</A>&gt; wrote:
+</I>&gt;<i>
+</I>&gt;&gt;<i> Marc Par&#233; a &#233;crit :
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Le 2010-10-08 23:45, andr&#233; a &#233;crit :
+</I>&gt;&gt;&gt;&gt;<i> Frank Griffin a &#233;crit :
+</I>&gt;&gt;&gt;&gt;&gt;<i> Marc Par&#233; wrote:
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Thanks. So this thread is to see if there were a possibility
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> to programme a more efficient roll-back option so that it
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> would be more &quot;aware&quot; of the previous &quot;dependencies&quot; needs
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> for the previous version. Having &quot;double dependencies&quot; is
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> not so much of a problem, it is the rollback to a previous
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> version where the dependency confusion may occur, and, ONLY,
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> if an upgraded type of &quot;dependency&quot; thread had been
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> installed. (Sorry I may have used the wrong terms in the
+</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> last sentence).
+</I>&gt;&gt;&gt;&gt;&gt;<i> Well, sort of. It's not an issue of efficiency, but of
+</I>&gt;&gt;&gt;&gt;&gt;<i> convenience and just making it possible to do without
+</I>&gt;&gt;&gt;&gt;&gt;<i> resorting to manual use of the rpm
+</I>&gt;&gt;&gt;&gt;&gt;<i> command.
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> The rpm command &quot;knows&quot; that a new version replacing the old
+</I>&gt;&gt;&gt;&gt;&gt;<i> version supplies the same things that the old one did, so it
+</I>&gt;&gt;&gt;&gt;&gt;<i> will quietly allow the upgrade. It will also do what we need,
+</I>&gt;&gt;&gt;&gt;&gt;<i> i.e. go the other way and replace a newer version with an
+</I>&gt;&gt;&gt;&gt;&gt;<i> older one if you use the --oldpackage keyword. We just need
+</I>&gt;&gt;&gt;&gt;&gt;<i> urpmi to support its use
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> One thing that could facilitate this process, if the computer
+</I>&gt;&gt;&gt;&gt;<i> has a lot of free disk space, is to rename the files being
+</I>&gt;&gt;&gt;&gt;<i> removed (copying the configuration files), instead of erasing
+</I>&gt;&gt;&gt;&gt;<i> them. Although they will probably have to be erased
+</I>&gt;&gt;&gt;&gt;<i> eventually, since no computer has unlimited disk space.
+</I>&gt;&gt;&gt;&gt;<i> Keeping them long enough that a roll-back is no longer
+</I>&gt;&gt;&gt;&gt;<i> probable could be workable. Then a roll-back could be done
+</I>&gt;&gt;&gt;&gt;<i> very quickly, since the files are already on disk, and
+</I>&gt;&gt;&gt;&gt;<i> presumably reliably. Of course, if new data has been entered,
+</I>&gt;&gt;&gt;&gt;<i> and the format has been changed, this could be problematic.
+</I>&gt;&gt;&gt;&gt;<i> Note that configuration files that have been changed from the
+</I>&gt;&gt;&gt;&gt;<i> installation default are often already saved. (Generally
+</I>&gt;&gt;&gt;&gt;<i> &quot;.old&quot; is appended to the configuration file name, sometimes
+</I>&gt;&gt;&gt;&gt;<i> &quot;.new&quot; to the new configuration file.) This of course adds the
+</I>&gt;&gt;&gt;&gt;<i> maintenance task of removing the old files at some point - it
+</I>&gt;&gt;&gt;&gt;<i> could be done automatically according to some criteria, or the
+</I>&gt;&gt;&gt;&gt;<i> user could have to do it manually, perhaps after being
+</I>&gt;&gt;&gt;&gt;<i> prompted about it.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> (This rollback capability occurs with Microsoft products. The
+</I>&gt;&gt;&gt;&gt;<i> saved files are only removed manually, on user initiative,
+</I>&gt;&gt;&gt;&gt;<i> which partly explains the bloated size of a Microsoft
+</I>&gt;&gt;&gt;&gt;<i> installation over time.)
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> If renaming-instead-of-deleting is implemented, perhaps a &quot;do
+</I>&gt;&gt;&gt;&gt;<i> not keep old program files (useful if limited disk space)&quot;
+</I>&gt;&gt;&gt;&gt;<i> checkbox option would be useful for computers with less free
+</I>&gt;&gt;&gt;&gt;<i> disk space. Of course how much disk space is usable to save
+</I>&gt;&gt;&gt;&gt;<i> old programs on a computer depends on the disk space usage for
+</I>&gt;&gt;&gt;&gt;<i> other purposes over time.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> my 2 cents :)
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> - Andr&#233; (andre999)
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Not sure about this process. Instead of making it easier for a
+</I>&gt;&gt;&gt;<i> user, this would now make it more difficult to do and add
+</I>&gt;&gt;&gt;<i> another layer of knowledge for the new user. It would have to
+</I>&gt;&gt;&gt;<i> be a little more seamless than this.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> If there were a way at setup to establish the amount of
+</I>&gt;&gt;&gt;<i> remaining disk space at installation time, and if there were
+</I>&gt;&gt;&gt;<i> enough space to allow rollbacks without compromising the
+</I>&gt;&gt;&gt;<i> installation, then I guess the rollback could then be
+</I>&gt;&gt;&gt;<i> activated. The user could then be advised at this point that
+</I>&gt;&gt;&gt;<i> this was activated. If there was not enought disk space, a
+</I>&gt;&gt;&gt;<i> message could warn the user that software rollbacks would not
+</I>&gt;&gt;&gt;<i> be possible for lack lack of diskspace.
+</I>&gt;&gt;<i> The problem is not establishing the current free disk space, but
+</I>&gt;&gt;<i> how much to leave for use as temporary disk space for other
+</I>&gt;&gt;<i> applications. For example, if an enduser likes editing numerous
+</I>&gt;&gt;<i> large video files at the same time (maybe he makes movies), he
+</I>&gt;&gt;<i> could need a very large amount of temporary free disk space.
+</I>&gt;&gt;<i> Another user, with the same programs installed, might do
+</I>&gt;&gt;<i> primarily word processing and Internet, and only occasionally
+</I>&gt;&gt;<i> edit small videos, thus only needing a relatively small amount of
+</I>&gt;&gt;<i> temporary disk space. Of course, there could be an automatic
+</I>&gt;&gt;<i> default, adjustable via a configuration file.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> I guess then, in the MCC, if a user used the Backports and
+</I>&gt;&gt;&gt;<i> installed backported software, the rollback amount of diskspace
+</I>&gt;&gt;&gt;<i> could also be monitored at this level with perhaps an option to
+</I>&gt;&gt;&gt;<i> delete old programs that are now working well in their updated
+</I>&gt;&gt;&gt;<i> form.
+</I>&gt;&gt;<i> This sort of makes sense -- but it is not only the newly
+</I>&gt;&gt;<i> installed program which is of concern, but also other programs
+</I>&gt;&gt;<i> which may have the same dependancies (not counting the versions).
+</I>&gt;&gt;<i> It could take a considerable time before these other programs are
+</I>&gt;&gt;<i> executed, so it becomes a bit tricky.
+</I>&gt;&gt;<i> Probably why Microsoft decided to keep such programs by default.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Essentially that is why I would prefer backports to use versions
+</I>&gt;&gt;<i> of dependancies which correspond to the distro release. A bit
+</I>&gt;&gt;<i> more work for packagers, but a much more stable system.
+</I>&gt;&gt;<i> Then the rollback system would only affect the backported program
+</I>&gt;&gt;<i> and any programs directly dependant on that version. The problem
+</I>&gt;&gt;<i> becomes much simpler.
+</I>&gt;&gt;<i> Once the backported and dependant programs (which would be known
+</I>&gt;&gt;<i> in the database) have all been run without crashing, the user
+</I>&gt;&gt;<i> could be asked if the programs all worked satifactorily and it
+</I>&gt;&gt;<i> was ok to delete the backup.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> I guess this would take a bit of coding. But at least the use
+</I>&gt;&gt;&gt;<i> of Backports would make a little more sense with a rollback
+</I>&gt;&gt;&gt;<i> option in case an updated software installation did not work
+</I>&gt;&gt;&gt;<i> out.
+</I>&gt;&gt;<i> I definitely like the idea of a rollback option.
+</I>&gt;&gt;<i> However, another option which I would like to see is simply
+</I>&gt;&gt;<i> leaving the old program in place where possible without conflicts
+</I>&gt;&gt;<i> - and prompting for its deletion after the backport and
+</I>&gt;&gt;<i> dependancies have been run (with the same sort of information
+</I>&gt;&gt;<i> displayed) -- when rpmdrake/urpmi is subsequently accessed.
+</I>&gt;&gt;<i> In the case of problems with the backport, one would simply run
+</I>&gt;&gt;<i> the old program, which is still in place.
+</I>&gt;&gt;<i> Of course, there will often be conficts such that the old program
+</I>&gt;&gt;<i> can not be left in place, making rollbacks still useful.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Marc
+</I>&gt;&gt;<i> - Andr&#233; (andre999)
+</I>&gt;<i>
+</I>&gt;<i> There are already various options which can be run with urpmi, such
+</I>&gt;<i> as --noclean and --repackage (see man urpmi) and perhaps these
+</I>&gt;<i> could be incorporated into the GUI - with full simple explanations
+</I>&gt;<i> for the user on exactly what will happen if those options are
+</I>&gt;<i> chosen.
+</I>&gt;<i>
+</I>&gt;<i> For example:
+</I>&gt;<i> &quot;Select this option if you want to save the old version of the
+</I>&gt;<i> package that is being updated. If there is a problem with the new
+</I>&gt;<i> version, you will be able to uninstall it and go back to the older
+</I>&gt;<i> version. Warning: this option will use extra space on your disk.&quot;
+</I>&gt;<i>
+</I>&gt;<i> There could then be a list available showing all the saved older
+</I>&gt;<i> versions of packages - if, for instance, a user had saved 10 older
+</I>&gt;<i> versions of Firefox and knew that the most recent one worked
+</I>&gt;<i> perfectly, they could then safely delete the 9 older versions to
+</I>&gt;<i> reclaim some disk space.
+</I>&gt;<i>
+</I>
+I guess both of your suggestions would work Andr&#233; and Margot.
+
+So, this sounds like it could be something that could be worked out. I
+would prefer, as a user, Margot's process. Of course the user would have
+to be able to see the usage and re-claimed space due to his use or
+Backports. Just to keep informed.
+
+Marc
+
+</PRE>
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="001053.html">[Mageia-dev] Proposal: Updating released versions (long post)
+</A></li>
+ <LI>Next message: <A HREF="001070.html">[Mageia-dev] Proposal: Updating released versions (long post)
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1054">[ date ]</a>
+ <a href="thread.html#1054">[ thread ]</a>
+ <a href="subject.html#1054">[ subject ]</a>
+ <a href="author.html#1054">[ 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>