On Tue, Oct 29, 2013 at 07:57:25PM +0100, Guillaume Gardet wrote: > > Le 29/10/2013 16:37, Guillaume Gardet a écrit : > > Le 29/10/2013 16:35, Stefan Dirsch a écrit : > >> On Tue, Oct 29, 2013 at 04:04:26PM +0100, Guillaume Gardet wrote: > >>> Ok. This is where I am not sure how to handle it correctly. > >>> How should I use "provide" and/or "obsolete" here? > >>> Is there any other package which provides same libs as Mesa, so that I > >>> take it as a template? > >>> Or any other packages providing libraries with the same names. > >>> > >>> Something like: > >>> Provides: Mesa-libGLESv2 > >>> is enough to not have install/deps conflicts? > >>> > >>> Should I add: > >>> Obsoletes: Mesa-libGLESv2 > >>> ? > >>> Is there any problem to provide and obsolete the same package? > >> No, just use both, i.e. > >> > >> Provides: Mesa-libGLESv2 > >> Obsoletes: Mesa-libGLESv2 > > Now, for a package, I have this error: > conflict for provider of libEGL.so.1 needed by Mesa, (provider Mesa-libEGL1 > is obsoleted by installed raspberrypi-gfx), conflict for provider of > libEGL.so.1 needed by libcairo2, (provider Mesa-libEGL1 is obsoleted by > installed raspberrypi-gfx). > > Any idea how to solve that?
# rpm -qplv raspberrypi-gfx-2013.10.18-1.1.armv6hl.rpm|grep -i -e egl -e gles -rw-r--r-- 1 root root 202534 Okt 29 19:19 /usr/lib/libEGL.so lrwxrwxrwx 1 root root 9 Okt 29 19:19 /usr/lib/libEGL.so.1 -> libEGL.so -rw-r--r-- 2 root root 104606 Okt 29 19:19 /usr/lib/libGLESv1_CM.so lrwxrwxrwx 1 root root 15 Okt 29 19:19 /usr/lib/libGLESv1_CM.so.1 -> libGLESv1_CM.so -rw-r--r-- 2 root root 104606 Okt 29 19:19 /usr/lib/libGLESv2.so lrwxrwxrwx 1 root root 12 Okt 29 19:19 /usr/lib/libGLESv2.so.2 -> libGLESv2.so This looks broken to me. In case you can't fix that (binary only crap I guess) try to provide the lib itself. Provides: libEGL.so.1 Provides: libGLESv1_CM.so.1 Provides: libGLESv2.so.2 Hope this helps somewhat. Thanks, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany -------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -------------------------------------------------------------- -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]
