[MDEV-25675] Package MariaDB-shared requires MariaDB-common, but none of the providers can be installed Created: 2021-05-12  Updated: 2021-06-16  Resolved: 2021-06-16

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform RedHat
Affects Version/s: 10.3
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Alex Assignee: Alexey Bychko (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: None


 Description   

I am trying to update the packages on my CentOS 8 server, but when I run sudo dnf update, the following message shows up:

    Last metadata expiration check: 0:43:34 ago on Wed 12 May 2021 11:59:25 AM CEST.
    Error: 
     Problem 1: package MariaDB-shared-10.3.29-1.el8.x86_64 requires MariaDB-common, but none of the providers can be installed
      - cannot install the best update candidate for package mariadb-connector-c-3.0.7-1.el8.x86_64
      - package MariaDB-common-10.3.27-1.el8.x86_64 is filtered out by modular filtering
      - package MariaDB-common-10.3.28-1.el8.x86_64 is filtered out by modular filtering
      - package MariaDB-common-10.3.29-1.el8.x86_64 is filtered out by modular filtering
     Problem 2: package MariaDB-shared-10.3.29-1.el8.x86_64 requires MariaDB-common, but none of the providers can be installed
      - cannot install the best update candidate for package mariadb-connector-c-config-3.0.7-1.el8.noarch
      - package MariaDB-common-10.3.27-1.el8.x86_64 is filtered out by modular filtering
      - package MariaDB-common-10.3.28-1.el8.x86_64 is filtered out by modular filtering
      - package MariaDB-common-10.3.29-1.el8.x86_64 is filtered out by modular filtering
    (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

There is a conflict with packages installed and packages that are available for update. How can I fix this problem so that everything updates smoothly?



 Comments   
Comment by Alexey Bychko (Inactive) [ 2021-05-17 ]

serg it's known issue. should I replace mariadb-connector-c with MariaDB-shared?

Comment by Sergei Golubchik [ 2021-05-21 ]

I don't understand, what is a known issue and where do you suggest to replace mariadb-connector-c with MariaDB-shared?

Comment by Alexey Bychko (Inactive) [ 2021-05-21 ]

my comment went to wrong ticket, sorry

Comment by Alexey Bychko (Inactive) [ 2021-06-02 ]

I'm sorry, I can't reproduce the issue. did you set the repository properly?

https://downloads.mariadb.org/mariadb/repositories/#distro=CentOS&distro_release=centos8-amd64--centos8&mirror=mephi&version=10.3

from your log I see 2 packages, mariadb-connector-c-config and mariadb-connector-c which mustn't exist on your system after MariaDB-server installation.
could you please attach the following details:
1 - "rpm -qa | grep -i mariadb" output
2 - your repository configuration(s) for MariaDB

thanks

Comment by Alexey Bychko (Inactive) [ 2021-06-02 ]

could you please check that your repo file contains

module_hotfixes=true

?

Comment by Alexey Bychko (Inactive) [ 2021-06-16 ]

tested according to official documentation, it works.
closing because of known issue with module_hotfixes=true on rhel-8

Generated at Thu Feb 08 09:39:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.