From: Carlo Zancanaro <carlo@zancanaro.id.au>
To: help-guix@gnu.org
Cc: Andy Tai <atai@atai.org>
Subject: Re: guix package conflict
Date: Sat, 10 Aug 2019 19:58:08 +1000 [thread overview]
Message-ID: <87mugh8hqn.fsf@zancanaro.id.au> (raw)
In-Reply-To: <87y301v5hb.fsf@elephly.net>
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
next prev parent reply other threads:[~2019-08-10 9:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-10 5:24 guix package conflict Andy Tai
2019-08-10 7:34 ` Ricardo Wurmus
2019-08-10 9:58 ` Carlo Zancanaro [this message]
2019-08-11 7:18 ` Andy Tai
2019-08-11 17:26 ` Pierre Neidhardt
2019-08-11 19:00 ` Mark H Weaver
2019-08-11 21:01 ` Carlo Zancanaro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mugh8hqn.fsf@zancanaro.id.au \
--to=carlo@zancanaro.id.au \
--cc=atai@atai.org \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.