This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Re: Nix fixes dependency hell on all Linux distributions

Posted by: Anonymous [ip: 66.17.143.99] on December 23, 2008 06:42 AM
>> This is just completely stupid. Debian hasn't had "Dependency hell" since apt was created.

That's correct; Debian, by itself, doesn't suffer dependency hell. In your world perhaps Debian, and nothing but Debian, is sufficient. Among developers and other advanced users, however, things aren't as simple.

Perhaps you need a modified version of glibc. Some people need exotic versions of compilers to build embedded systems. Some people must regression test many versions of the same software; for instance app X must be tested with 10 difference versions of libfoo. Other people wish to continue using a old program that relies on features that have been deprecated in newer versions of certain dependencies.

Apt and its ilk solve only the simple use case. Your ignorance of anything other than the simple use case doesn't make efforts to solve the harder cases stupid.

Other examples of attempts to solve the same problem are found at NetBSD (pkgsrc, which supports multi-version packages, uses indirection via symlinks very much like NIX, and builds independently of the host OS) and at Microsoft (.NET via shared, multi-version assemblies). Consider your own ignorance before declaring this or that "stupid".

#

Return to Nix fixes dependency hell on all Linux distributions