unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#52981: Flatpak GnuPG install conflicts with existing GnuPG install
@ 2022-01-03 16:28 Erik Winkels
  2022-01-03 18:56 ` Leo Famulari
  2022-01-03 19:06 ` Leo Famulari
  0 siblings, 2 replies; 3+ messages in thread
From: Erik Winkels @ 2022-01-03 16:28 UTC (permalink / raw)
  To: 52981

[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]

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@2.2.30 /gnu/store/0snfzd41n430ddpq316j9v2z5fn2y62m-gnupg-2.2.30
guix install: error: ... propagated from flatpak@1.12.1
guix install: error: second entry: gnupg@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

[-- Attachment #2: Type: text/html, Size: 2111 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#52981: Flatpak GnuPG install conflicts with existing GnuPG install
  2022-01-03 16:28 bug#52981: Flatpak GnuPG install conflicts with existing GnuPG install Erik Winkels
@ 2022-01-03 18:56 ` Leo Famulari
  2022-01-03 19:06 ` Leo Famulari
  1 sibling, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2022-01-03 18:56 UTC (permalink / raw)
  To: Erik Winkels; +Cc: 52981

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@2.2.30 /gnu/store/0snfzd41n430ddpq316j9v2z5fn2y62m-gnupg-2.2.30
> guix install: error: ... propagated from flatpak@1.12.1
> guix install: error: second entry: gnupg@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@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 :(




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#52981: Flatpak GnuPG install conflicts with existing GnuPG install
  2022-01-03 16:28 bug#52981: Flatpak GnuPG install conflicts with existing GnuPG install Erik Winkels
  2022-01-03 18:56 ` Leo Famulari
@ 2022-01-03 19:06 ` Leo Famulari
  1 sibling, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2022-01-03 19:06 UTC (permalink / raw)
  To: Erik Winkels; +Cc: 52981-done

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-03 19:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-03 16:28 bug#52981: Flatpak GnuPG install conflicts with existing GnuPG install Erik Winkels
2022-01-03 18:56 ` Leo Famulari
2022-01-03 19:06 ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).