GNU bug report logs - #52981
Flatpak GnuPG install conflicts with existing GnuPG install

Previous Next

Package: guix;

Reported by: Erik Winkels <aerique <at> xs4all.nl>

Date: Mon, 3 Jan 2022 17:12:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52981 in the body.
You can then email your comments to 52981 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#52981; Package guix. (Mon, 03 Jan 2022 17:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Erik Winkels <aerique <at> xs4all.nl>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 03 Jan 2022 17:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Erik Winkels <aerique <at> xs4all.nl>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: Flatpak GnuPG install conflicts with existing GnuPG install
Date: Mon, 3 Jan 2022 17:28:17 +0100 (CET)
[Message part 1 (text/plain, inline)]
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: gnupg <at> 2.2.30 /gnu/store/0snfzd41n430ddpq316j9v2z5fn2y62m-gnupg-2.2.30
guix install: error: ... propagated from flatpak <at> 1.12.1
guix install: error: second entry: gnupg <at> 2.2.32 /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
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#52981; Package guix. (Mon, 03 Jan 2022 18:57:02 GMT) Full text and rfc822 format available.

Message #8 received at 52981 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Erik Winkels <aerique <at> xs4all.nl>
Cc: 52981 <at> debbugs.gnu.org
Subject: Re: bug#52981: Flatpak GnuPG install conflicts with existing GnuPG
 install
Date: Mon, 3 Jan 2022 13:56:02 -0500
On Mon, Jan 03, 2022 at 05:28:17PM +0100, Erik Winkels wrote:
> 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: gnupg <at> 2.2.30 /gnu/store/0snfzd41n430ddpq316j9v2z5fn2y62m-gnupg-2.2.30
> guix install: error: ... propagated from flatpak <at> 1.12.1
> guix install: error: second entry: gnupg <at> 2.2.32 /gnu/store/75122spwjdkxxgd32gkkil3n7ifax8i5-gnupg-2.2.32
> hint: Try upgrading both `flatpak' and `gnupg', or remove one of them from the profile.

Thanks for the report. This is fallout from the fix for
<https://issues.guix.gnu.org/52483>, where GnuPG 2.2.30 was released
with significant bugs and we didn't notice until we'd already deployed
it for users.

Unfortunately, gnupg-2.2.30 has ~2400 dependent packages:

------
$ guix refresh -l gnupg <at> 2.2.30
Building the following 1324 packages would ensure 2425 dependent packages are rebuilt: [...]
------

So, we can't upgrade it directly on the master branch.

I'll look into upgrading Flatpak's dependency on GnuPG.

> 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.

Oof :(




Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Mon, 03 Jan 2022 19:07:01 GMT) Full text and rfc822 format available.

Notification sent to Erik Winkels <aerique <at> xs4all.nl>:
bug acknowledged by developer. (Mon, 03 Jan 2022 19:07:02 GMT) Full text and rfc822 format available.

Message #13 received at 52981-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Erik Winkels <aerique <at> xs4all.nl>
Cc: 52981-done <at> debbugs.gnu.org
Subject: Re: bug#52981: Flatpak GnuPG install conflicts with existing GnuPG
 install
Date: Mon, 3 Jan 2022 14:06:28 -0500
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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 01 Feb 2022 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.