Subject: bug#52981: closed (Re: bug#52981: Flatpak GnuPG install conflicts with existing GnuPG install)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 03 Jan 2022 19:07:02 +0000

Your bug report

#52981: Flatpak GnuPG install conflicts with existing GnuPG install

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
52981: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52981
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#52981: Flatpak GnuPG install conflicts with existing GnuPG install
From: Leo Famulari <[email-masked]>
To: Erik Winkels <[email-masked]>
Cc: [email-masked]
Date: Mon, 3 Jan 2022 14:06:28 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

On Mon, Jan 03, 2022 at 05:28:17PM +0100, Erik Winkels wrote:
> guix install: error: profile contains conflicting entries for gnupg

This should be fixed with commit
0d15873d7e898110c12fd77d32258ab55e16e7eb

https://git.savannah.gnu.org/cgit/guix.git/commit/?id=0d15873d7e898110c12fd77d32258ab55e16e7eb

Subject: Flatpak GnuPG install conflicts with existing GnuPG install
From: Erik Winkels <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Mon, 3 Jan 2022 17:28:17 +0100 (CET)
List-Id: <debbugs-submit.debbugs.gnu.org>

When doing a `guix install flatpak` while having `gnupg` already installed as a user package I get this error:

```
$ guix package --list-installed
[...]
gnupg 2.2.32 out /gnu/store/75122spwjdkxxgd32gkkil3n7ifax8i5-gnupg-2.2.32

$ guix install flatpak
The following package will be installed:
flatpak 1.12.1
guix install: error: profile contains conflicting entries for gnupg
guix install: error: first entry: [email-masked] /gnu/store/0snfzd41n430ddpq316j9v2z5fn2y62m-gnupg-2.2.30
guix install: error: ... propagated from [email-masked]
guix install: error: second entry: [email-masked] /gnu/store/75122spwjdkxxgd32gkkil3n7ifax8i5-gnupg-2.2.32
hint: Try upgrading both `flatpak' and `gnupg', or remove one of them from the profile.

$ guix upgrade
guix upgrade: warning: nothing to do
```

Worse, initially the Flatpak install did not complain because I had GnuPG installed as a system package. After installing Flatpak `gpg` mostly stopped working with `gpg-agent` segfaulting. It took a while to figure out Flatpak's GnuPG was the culprit.

Regards,
Erik