• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Convert CentOS 8 -> AlmaLinux 8 (Version is not specified)

enerspace

Basic Pleskian
Username:

TITLE


Convert CentOS 8 -> AlmaLinux 8 (Version is not specified)

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

CentOS 8.5, Plesk Obsidian 18.0.41 Update 1

PROBLEM DESCRIPTION

When running the migration script from Almalinux: GitHub - AlmaLinux/almalinux-deploy: EL to AlmaLinux migration tool. the following error message appears:

Code:
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  1283: P:config(mariadb-connector-c) = -1
Version is not specified. Error in Version.cpp.
Not all packages were installed.
Visit https://support.plesk.com/ to search for a solution.

Plesk Log:
Code:
[2022-02-13 17:18:38.895659] autoinstaller: read output of rpm -qa --queryformat 'F:system_installed_brief_%{NAME}-%{VERSION}-%{RELEASE}.rpm\nN:%{NAME}\nE:%{EPOCH}\nV:%{VERSION}\nL:%{RELEASE}\nA:%{ARCH}\nf:%{INSTALLTIME}\nB:%{BUILDTIME}\n[P:%{PROVIDENAME} %{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}\n]X:\n'
[2022-02-13 17:18:38.936767] Warning: SystemCmd exit code was not checked. (Command was: 'rpm -qa --queryformat 'F:system_installed_brief_%{NAME}-%{VERSION}-%{RELEASE}.rpm\nN:%{NAME}\nE:%{EPOCH}\nV:%{VERSION}\nL:%{RELEASE}\nA:%{ARCH}\nf:%{INSTALLTIME}\nB:%{BUILDTIME}\n[P:%{PROVIDENAME} %{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}\n]X:\n' ').
[2022-02-13 17:18:38.937947] Warning: unhandled error in execution of command (141) : rpm -qa --queryformat 'F:system_installed_brief_%{NAME}-%{VERSION}-%{RELEASE}.rpm\nN:%{NAME}\nE:%{EPOCH}\nV:%{VERSION}\nL:%{RELEASE}\nA:%{ARCH}\nf:%{INSTALLTIME}\nB:%{BUILDTIME}\n[P:%{PROVIDENAME} %{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}\n]X:\n'
[2022-02-13 17:18:38.945661] Error: 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  1283: P:config(mariadb-connector-c) = -1
Version is not specified. Error in Version.cpp.
Not all packages were installed.
Visit https://support.plesk.com/ to search for a solution.

Output from (before Update): rpm -qa --queryformat 'F:system_installed_brief_%{NAME}-%{VERSION}-%{RELEASE}.rpm\nN:%{NAME}\nE:%{EPOCH}\nV:%{VERSION}\nL:%{RELEASE}\nA:%{ARCH}\nf:%{INSTALLTIME}\nB:%{BUILDTIME}\n[P:%{PROVIDENAME} %{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}\n]X:\n' | grep mariadb

Code:
P:gpg(MariaDB Package Signing Key <[email protected]>) = 4:cbcb082a1bb943db-511147a9
P:config(mariadb-connector-c) = 3.1.15-1
P:config(mariadb-connector-c-config) = 3.1.15-1
P:libmariadb.so.3()(64bit)
P:libmariadb.so.3(libmariadb_3)(64bit)
P:libmariadb.so.3(libmariadbclient_18)(64bit)
P:libmariadb.so.3(libmysqlclient_18)(64bit)
P:mariadb-connector-c = 3.1.15-1
P:mariadb-connector-c(x86-64) = 3.1.15-1
P:mariadb-connector-c-config = 3.1.15-1
P:mariadb-connector-c-config(x86-64) = 3.1.15-1
P:config(mariadb-server) = 3:10.5.13-1.el8
P:config(mariadb-server-utils) = 3:10.5.13-1.el8
P:libmariadbd.so.19()(64bit)
P:mariadb-server = 3:10.5.13-1.el8
P:mariadb-server(x86-64) = 3:10.5.13-1.el8
P:mariadb-server-utils = 3:10.5.13-1.el8
P:mariadb-server-utils(x86-64) = 3:10.5.13-1.el8
P:config(mariadb) = 3:10.5.13-1.el8
P:mariadb = 3:10.5.13-1.el8
P:mariadb(x86-64) = 3:10.5.13-1.el8
P:mariadb-galera = 3:10.5.13-1.el8
F:system_installed_brief_plesk-libmariadbclient-3.1-3.1.8-1centos.8.200603.1842.rpm
N:plesk-libmariadbclient-3.1
P:libmariadb.so.3()(64bit)
P:libmariadb.so.3(libmariadb_3)(64bit)
P:libmariadb.so.3(libmariadbclient_18)(64bit)
P:libmariadb.so.3(libmysqlclient_18)(64bit)
P:plesk-libmariadbclient-3.1 = 3.1.8-1centos.8.200603.1842
P:plesk-libmariadbclient-3.1(x86-64) = 3.1.8-1centos.8.200603.1842
P:config(mariadb-common) = 3:10.5.13-1.el8
P:config(mariadb-errmsg) = 3:10.5.13-1.el8
P:mariadb-common = 3:10.5.13-1.el8
P:mariadb-common(x86-64) = 3:10.5.13-1.el8
P:mariadb-errmsg = 3:10.5.13-1.el8
P:mariadb-errmsg(x86-64) = 3:10.5.13-1.el8
P:mariadb-galera-common = 3:10.5.13-1.el8

After Update:
Code:
P:config(mariadb-connector-c) = -1
P:config(mariadb-connector-c) = 3.1.16-1
P:config(mariadb-connector-c-config) = -1
P:config(mariadb-connector-c-config) = 3.1.16-1
P:libmariadb.so.3()(64bit)
P:libmariadb.so.3(libmariadb_3)(64bit)
P:libmariadb.so.3(libmariadbclient_18)(64bit)
P:libmariadb.so.3(libmysqlclient_18)(64bit)
P:mariadb-connector-c = -1
P:mariadb-connector-c = 3.1.16-1
P:mariadb-connector-c(x86-64) = -1
P:mariadb-connector-c(x86-64) = 3.1.16-1
P:mariadb-connector-c-config = -1
P:mariadb-connector-c-config = 3.1.16-1
P:mariadb-connector-c-config(x86-64) = -1
P:mariadb-connector-c-config(x86-64) = 3.1.16-1
P:config(mariadb) = 3:10.5.15-1.el8
P:mariadb = 3:10.5.15-1.el8
P:mariadb(x86-64) = 3:10.5.15-1.el8
P:mariadb-galera = 3:10.5.15-1.el8
P:config(mariadb-common) = 3:10.5.15-1.el8
P:config(mariadb-errmsg) = 3:10.5.15-1.el8
P:mariadb-common = 3:10.5.15-1.el8
P:mariadb-common(x86-64) = 3:10.5.15-1.el8
P:mariadb-errmsg = 3:10.5.15-1.el8
P:mariadb-errmsg(x86-64) = 3:10.5.15-1.el8
P:mariadb-galera-common = 3:10.5.15-1.el8
P:config(mariadb-server) = 3:10.5.15-1.el8
P:config(mariadb-server-utils) = 3:10.5.15-1.el8
P:libmariadbd.so.19()(64bit)
P:mariadb-server = 3:10.5.15-1.el8
P:mariadb-server(x86-64) = 3:10.5.15-1.el8
P:mariadb-server-utils = 3:10.5.15-1.el8
P:mariadb-server-utils(x86-64) = 3:10.5.15-1.el8
P:gpg(MariaDB Package Signing Key <[email protected]>) = 4:cbcb082a1bb943db-511147a9
F:system_installed_brief_plesk-libmariadbclient-3.1-3.1.8-1centos.8.200603.1842.rpm
N:plesk-libmariadbclient-3.1
P:libmariadb.so.3()(64bit)
P:libmariadb.so.3(libmariadb_3)(64bit)
P:libmariadb.so.3(libmariadbclient_18)(64bit)
P:libmariadb.so.3(libmysqlclient_18)(64bit)
P:plesk-libmariadbclient-3.1 = 3.1.8-1centos.8.200603.1842
P:plesk-libmariadbclient-3.1(x86-64) = 3.1.8-1centos.8.200603.1842

STEPS TO REPRODUCE

Install CentOS -> Install MariaDB -> Install Plesk -> Convert to AlmaLinux

ACTUAL RESULT

Installation is broken

EXPECTED RESULT

Successful installation

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Help with sorting out
 
Ok, we found the issue.

This is once again a bug in the latest MariaDB rollout from February 12. For example, the version MariaDB 10.6.7 is broken. Better to install MariaDB 10.6.5 at most.

The error does not only occur when upgrading to Alma Linux or Rocky Linux but also occurs regularly in the plesk-installer.
 
It is also happening on my VPS with AlmaLinux 8.5 on MariaDB versions 10.4 10.5 and 10.6.

[2022-02-14 21:24:42.175796] repository: Get brief packages info for all sources
[2022-02-14 21:24:42.176301] Checking for installed packages...
[2022-02-14 21:24:42.176359] autoinstaller: read output of rpm -qa --queryformat 'F:system_installed_brief_%{NAME}-%{VERSION}-%{RELEASE}.rpm\nN:%{NAME}\nE:%{EPOCH}\nV:%{VERSION}\nL:%{RELEASE}\nA:%{ARCH}\nf:%{INSTALLTIME}\nB:%{BUILDTIME}\n[P:%{PROVIDENAME} %{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}\n]X:\n'
[2022-02-14 21:24:42.674712] Warning: SystemCmd exit code was not checked. (Command was: 'rpm -qa --queryformat 'F:system_installed_brief_%{NAME}-%{VERSION}-%{RELEASE}.rpm\nN:%{NAME}\nE:%{EPOCH}\nV:%{VERSION}\nL:%{RELEASE}\nA:%{ARCH}\nf:%{INSTALLTIME}\nB:%{BUILDTIME}\n[P:%{PROVIDENAME} %{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}\n]X:\n' ').
[2022-02-14 21:24:42.677223] Warning: unhandled error in execution of command (141) : rpm -qa --queryformat 'F:system_installed_brief_%{NAME}-%{VERSION}-%{RELEASE}.rpm\nN:%{NAME}\nE:%{EPOCH}\nV:%{VERSION}\nL:%{RELEASE}\nA:%{ARCH}\nf:%{INSTALLTIME}\nB:%{BUILDTIME}\n[P:%{PROVIDENAME} %{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}\n]X:\n'
[2022-02-14 21:24:42.685202] Execute command /usr/local/psa/admin/bin/send-error-report install
[2022-02-14 21:24:42.701395] Error: 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 28035: P:config(mariadb-connector-c) = -1
Version is not specified. Error in Version.cpp.
Not all packages were installed.22:30 14-2-2022
Visit https://support.plesk.com/ to search for a solution.
[2022-02-14 21:26:27.172691] Environment locale name is 'en_US.UTF-8'
 
Back
Top