[Mageia-dev] [changelog] [RPM] cauldron core/release meta-task-2-12.mga2

Balcaen John mikala at mageia.org
Wed Nov 23 04:05:42 CET 2011

Le mardi 22 novembre 2011 23:01:38, Maarten Vanraes a écrit :
> afaik it's a ordering of choices, mysql will be matched by it and be 1st
> choice. (i can be wrong of course; but anssi seemed to think this would be
> possible)
well i'm not sure that mysql is enough to choose lib64mysqldb18 over 
lib64mariadb18 that's why i'm asking.

> of course, there's another simple solution, i can put the preference on
> mariadb... :-P
> with regards to provides; are you sure all mysql requirements are with
> libmysqlclient.so.18?
I'm not sure that all of them requires it but there's some package at least :

urpmf --requires  libmysqlclient.so.18 |wc -l

& as an example here :

urpmq --requires qt4-database-plugin-mysql |grep mysqlclient
--requires behaviour changed, use --requires-recursive to get the old 
qt4-database-plugin-mysql: libmysqlclient.so.18()(64bit)

> maybe i have too much provides, but since it's a drop-in replacement, i see
> no evil in that.
Well here rpm is adding them automatically :)

rpm -qp --provides ./lib64mariadb18-5.5.15-0.4.mga2.x86_64.rpm
mariadb-shared-libs = 5.5.15-0.4.mga2
mariadb-shared = 5.5.15-0.4.mga2
lib64mariadb18 = 5.5.15-0.4.mga2
lib64mariadb18(x86-64) = 5.5.15-0.4.mga2

Balcaen John
Jabber-ID: mikala at jabber.littleboboy.net

More information about the Mageia-dev mailing list