Bug 1925723

Summary: gnome-boxes Provides internal libraries
Product: [Fedora] Fedora Reporter: Jerry James <loganjerry>
Component: gnome-boxesAssignee: Christophe Fergeau <cfergeau>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 33CC: cfergeau, feborges, fidencio, gnome-sig, klember, marcandre.lureau, rpm, zeenix
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-boxes-3.38.2-2.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-02 15:55:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jerry James 2021-02-06 00:19:13 UTC
Description of problem:
The libraries install in %{_libdir}/gnome-boxes wind up in the package's Provides, with the ultimate result that once gnome-boxes is installed, it cannot be uninstalled, due to a dependency chain that ultimately arrives at systemd.

Version-Release number of selected component (if applicable):
gnome-boxes-3.38.2-1.fc33.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install gnome-boxes
2. dnf remove gnome-boxes

Actual results:
DNF refuses to uninstall gnome-boxes, claiming that would result in systemd being uninstalled.

Expected results:
Gnome-boxes should be uninstallable.

Additional info:
$ rpm -q --provides gnome-boxes
application()
application(org.gnome.Boxes.desktop)
gnome-boxes = 3.38.2-1.fc33
gnome-boxes(x86-64) = 3.38.2-1.fc33
libgovf-0.1.so()(64bit)
libgtk-frdp-0.1.so()(64bit)
libhandy-0.0.so.0()(64bit)
metainfo()
metainfo(org.gnome.Boxes.appdata.xml)
mimehandler(application/x-cd-image)
mimehandler(x-scheme-handler/rdp)
mimehandler(x-scheme-handler/vnc)
$ rpm -q --whatprovides 'libhandy-0.0.so.0()(64bit)'
libhandy-0.0.13-6.fc33.x86_64
gnome-boxes-3.38.2-1.fc33.x86_64
$ rpm -q --whatprovides 'libgtk-frdp-0.1.so()(64bit)'
connections-0:3.38.1-1.fc33.x86_64
gnome-boxes-0:3.38.2-1.fc33.x86_64

Comment 1 Fedora Update System 2021-02-24 11:05:00 UTC
FEDORA-2021-3c65e9c024 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-3c65e9c024

Comment 2 Kalev Lember 2021-02-24 11:07:24 UTC
Thanks! I went ahead and pushed https://src.fedoraproject.org/rpms/gnome-boxes/c/5c8dedfadc5a2490aabd41d63d27838b8645f94d?branch=f33 to fix this (this was already fixed in rawhide and only needed backporting to F33).

Comment 3 Fedora Update System 2021-02-24 21:57:42 UTC
FEDORA-2021-3c65e9c024 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-3c65e9c024`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-3c65e9c024

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-03-02 15:55:03 UTC
FEDORA-2021-3c65e9c024 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.