[opensuse-factory] zypper dup from 42.1 to 42.2 pulls Mesa on headless VM
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" tries to pull 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. On the other hand snapper-zypp-plugin needs python-gobject. At the opensuse mailinglist I was told two things. Firstly, maybe a change in libcairo might be the reason for an indirect requirement on Mesa. Secondly, the people on opensuse-factory might be able to help. Now my question: How to upgrade from 42.1 to 42.2 without installing Mesa but keep snapper? Best regards Thomas -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2016-11-25 20:45, Thomas Wagner wrote:
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" tries to pull Mesa with quite some other graphic related libX* and libdrm* packages. I did the upgrade now, which installed Mesa and libX* and libdrm*. Doing a "zypper rm Mesa" would also removing snapper-zypp-plugin. So I tired to find the requirement-path between them by using rpm -q --requires / --whatrequires However there is no (at least I'm unable to find it). Is there another source for zypper for requirements besides the rpm requirements?
Thomas -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2016-11-29 15:48, Thomas Wagner wrote:
On 2016-11-25 20:45, Thomas Wagner wrote:
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" tries to pull Mesa with quite some other graphic related libX* and libdrm* packages. I did the upgrade now, which installed Mesa and libX* and libdrm*. Doing a "zypper rm Mesa" would also removing snapper-zypp-plugin. So I tired to find the requirement-path between them by using rpm -q --requires / --whatrequires However there is no (at least I'm unable to find it). Is there another source for zypper for requirements besides the rpm requirements?
Patterns. Recommends. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 2016-11-29 16:22, Carlos E. R. wrote:
Patterns. Recommends.
Thanks for the hint. Found out there are more like "supplements" which IMHO cannot be easily queried using zypper. However, rpm -e --test did the trick. Here is the dependency chain I found: ~ # 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. 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-... -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Carlos E. R.
-
Thomas Wagner