all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Andy Tai <atai@atai.org>, help-guix@gnu.org
Subject: Re: conflict in profile: same package appears twice
Date: Tue, 21 Feb 2023 13:25:35 +0100	[thread overview]
Message-ID: <86lekr9pds.fsf@gmail.com> (raw)
In-Reply-To: <CAJsg1E8bQKioCFvMKEr_5gPQX3xehvo0ijV-jW313XuzfhtEzg@mail.gmail.com>

Hi,

On Mon, 20 Feb 2023 at 16:05, Andy Tai <atai@atai.org> wrote:
> atai@localhost /share/software/guix/guix.git$ guix install dconf
> The following package will be upgraded:
>    dconf (dependencies or package changed)
>
> guix install: error: profile contains conflicting entries for dconf
> guix install: error:   first entry: dconf@0.40.0
> /gnu/store/fl75cafmzy5zb3gn9f35mgq6gfrjl2wy-dconf-0.40.0
> guix install: error:   second entry: dconf@0.40.0
> /gnu/store/57rrnqnl8n55wsg7wwz7znpxnyfd4zba-dconf-0.40.0
> hint: You cannot have two different versions or variants of `dconf' in
> the same profile.

This means probably that you have another package that propagates dconf.

> Not sure how the same package, the same version, appears twice.  In
> any case, any simple way to fix this?

You can try to also update some other packages of this profile.

From my point of view, the best way to avoid this kind of issue is to
avoid an imperative management and do a declarative management using
manifest files.

<https://guix.gnu.org/cookbook/en/guix-cookbook.html#Guix-Profiles-in-Practice>

Cheers,
simon


      reply	other threads:[~2023-02-21 13:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-21  0:05 conflict in profile: same package appears twice Andy Tai
2023-02-21 12:25 ` Simon Tournier [this message]

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=86lekr9pds.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --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.