Hi,
during my usual upgrading, I saw this error twice: =error: profile
contains conflicting entries for libxml2= and I cannot make sense of it.
First in a profile:
#+begin_src scheme
(specifications->manifest
(list "qemu"
"spice"
"spice-gtk"
"edk2-tools"
"ovmf-x86-64"
"ovmf-riscv64"
"ovmf-i686"
"ovmf-arm"
"ovmf-aarch64"
"virt-manager"
"bridge-utils"))
#+end_src
#+begin_src sh
$ guix package
--profile=/home/ck/.guix-extra-profiles/virtualization/virtualization
--manifest=/home/ck/.guix-manifests/virtualization.scm
The following packages will be installed:
bridge-utils 1.7.1
edk2-tools 202402
ovmf-aarch64 202402
ovmf-arm 202402
ovmf-i686 202402
ovmf-riscv64 202402
ovmf-x86-64 202402
qemu 10.1.0
spice 0.15.2
spice-gtk 0.42
virt-manager 5.0.0
guix package: error: profile contains conflicting entries for libxml2
guix package: error: first entry: [email protected]
/gnu/store/z44pnpm4b85rcdmqa0nkn4lwbcxc3gnk-libxml2-2.9.14
guix package: error: ... propagated from [email protected]
guix package: error: ... propagated from [email protected]
guix package: error: ... propagated from [email protected]
guix package: error: second entry: [email protected]
/gnu/store/ynq2bc7js81kdwi2h7anrknfb5l7bbm4-libxml2-2.14.5
guix package: error: ... propagated from [email protected]
guix package: error: ... propagated from [email protected]
hint: You cannot have two different versions or variants of `spice-gtk' in
the same profile.
#+end_src
This error is resolved when I remove =spice-gtk=. I do not remember why I added
it.
Is this obsolete? =spice-gtk= is a native-input for =spice=. But this seems to
have been so since 2021.
The second time is in the =system reconfigure=:
#+begin_src sh
$ sudo guix system reconfigure /home/ck/.guix-manifests/brak.scm
Password:
guix system: error: profile contains conflicting entries for libxml2
guix system: error: first entry: [email protected]
/gnu/store/z44pnpm4b85rcdmqa0nkn4lwbcxc3gnk-libxml2-2.9.14
guix system: error: ... propagated from [email protected]
guix system: error: ... propagated from [email protected]
guix system: error: second entry: [email protected]
/gnu/store/ynq2bc7js81kdwi2h7anrknfb5l7bbm4-libxml2-2.14.5
guix system: error: ... propagated from [email protected]
hint: Try upgrading both `evolution-data-server' and `mutter', or remove one
of them from the profile
#+end_src
The error does not say where =evolution-data-server= or =mutter= come from, so
I had a guess and removed =(service gnome-desktop-service-type)=.
This made the reconfigure succeed, but now I do not have Gnome available.
(I also tried adding back gnome and removing the other services (xfce and
plasma), but the error is the same.)