MariaDB 10.2.12 update failed: missing shared.rpm

MSN

Verified User
Joined
Jan 16, 2018
Messages
7
When updating mariadb 10.2.11 to 10.2.12 with costumbuild 2.0 the update is rolled back because file MariaDB-10.2.12-centos7-x86_64-shared.rpm is not found.
That is correct. that file is not in /usr/local/directadmin/custombuild/mysql
 
Which version of CustomBuild 2.0 are you using?
Code:
./build version
The path names were all changed when MariaDB changed all of the rpm naming from lib versions to OS vesions, eg:
http://files1.directadmin.com/servi....12/MariaDB-10.2.12-centos7-x86_64-shared.rpm

Let us know the exact path the build script is trying to grab the rpm from so we can track down any issues, eg: Paste us the output from the wget error.

John
 
I am on 2.0.0 (rev: 1805), normaly using the plugin 2.0 - 1.0.18 but tried it in command line also.

The respons after dumping the databases:

Found /usr/local/directadmin/custombuild/mysql/MariaDB-10.2.12-centos7-x86_64-client.rpm
Found /usr/local/directadmin/custombuild/mysql/MariaDB-10.2.12-centos7-x86_64-devel.rpm
Found /usr/local/directadmin/custombuild/mysql/MariaDB-10.2.12-centos7-x86_64-server.rpm
Found /usr/local/directadmin/custombuild/mysql/MariaDB-10.2.12-centos7-x86_64-common.rpm
Found /usr/local/directadmin/custombuild/mysql/MariaDB-10.2.12-centos7-x86_64-compat.rpm
Installing dependencies...
Found /usr/local/directadmin/custombuild/mysql/
Found /usr/local/directadmin/custombuild/mysql/
Found /usr/local/directadmin/custombuild/mysql/MariaDB-10.2.12-centos7-x86_64-common.rpm
Installing libjemalloc...
Found /usr/local/directadmin/custombuild/mysql/jemalloc-3.6.0-1.el7.x86_64.rpm
Found /usr/local/directadmin/custombuild/mysql/jemalloc-devel-3.6.0-1.el7.x86_64.rpm
warning: /usr/local/directadmin/custombuild/mysql/jemalloc-3.6.0-1.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
Preparing... ########################################
Updating / installing...
jemalloc-3.6.0-1.el7 ########################################
jemalloc-devel-3.6.0-1.el7 ########################################
Installing galera...
Found /usr/local/directadmin/custombuild/mysql/galera-25.3.22-1.rhel7.el7.centos.x86_64.rpm
warning: /usr/local/directadmin/custombuild/mysql/galera-25.3.22-1.rhel7.el7.centos.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
Preparing... ########################################
Updating / installing...
galera-25.3.22-1.rhel7.el7.centos ########################################
Stopping mysqld ...
Updating MariaDB 10.2.11 to 10.2.12
warning: MariaDB-10.2.12-centos7-x86_64-client.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
error: open of MariaDB-10.2.12-centos7-x86_64-shared.rpm failed: No such file or directory
Failed to execute operation: Too many levels of symbolic links
Ensuring local-infile is disabled for security reasons in MySQL configuration file...
Giving mysqld a few seconds to start up...
This installation of MySQL is already upgraded to 10.2.11-MariaDB, use --force if you still need to run mysql_upgrade
 
I might have found it, likely a bug.
Can you confirm if your options.conf has this set:
Code:
mysql=5.7
there is a check that might be causing the MariaDB file not be downloaded.
If it is set to 5.7, try setting it to 5.6, then try again
Code:
./build mariadb
The mysql version check shouldn't have any bearing on the MariaDB install, hence the plausible bug.

Let us know what you find, and we'll look into a fix.

John
 
Mysql was on 5.7, changed it to 5.6 and a new mariadb build: perfect!
Thanks!
 
Back
Top