Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Plesk Installer fails on RHEL/AlmaLinux/Rocky Linux/CentOS 8 server with MariaDB: Version is not specified

 
2022almalinuxcentoscentos 8database

Symptoms

On a Plesk for Linux server on RHEL/AlmaLinux/Rocky Linux/CentOS 8 with MariaDB, Plesk Installer fails:

Unable to retrieve the information about the packages installed in the system:
Failed to read output from the rpm utility.
Error in Package::createFromCache: input line 60894: P:config(mariadb-connector-c) = -1
Version is not specified. Error in Version.cpp.

Or:

Error in Package::createFromCache: input line 32787: P:config(mariadb-connector-c-devel) = -1 

Cause

On February 12th, 2022, MariaDB released the following updated versions: 10.3.34, 10.4.24, 10.5.15, 10.6.7.
These updates contain bug MDEV-27834 that results in the incorrect "provides" in the package MariaDB-shared (and MariaDB-devel) that breaks Plesk Installer.

Resolution

Apply one of the following workarounds:

Downgrade the package

  1. Connect to the server using SSH.

  2. Downgrade the package MariaDB-shared:

    # yum downgrade MariaDB-shared

    Note: in case of the error message being mariadb-connector-c-devel, it's required also to downgrade MariaDB-devel

  3. Exclude the affected package to avoid it from being installed:

    Note: The name of the repository file /etc/yum.repos.d/MariaDB.repo is just an example, it can have a different name.

    • for MariaDB 10.3:

      # echo "exclude=MariaDB-shared-10.3.34-* MariaDB-devel-10.3.34-*" >> /etc/yum.repos.d/MariaDB.repo

    • for MariaDB 10.4:

      # echo "exclude=MariaDB-shared-10.4.24-* MariaDB-devel-10.4.24-*" >> /etc/yum.repos.d/MariaDB.repo

    • for MariaDB 10.5:

      # echo "exclude=MariaDB-shared-10.5.15-* MariaDB-devel-10.5.15-*" >> /etc/yum.repos.d/MariaDB.repo

    • for MariaDB 10.6:

      # echo "exclude=MariaDB-shared-10.6.7-* MariaDB-devel-10.6.7-*" >> /etc/yum.repos.d/MariaDB.repo

Update the RPM database only

  1. Connect to the server using SSH.

  2. Download and downgrade the package manually with keeping new libraries:

    • for MariaDB 10.3:

      # rpm -Uhv --oldpackage --justdb http://yum.mariadb.org/10.3/rhel8-amd64/rpms/MariaDB-shared-10.3.32-1.el8.x86_64.rpm

    • for MariaDB 10.4:

      # rpm -Uhv --oldpackage --justdb http://yum.mariadb.org/10.4/rhel8-amd64/rpms/MariaDB-shared-10.4.22-1.el8.x86_64.rpm

    • for MariaDB 10.5:

      # rpm -Uhv --oldpackage --justdb http://yum.mariadb.org/10.5/rhel8-amd64/rpms/MariaDB-shared-10.5.13-1.el8.x86_64.rpm

    • for MariaDB 10.6:

      # rpm -Uhv --oldpackage --justdb http://yum.mariadb.org/10.6/rhel8-amd64/rpms/MariaDB-shared-10.6.5-1.el8.x86_64.rpm

  3. Exclude the affected package to avoid it from being installed:

    Note: The name of the repository file /etc/yum.repos.d/MariaDB.repo is just an example, it can have a different name.

    • for MariaDB 10.3:

      # echo "exclude=MariaDB-shared-10.3.34-" >> /etc/yum.repos.d/MariaDB.repo

    • for MariaDB 10.4:

      # echo "exclude=MariaDB-shared-10.4.24-" >> /etc/yum.repos.d/MariaDB.repo

    • for MariaDB 10.5:

      # echo "exclude=MariaDB-shared-10.5.15-" >> /etc/yum.repos.d/MariaDB.repo

    • for MariaDB 10.6:

      # echo "exclude=MariaDB-shared-10.6.7-" >> /etc/yum.repos.d/MariaDB.repo

Note: It may be required to additionally downgrade other MariaDB-* packages. For example, if the error message provided by Plesk installer also contains mariadb-connector-c-devel apply steps from the article for MariaDB-devel package.

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Plesk with Centralized Database and Network File System

Read More »

Recommended OSs for Plesk

Read More »

CentOS Project Announces Early End-of-Life Date for CentOS 8

Read More »
Knowledge Base

Updating Plesk or system packages on CentOS 8 server fails: Failed to download metadata for repo: Cannot prepare internal mirrorlist: No URLs in mirrorlist

Read More »

Plesk and websites are inaccessible after updating Plesk to Obsidian 18.0.43 on RHEL 8-based OS: DB query failed: SQLSTATE[HY000] [2002] No such file or directory

Read More »

How to upgrade MySQL 5.5 to 5.6/5.7 or MariaDB 5.5 to 10.x on Linux

Read More »

System update fails on a Plesk server with AlmaLinux/CloudLinux: package plesk-php74-imagick requires libMagickCore, but none of the providers can be installed

Read More »

Hosting Wiki

  • Server Redundancy
  • Linux Containers
  • AMP
  • Bare Metal Server
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • Plesk
  • SQL database
  • NoSQL Database
  • Web Server
  • DNS Server
  • SSH
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family