* Upgrading profile error
@ 2022-10-19 20:45 André A. Gomes
2022-10-20 8:38 ` zimoun
0 siblings, 1 reply; 2+ messages in thread
From: André A. Gomes @ 2022-10-19 20:45 UTC (permalink / raw)
To: help-guix
Hi Guix,
I issued the following command:
$ guix package --upgrade emacs
--8<---------------cut here---------------start------------->8---
guix package: error: profile contains conflicting entries for gnupg
guix package: error: first entry: gnupg@2.2.32 /gnu/store/khviv1d2nhdm2ykaiva936b0jdfkmf9w-gnupg-2.2.32
guix package: error: ... propagated from emacs-pinentry@0.1-1.dcc9ba0
guix package: error: second entry: gnupg@2.2.32 /gnu/store/0jlw8kk0ll25lzbz939jaz4sbfkr8gqj-gnupg-2.2.32
guix package: error: ... propagated from emacs-pinentry@0.1-1.dcc9ba0
hint: You cannot have two different versions or variants of `emacs-pinentry' in the same
profile.
--8<---------------cut here---------------end--------------->8---
I don't understand what's going on here. Any piece of advice? Thank
you.
--
André A. Gomes
"You cannot even find the ruins..."
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Upgrading profile error
2022-10-19 20:45 Upgrading profile error André A. Gomes
@ 2022-10-20 8:38 ` zimoun
0 siblings, 0 replies; 2+ messages in thread
From: zimoun @ 2022-10-20 8:38 UTC (permalink / raw)
To: André A. Gomes, help-guix
Hi,
On mer., 19 oct. 2022 at 23:45, André A. Gomes <andremegafone@gmail.com> wrote:
> $ guix package --upgrade emacs
>
> --8<---------------cut here---------------start------------->8---
> guix package: error: profile contains conflicting entries for gnupg
> guix package: error: first entry: gnupg@2.2.32 /gnu/store/khviv1d2nhdm2ykaiva936b0jdfkmf9w-gnupg-2.2.32
> guix package: error: ... propagated from emacs-pinentry@0.1-1.dcc9ba0
> guix package: error: second entry: gnupg@2.2.32 /gnu/store/0jlw8kk0ll25lzbz939jaz4sbfkr8gqj-gnupg-2.2.32
> guix package: error: ... propagated from emacs-pinentry@0.1-1.dcc9ba0
> hint: You cannot have two different versions or variants of `emacs-pinentry' in the same
> profile.
> --8<---------------cut here---------------end--------------->8---
>
> I don't understand what's going on here. Any piece of advice? Thank
> you.
Well, it depends on what you already have in this profile. Yes, the
message can be confusing. :-)
BTW, instead of,
$ guix package --upgrade emacs
I think it is better to upgrade the complete manifest. See [1] for some
details. For instance,
When partially upgrading a profile, conflicts may arise (due to
diverging dependencies between the updated and the non-updated
packages) and they can be annoying to resolve
manually. Manifests remove this problem altogether since all
packages are always upgraded at once.
1: <https://guix.gnu.org/en/cookbook/en/guix-cookbook.html#Guix-Profiles-in-Practice>
Cheers,
simon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-20 8:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-19 20:45 Upgrading profile error André A. Gomes
2022-10-20 8:38 ` zimoun
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.