help-guix
[Top][All Lists]
Advanced

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

Re: guix package conflict


From: Carlo Zancanaro
Subject: Re: guix package conflict
Date: Sat, 10 Aug 2019 19:58:08 +1000
User-agent: mu4e 1.2.0; emacs 26.2


On Sat, Aug 10 2019, Ricardo Wurmus wrote:
hint: Try upgrading both `python-pycairo' and `gtk+', or remove one of them from the profile.

Have you tried that?

In particular, I think `guix package -i python-pycairo gtk+` might do the trick.

Does “guix package -u” not fix this problem for you? Or is this the output of “guix package -u”?

It looks like `guix package -u` compares the version of the package, and only updates if the package's version has changed (and even then, only if it has increased). This means that if a package's inputs (and thus its store hash) have changed, but its version has not, the version left in the profile will have outdated inputs, which can conflict if they are propagated. So `guix package -u` doesn't fix this problem.

`guix package -i`, on the other hand, just installs whatever it's told to, so it will install the same package at the same version, but with updated inputs. Then all the propagated inputs end up being the same, so there is no conflict.

Carlo



reply via email to

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