Re: package managers [was: FatELF patches...]

From: Enrico Weigelt
Date: Tue Nov 10 2009 - 06:59:59 EST


* Mikulas Patocka <mikulas@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> Some Windows programs force upgrade, but not in yearly cycles, like Linux
> programs. Majority of programs still work on XP shipped in 2001.

You really use old, outdated software on production systems ?

> > Being able to upgrade at least Debian -- and others as well -- without the
> > need to attend the computer is IMHO one of Linux' biggest wins.
>
> When I did it (from Etch to Lenny), two programs that I have compiled
> manually ("vim" and "links") stopped working because Etch and Lenny have
> binary-incompatible libgpm.

Distro issue. If ABI changes, the binary package has get a different name.

> Static linking doesn't work for any program that needs plug-ins (i.e.
> you'd have one glibc statically linked into the program and another glibc
> dynamically linked with a plug-in and these two glibcs will beat each
> other).

Plugins are crap by design. Same situation like w/ kernel modules:
you need them compiled against the right version of the main program,
in fact: on binary packaging they are *part* of the main program which
just happen to be loaded on-demand. If you want to split them up into
several packages, you'll end up in a dependency nightmare.

> I mean this --- the distributions should agree on a common set of
> libraries and their versions (call this for example "Linux-2010
> standard"). This standard should include libraries that are used
> frequently, that have low occurence of bugs and security holes and that
> have never had an ABI change.

See the discussion on stable kernel module ABI.

> Software developers that claim compatibility with the standard will link
> standard libraries dynamically and must use static linking for all
> libraries not included in the standard. Or they can use dynamic linking
> and ship the non-standard library with the application in its private
> directory (so that nothing but that application links against it).

Yeah, ending up in the windows-world maintenance hell. Dozens of packages
will ship dozens of own library copies, making their own private changes,
not keeping up with upstream, so carrying around ancient bugs.

Wonderful idea.


cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/