http://bugzilla.opensuse.org/show_bug.cgi?id=1017195 Bug ID: 1017195 Summary: Unnecessary dependency of snapper on MESA Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: wagner-thomas@gmx.at QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hi! I have a headless virtual machine (just apache running and I connect via ssh) with Leap 42.1. Thus no Mesa or X installed. This maschine I wanted to upgrade to Leap 42.2. So, I replaced the 42.1 repos with the repos for 42.2. However, a "zypper dup --no-recommends" pulled Mesa with quite some other graphic related libX* and libdrm* packages. I dug around a bit and IMHO python-gobject has now a dependency on all the graphic stuff. Here is the dependency chain I found by trying to uninstall Mesa: ~ # rpm -e --test Mesa error: Failed dependencies: Mesa = 11.2.2 is needed by (installed) Mesa-libGL1-11.2.2-158.1.x86_64 ~ # rpm -e --test Mesa-lib Mesa-libEGL1 Mesa-libGL1 Mesa-libglapi0 ~ # rpm -e --test Mesa-libGL1 error: Failed dependencies: libGL.so.1()(64bit) is needed by (installed) libcairo2-1.15.2-4.2.x86_64 ~ # rpm -e --test libcairo2 error: Failed dependencies: libcairo.so.2()(64bit) is needed by (installed) libpango-1_0-0-1.40.1-1.5.x86_64 ~ # rpm -e --test libpango-1_0-0 error: Failed dependencies: libpango-1.0.so.0()(64bit) is needed by (installed) typelib-1_0-Pango-1_0-1.40.1-1.5.x86_64 libpangocairo-1.0.so.0()(64bit) is needed by (installed) typelib-1_0-Pango-1_0-1.40.1-1.5.x86_64 libpangoft2-1.0.so.0()(64bit) is needed by (installed) typelib-1_0-Pango-1_0-1.40.1-1.5.x86_64 libpangoxft-1.0.so.0()(64bit) is needed by (installed) typelib-1_0-Pango-1_0-1.40.1-1.5.x86_64 ~ # rpm -e --test typelib-1_0-Pango-1_0 error: Failed dependencies: typelib(Pango) is needed by (installed) python-gobject-3.20.1-3.2.x86_64 ~ # rpm -e --test python-gobject error: Failed dependencies: python-gobject is needed by (installed) dbus-1-python-1.2.0-7.34.x86_64 ~ # rpm -e --test dbus-1-python error: Failed dependencies: dbus-1-python is needed by (installed) snapper-zypp-plugin-0.3.3-2.2.noarch I dug around further and in the spec file of python-gobject [1] I found %global __requires_exclude typelib\\(%%namespaces\\) IMHO with this line the dependency on typelib should be stripped [2]. However, the dependency is still enforced an pulls all graphical stuff like Mesa even on headless machines. So, is there a good reason why Mesa is needed by snapper even on a headless machine, or is the purging of the typelib requirement not working properly? Best regards Thomas [1] https://build.opensuse.org/package/view_file/openSUSE:Leap:42.2/python-gobje... [2] https://forums.opensuse.org/showthread.php/499028-RPM-What-does-quot-global-... -- You are receiving this mail because: You are on the CC list for the bug.