summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20100929/001513.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/20100929/001513.html')
-rw-r--r--zarb-ml/mageia-discuss/20100929/001513.html158
1 files changed, 158 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20100929/001513.html b/zarb-ml/mageia-discuss/20100929/001513.html
new file mode 100644
index 000000000..abef9f812
--- /dev/null
+++ b/zarb-ml/mageia-discuss/20100929/001513.html
@@ -0,0 +1,158 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-discuss] Package management system
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Package%20management%20system&In-Reply-To=%3C1285713656.3727.502.camel%40akroma.ephaone.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="001512.html">
+ <LINK REL="Next" HREF="001518.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-discuss] Package management system</H1>
+ <B>Michael Scherer</B>
+ <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Package%20management%20system&In-Reply-To=%3C1285713656.3727.502.camel%40akroma.ephaone.org%3E"
+ TITLE="[Mageia-discuss] Package management system">misc at zarb.org
+ </A><BR>
+ <I>Wed Sep 29 00:40:56 CEST 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="001512.html">[Mageia-discuss] Package management system
+</A></li>
+ <LI>Next message: <A HREF="001518.html">[Mageia-discuss] Package management system
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1513">[ date ]</a>
+ <a href="thread.html#1513">[ thread ]</a>
+ <a href="subject.html#1513">[ subject ]</a>
+ <a href="author.html#1513">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Le mardi 28 septembre 2010 &#224; 23:16 +0100, Richard a &#233;crit :
+&gt;<i> On Tuesday 28 September 2010 22:21:08 Michael Scherer wrote:
+</I>&gt;<i> &gt; Le mardi 28 septembre 2010 &#224; 20:20 +0100, Richard a &#233;crit :
+</I>&gt;<i> &gt; &gt; How much better could it possibly do this? What am I missing? You have
+</I>&gt;<i> &gt; &gt; both mentioned alternatives, some of which I know by name, but in what
+</I>&gt;<i> &gt; &gt; way do apt, yum or smart do this job any better?
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; Well, apt is likely to be faster, c++ may be the cause.
+</I>&gt;<i> &gt;
+</I>&gt;<i>
+</I>&gt;<i> That makes sudden sense; I had forgotten how slow rpmdrake has become while it
+</I>&gt;<i> builds and rebuilds its view of the installed packages inventory. I am
+</I>&gt;<i> guessing this is a &quot;compiled-v-interpreted&quot; thing. No matter how much faster
+</I>&gt;<i> is the PC I use, rpmdrake always seems to be slower than I would like/expect.
+</I>&gt;<i> That, of course, is where urpmi is most certainly your friend being many many
+</I>&gt;<i> times faster to get going - provided I already know the name of what I want
+</I>&gt;<i> to install.
+</I>
+Well, I think the rise of number packages, and the time needed to create
+graphical objects are the reason of the slowdown. Maybe there is also a
+regression somewhere. But you cannot really compare apt and rpmdrake,
+apt being command line only, there is no graphical interface creation
+overhead.
+
+&gt;<i> &gt; Smart is portable across type of repository. It also use a cleaner
+</I>&gt;<i> &gt; design or algorithm, according to his developer. Among nice features, it
+</I>&gt;<i> &gt; can draw graphs of the dependency, feature a command line shell or
+</I>&gt;<i> &gt; parallel downloads ( <A HREF="http://labix.org/smart/features">http://labix.org/smart/features</A> )
+</I>&gt;<i> &gt;
+</I>&gt;<i> A dependency graph would be pretty to look at, but it would be even better if
+</I>&gt;<i> the dependencies were to be colour coded to indicate which are true
+</I>&gt;<i> dependencies and which are just the packager's whim, and then give you the
+</I>&gt;<i> opportunity to ignore those which are neither wanted nor needed.
+</I>
+In rpm, all deps are usually required. You can have Suggests, but
+Suggests can be removed without troubles.
+
+
+&gt;<i> &gt; &gt; I realise that package managers are needed because humans have to add
+</I>&gt;<i> &gt; &gt; some intelligence in the form of what libraries are needed to get a
+</I>&gt;<i> &gt; &gt; program to run. I also know that sometimes humans get this badly wrong
+</I>&gt;<i> &gt; &gt; (try removing a library that you know will never be used and ask yourself
+</I>&gt;<i> &gt; &gt; why rpmdrake wants to remove over 200 packages with it!). Do other
+</I>&gt;<i> &gt; &gt; package managers manage to avoid this embarassing and frustrating
+</I>&gt;<i> &gt; &gt; behaviour? or is it that it is just easier to get it right with package
+</I>&gt;<i> &gt; &gt; types other than rpm?
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; Nope, the problem is not linked to rpm or deb. If a library is needed,
+</I>&gt;<i> &gt; it is needed, that's simple.
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; A system like emerge or macports ( macports is also in contribs, afaik )
+</I>&gt;<i> &gt; may however reduce the required dependency, depending on the software.
+</I>&gt;<i> &gt;
+</I>&gt;<i> I sense a tendency in your response to the same confusion I am suffering from.
+</I>&gt;<i> On the one hand I find it easy to imagine that the packager is in total
+</I>&gt;<i> control of what a package regards as a &quot;dependency&quot; but on the other hand I
+</I>&gt;<i> must accept that your comment on macports may also be true. I do not know yet
+</I>&gt;<i> how to reconcile these apparent contradictions and I am really hoping I don't
+</I>&gt;<i> have to become the master of package management on all conceivable platforms
+</I>&gt;<i> before I can understand enough of this to make sense of it.
+</I>&gt;<i>
+</I>&gt;<i> I can fully grasp the concept that the structure of a package (rpm or deb) is
+</I>&gt;<i> not relevant to the program's requirement for one or more libraries, but I do
+</I>&gt;<i> not understand by what mechanism &quot;nice to haves&quot; are included as &quot;must
+</I>&gt;<i> haves&quot;. Is it likely to be simply a packager's oversight or perhaps do some
+</I>&gt;<i> package types not enable the distinction to be made? If the latter, and rpms
+</I>&gt;<i> are of this type, then is ther a package type which does support the
+</I>&gt;<i> distinction?
+</I>
+Macports and emerge are more flexible because they compile packages.
+
+Ie, some packages are inflexible. They requires strict dependency.
+For exemple, mplayer requires glibc, and this cannot be changed.
+
+Some have compile time option ( --with, --without at ./configure ).
+
+Mplayer can be compiled without libvorbis support, but you need to
+recompile it to enable it if needed later. This is quite annoying for
+most users, so usually, the packager have to choose, and in mandriva, we
+usually enable this, as most people will prefer features, and those that
+have specific requirement are usually able to fix the issue themselves
+( or would use another distro like gentoo, we cannot target every
+possible use case )
+
+And some have runtime options ( ie a plugins system ). Mplayer is not
+like that, but totem ( based on gstreamer ) is. Ie, you can install
+totem, and it will not automatically pull every gstreamer plugin to read
+every file.
+
+Packager usually try to split plugin in separate rpms, but then you have
+to make a choice, ie do we want the plugin to be installed by default or
+not ? It is a packager choice usually.
+
+If you fill there is excessive requirement on a package, feel free to
+ask the packager his opinion, or open a bug. But I would recommend that
+you first take some time to understand how it work before opening lots
+of bugs regarding this .
+
+--
+Michael Scherer
+
+</PRE>
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="001512.html">[Mageia-discuss] Package management system
+</A></li>
+ <LI>Next message: <A HREF="001518.html">[Mageia-discuss] Package management system
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1513">[ date ]</a>
+ <a href="thread.html#1513">[ thread ]</a>
+ <a href="subject.html#1513">[ subject ]</a>
+ <a href="author.html#1513">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
+mailing list</a><br>
+</body></html>