Jump to content
funtoo forums
  • 0
ainsley31415926

dev-db/mysql tries to install when updating mariadb

Question

mariadb is installed but if I try to update it , emerge tries to install mysql

 e -pu --tree mariadb

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge       ] dev-db/mariadb-10.2.14 [10.2.9] USE="client-libs%*"
[ebuild  N     ]  virtual/mysql-5.6-r9  USE="server -embedded -static"
[ebuild  N     ]   dev-db/mysql-5.6.39  USE="openssl perl server -debug -embedded -extraengine -jemalloc -latin1 -libressl -numa -profiling (-selinux) -static -static-libs -systemtap -tcmalloc {-test} -yassl"
[ebuild     U  ] dev-db/mariadb-10.2.14 [10.2.9] USE="client-libs%*"
[blocks B      ] dev-db/mariadb ("dev-db/mariadb" is blocking dev-db/mysql-5.6.39)
[blocks B      ] dev-db/mysql ("dev-db/mysql" is blocking dev-db/mariadb-10.2.14, dev-db/mariadb-10.2.9)

 

Share this post


Link to post
Share on other sites

13 answers to this question

Recommended Posts

  • 0

Interesting output. Somehow it seems to pull in mariadb twice but also mysql.

He is also pulling in an older version of virtual/mysql. Do you have virtual/mysql already installed on your system?

Do you need to have set the USE flag client-libs (Build the client libraries from the server package instead of the C Connector packages)?

Share this post


Link to post
Share on other sites
  • 0

I tried the client libraries  flag both ways and a number of other options, to no affect.

I also uninstalled, reinstalled  virtual/mysql which did not help

I eventually updated  mariadb with -O  and installed everything else individually

 

The problem still remains:

 

e -puND --tree world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge       ] virtual/mysql-5.6-r9
[ebuild  N     ]  dev-db/mysql-5.6.39  USE="openssl perl server -debug -embedded -extraengine -jemalloc -latin1 -libressl -numa -profiling (-selinux) -static -static-libs -systemtap -tcmalloc {-test} -yassl"
[blocks B      ] dev-db/mariadb ("dev-db/mariadb" is blocking dev-db/mysql-5.6.39)
[blocks B      ] dev-db/mysql ("dev-db/mysql" is blocking dev-db/mariadb-10.2.14)

 

I just installed Funtoo from scratch on this machine a couple of weeks ago.

Other Funtoo installs seem to have the same problem

 

Share this post


Link to post
Share on other sites
  • 0

 ego kit
/var/git/meta-repo (updated 3 hours 36 minutes ago):

  kit                  active branch        default              stability
  core-kit             1.0-prime            (same)               prime
  core-hw-kit          master               (same)               prime
  security-kit         1.0-prime            (same)               prime
  xorg-kit             1.19-prime           (same)               prime
  gnome-kit            3.20-prime           (same)               prime
  kde-kit              5.12-prime           (same)               prime
  media-kit            1.1-prime            (same)               prime
  perl-kit             5.24-prime           (same)               prime
  python-kit           3.4-prime            (same)               prime
  php-kit              master               (same)               prime
  java-kit             1.1-prime            (same)               prime
  ruby-kit             1.1-prime            (same)               prime
  haskell-kit          1.1-prime            (same)               prime
  ml-lang-kit          1.2-prime            (same)               prime
  lisp-scheme-kit      1.1-prime            (same)               prime
  lang-kit             1.1-prime            (same)               prime
  llvm-kit             1.2-prime            (same)               prime
  dev-kit              1.1-prime            (same)               prime
  xfce-kit             4.12-prime           (same)               prime
  desktop-kit          1.1-prime            (same)               prime
  editors-kit          master               (same)               prime
  net-kit              master               (same)               prime
  text-kit             master               (same)               prime
  science-kit          master               (same)               prime
  games-kit            master               (same)               prime
  nokit                master               (same)               prime

  NOTE: This information comes from /etc/ego.conf and meta-repo metadata. After making changes to ego.conf, be sure to run ego
  sync in so that the individual kit repositories on disk are synchronized with the kit branches shown above.
 

 equery d dev-db/mysql
 * These packages depend on dev-db/mysql:
virtual/libmysqlclient-18 (dev-db/mysql:0/18[client-libs(+),static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
virtual/mysql-5.6-r9 (=dev-db/mysql-5.6*[embedded?,server?,static?])

I did try reinstalling virtual/libmysqlclient

Share this post


Link to post
Share on other sites
  • 0

OK, you haven't switched to 1.2-prime yet. Might be an issue here but let's investigate further.

The dependencies look similar but your system pulls in virtual/mysql-5.6-r9 while mine pulls in virtual/mysql-5.6-r10. Which is because you are still on 1.1-prime.

But when I mask virtual/mysql-5.6-r10 on my system and try to reemerge virtual/mysql I get a similar output to you.

Could you try to unmask virtual/mysql-5.6-r10 on your system and see if that solves the problem?

Share this post


Link to post
Share on other sites
  • 0

I get

 

emerge: there are no ebuilds to satisfy "=virtual/mysql-5.6-r10".
eix virtual/mysql
[I] virtual/mysql [1]
     Available versions:  (~)5.5-r1 5.6-r6(0/18) (~)5.6-r7(0/18) (~)5.6-r8(0/18) 5.6-r9(0/18) {embedded minimal +server static static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  5.6-r9(0/18)(05:59:25 PM 05/13/2018)(server -embedded -static)
     Description:         Virtual for MySQL database server

Share this post


Link to post
Share on other sites
  • 0

Makes sense that ebuild will be available with 1.2-prime.

I would say you have two possibilities:

1- Make the upgrade to 1.2-prime

2- Open a bug that virtual/mysql-5.6-r10 will be made available for 1.1-prime as well

Share this post


Link to post
Share on other sites
  • 0

hmmmmm

The command my_print_defaults is installed by

 dev-db/mysql-connector-c

But if I try to install  dev-db/mysql-connector-c

I get

 -p dev-db/mysql-connector-c

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-db/mysql-connector-c-6.1.11  USE="ssl -static-libs"
[blocks B      ] dev-db/mysql-connector-c ("dev-db/mysql-connector-c" is blocking dev-db/mariadb-10.2.14)
[blocks B      ] dev-db/mariadb[client-libs(+)] ("dev-db/mariadb[client-libs(+)]" is blocking dev-db/mysql-connector-c-6.1.11)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  dev-db/mariadb-10.2.14:0/18::dev-kit, installed pulled in by
    dev-db/mariadb required by @selected

  dev-db/mysql-connector-c-6.1.11:0/18::dev-kit, ebuild scheduled for merge pulled in by
    dev-db/mysql-connector-c

 

 

 

Share this post


Link to post
Share on other sites
  • 0

It makes sense to use the USE flag "-client-libs" for mariadb when the mariadb-connector-c should be installed. When you look at https://wiki.gentoo.org/wiki/MariaDB:

client-libs Build the client libraries from the server package instead of the C Connector packages local

The problem at the moment is, that the description of some USE flags of packages are displaying '<unknown>' instead of the description. I already filed bug https://bugs.funtoo.org/browse/FL-5192 about that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×