help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: warning: collision encountered


From: Ricardo Wurmus
Subject: Re: Fwd: warning: collision encountered
Date: Fri, 29 Jan 2016 08:25:09 +0100
User-agent: mu4e 0.9.13; emacs 24.5.1

carl hansen <address@hidden> writes:

> 2354 packages in profile

What command did you use to install 2354 packages into your personal
profile?  Why would you install 2354 packages in your profile?

There are packages that provide files of the same name; for example
“samtools-0.1” and “samtools” both provide “$out/bin/samtools”.  When
they are both installed in the same profile, there is an obvious
collision.  People don’t install both these packages into the same
profile, because there is no way to disambiguate the colliding files.
Instead they will install them into *different* profiles using something
like

    guix package -p /path/to/profile -i samtools

If you feel the need to install all available packages into your profile
you’re doing it wrong.  Each package has its own directory in
“/gnu/store”, but profiles are the union of the files of each of the
directories of selected packages; at this point collisions may arise.

To resolve serious collisions remove one or the other package from your
profile.  Install it in a separate profile instead.

~~ Ricardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]