i know mariadb is replacing mysql.
so i was wondering how pkg_add will deal with it.

$ sudo pkg_add -ui
...
Can't update 
mysql-client-5.1.73v0+mysql-server-5.1.73p0v0->mariadb-client-10.0.13p0: no 
update found for mysql-server-5.1.73p0v0
Can't install p5-DBD-mysql-4.027->4.027p0: can't resolve 
mariadb-client-10.0.13p0
Can't install php-mysql-5.5.16->5.5.16p0: can't resolve mariadb-client-10.0.13p0
Can't install php-mysqli-5.5.16->5.5.16p0: can't resolve 
mariadb-client-10.0.13p0
...
$ sudo pkg_add mariadb-client
quirks-2.14 signed on 2014-09-16T00:29:46Z
Can't install mariadb-client-10.0.13p0 because of conflicts 
(mysql-server-5.1.73p0v0,mysql-client-5.1.73v0)
--- mariadb-client-10.0.13p0 -------------------
Can't install mariadb-client-10.0.13p0: conflicts


the second run is clear about the reason why things are
not happening.  however the first run is a bit
confusing i think. is this a limitation of pkg_add
or something is missing? (and i dont mean to
automatically remove conflicting bits, just a clearer
error message)

when i remove the mysql-* packages, and install the
mariadb ones, will it pick up /var/mysql as if nothing
happened?

-f
-- 
you will become rich and famous unless you don't.

Reply via email to