rpm-ostree
rpm-ostree copied to clipboard
Doing 'override remove glibc.i686' fails
From a tree which already has glibc x86_64
and i686
, one gets an error when trying to remove it:
# rpm-ostree override remove glibc.i686
Checking out tree 89d3a08... done
error: Multiple packages match "glibc"
Somehow, libdnf is selecting both arches instead of just one.
Reproducer:
# rpm-ostree install glibc.i686
# ostree commit -b vmcheck --tree=ref=$pending_csum --fsync=no
# rpm-ostree cleanup -p
# rpm-ostree upgrade
# rpm-ostree override remove glibc.i686
I am running into this exact same issue when manually upgrading Mesa packages with locally built ones on Fedora Silverblue 38.
$ sudo rpm-ostree override replace mesa-filesystem-23.3.6-1.fc38.i686.rpm mesa-filesystem-23.3.6-1.fc38.x86_64.rpm mesa-vulkan-drivers-23.3.6-1.fc38.i686.rpm mesa-vulkan-drivers-23.3.6-1.fc38.x86_64.rpm mesa-libxatracker-23.3.6-1.fc38.i686.rpm mesa-libxatracker-23.3.6-1.fc38.x86_64.rpm mesa-libgbm-23.3.6-1.fc38.i686.rpm mesa-libgbm-23.3.6-1.fc38.x86_64.rpm mesa-libEGL-23.3.6-1.fc38.i686.rpm mesa-libEGL-23.3.6-1.fc38.x86_64.rpm mesa-libglapi-23.3.6-1.fc38.i686.rpm mesa-libglapi-23.3.6-1.fc38.x86_64.rpm mesa-dri-drivers-23.3.6-1.fc38.i686.rpm mesa-dri-drivers-23.3.6-1.fc38.x86_64.rpm mesa-libGL-debuginfo-23.3.6-1.fc38.i686.rpm mesa-libGL-debuginfo-23.3.6-1.fc38.x86_64.rpm mesa-va-drivers-23.3.6-1.fc38.i686.rpm mesa-va-drivers-23.3.6-1.fc38.x86_64.rpm mesa-vdpau-drivers-23.3.6-1.fc38.i686.rpm mesa-vdpau-drivers-23.3.6-1.fc38.x86_64.rpm
error: Multiple packages match "mesa-dri-drivers"
Same issue here on Bazzite, based on Fedora 40.
$ rpm-ostree search mesa-va-drivers-freeworld
===== Name Matched =====
mesa-va-drivers-freeworld : Mesa-based VA-API drivers
# rpm-ostree override remove mesa-va-drivers-freeworld
error: Multiple packages match "mesa-va-drivers-freeworld"
I have a very similar issue. Can't override remove 'ocl-icd' any tips on getting around removing multiple architectures?