Dependency error while installing MariaDB10.1 on RHEL 7.1 - mariadb

I am trying to install MariaDB 10.1 on RHEL 7.1 using following link
https://downloads.mariadb.org/mariadb/repositories/#mirror=Fibergrid&distro=RedHat&distro_release=rhel7-amd64--rhel7&version=10.1
I am Getting following error while installing
--> Running transaction check
---> Package MariaDB-server.x86_64 0:10.1.20-1.el7.centos will be installed
--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for package: MariaDB-server-10.1.20-1.el7.centos.x86_64
--> Processing Dependency: libsystemd.so.0()(64bit) for package: MariaDB-server-10.1.20-1.el7.centos.x86_64
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
--> Finished Dependency Resolution
Error: Package: MariaDB-server-10.1.20-1.el7.centos.x86_64 (mariadb)
Requires: libsystemd.so.0()(64bit)
Error: Package: MariaDB-server-10.1.20-1.el7.centos.x86_64 (mariadb)
Requires: libsystemd.so.0(LIBSYSTEMD_209)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Looks like the same issue was solved by Docker community
Their solution was to upgrade RHEL to 7.2 version and these problems should be gone
I had the same issue with Amazon Linux, but solution is different (solution can be found here)
Good luck.

Related

MariaDB upgrade on Red Hat blocked on the installing v10.9.2 due to missing package pv

The MariaDB upgrade of MariaDB seem to follow the same behaviour pattern of removing the old version, keeping the data, then installing the new version, such as Upgrading from MariaDB 10.3 to MariaDB 10.4, and the other version to version procedures are the same.
When upgrading from v10.3 to v10.9 on an RHEL 7 host, the process errored when installing the new version, saying, Error: Package: MariaDB-server-10.9.2-1.el7.centos.x86_64 (mariadb) Requires: pv.
I am new to the upgrade process, so I will highly appreciate any hints or suggestions.
Full screenshot:
[root#hostname lib]# yum install MariaDB-server MariaDB-client MariaDB-backup MariaDB-shared
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-backup.x86_64 0:10.9.2-1.el7.centos will be installed
--> Processing Dependency: libpmem.so.1(LIBPMEM_1.0)(64bit) for package: MariaDB-backup-10.9.2-1.el7.centos.x86_64
--> Processing Dependency: MariaDB-common for package: MariaDB-backup-10.9.2-1.el7.centos.x86_64
--> Processing Dependency: libpmem.so.1()(64bit) for package: MariaDB-backup-10.9.2-1.el7.centos.x86_64
--> Processing Dependency: libpcre2-8.so.0()(64bit) for package: MariaDB-backup-10.9.2-1.el7.centos.x86_64
---> Package MariaDB-client.x86_64 0:10.9.2-1.el7.centos will be installed
---> Package MariaDB-server.x86_64 0:10.9.2-1.el7.centos will be installed
--> Processing Dependency: galera-4 for package: MariaDB-server-10.9.2-1.el7.centos.x86_64
--> Processing Dependency: pv for package: MariaDB-server-10.9.2-1.el7.centos.x86_64
---> Package MariaDB-shared.x86_64 0:10.9.2-1.el7.centos will be installed
--> Running transaction check
---> Package MariaDB-common.x86_64 0:10.9.2-1.el7.centos will be installed
--> Processing Dependency: MariaDB-compat for package: MariaDB-common-10.9.2-1.el7.centos.x86_64
---> Package MariaDB-server.x86_64 0:10.9.2-1.el7.centos will be installed
--> Processing Dependency: pv for package: MariaDB-server-10.9.2-1.el7.centos.x86_64
---> Package galera-4.x86_64 0:26.4.12-1.el7.centos will be installed
--> Processing Dependency: socat for package: galera-4-26.4.12-1.el7.centos.x86_64
---> Package libpmem.x86_64 0:1.5.1-2.1.el7 will be installed
---> Package pcre2.x86_64 0:10.23-2.el7 will be installed
--> Running transaction check
---> Package MariaDB-compat.x86_64 0:10.9.2-1.el7.centos will be installed
---> Package MariaDB-server.x86_64 0:10.9.2-1.el7.centos will be installed
--> Processing Dependency: pv for package: MariaDB-server-10.9.2-1.el7.centos.x86_64
---> Package socat.x86_64 0:1.7.3.2-2.el7 will be installed
--> Finished Dependency Resolution
Error: Package: MariaDB-server-10.9.2-1.el7.centos.x86_64 (mariadb)
Requires: pv
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: MariaDB-server-10.9.2-1.el7.centos.x86_64 (mariadb)
Requires: pv
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root#hostname lib]#
pv is in the EPEL repository.
One you enable this repository, pv will be pulled in as the dependency from there.

R - XLConnectJars install fails because rJava is not installed correctly

I am trying to install XLConnectJars to R and I keep getting the following error despite having Java DK and rJava installed?
Error: Package as namespace load failed for 'XLConnectJars'
.onLoad failed om LoadNamespace() for 'rJava', details:
call: library.dynam("rJava",pkgname,libname)
error: DLL 'rJava' not found: maybe not installed for this architecture?
Any help greatly appreciated!
XLConnectJars is a support package used by XLConnect, a platform-independent interface to Microsoft Excel. In order for XLConnectJars to install correctly, one must also install the rJava package.
The error noted in the OP indicates that rJava did not install correctly.
error: DLL 'rJava' not found: maybe not installed for this architecture?
Many people encounter problems installing rJava because it cannot access the Java Runtime from the operating system. Solutions to the "unable to access Java runtime" problem vary by operating system.
Windows
People often have 32-bit Java installed and then use 64-bit R. The 64-bit version of R requires the 64-bit version of Java.
Solution: Install the 64-bit version of the Java Runtime for Windows from the Java Download web page.
MacOS
Details to configure rJava on MacOS are covered in another SO answer I posted, Unable to load rJava in RStudio, which I am reposting here for convenience.
There is a very specific sequence of steps that must be taken to get rJava to work on a Macbook, as documented in rJava Issues #86.
Download and install Java from Oracle
Uninstall any previously installed version of rJava
Add JAVA_HOME to your .bashrc
Close & restart terminal, R and RStudio sessions so they pick up the updated JAVA_HOME
Use install.packages() to install rJava
See the URL link above for additional details on each step.
Ubuntu Linux
Use the Advanced Packaging Tool to install Java, then reconfigure Java support in R.
sudo apt-get install openjdk-8-jdk # openjdk-9-jdk has some installation issues
sudo R CMD javareconf
Once these steps are completed, install the XLConnectJars package with install.packages("XLConnectJars").
NOTE: some of this content is adapted from an article I previously posted on my Github site, Common Problems with Java and the xlsx Package.

php55w-common conflict when adding php-fpm

So I am trying to add php-fpm to have it work with nginx. But the issue I am having is I already have some other php stuff in there like php-common and now it's having conflicts. So centOS is suggesting I use --skip-broken but i'm not sure if that's the best way to go? Would there be any issues if I do end up using that to install php-fpm?
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: dallas.tx.mirror.xygenhosting.com
* epel: www.gtlib.gatech.edu
* extras: mirror.millry.co
* updates: mirror.cs.vt.edu
* webtatic: us-east.repo.webtatic.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-fpm.x86_64 0:5.3.3-27.el6_5.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5.1 for package: php-fpm-5.3.3-27.el6_5.1.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-27.el6_5.1 will be installed
--> Processing Conflict: php55w-common-5.5.16-1.w6.x86_64 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
Error: php55w-common conflicts with php-common-5.3.3-27.el6_5.1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
If you know what you are doing, you can upgrade PHP by:
yum install yum-plugin-replace
yum replace php-common --replace-with=php55w-common
It will likely give you a message “WARNING: Unable to resolve all providers …”. This is normal, and you can continue by tying “y“. You will be given a chance to see what packages will be installed and removed before again being given a chance to confirm.
Then you can continue with your previous installation command

error: Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)

I want to install sphinx on Centos 6.4 but i get errors.
What can i do so i can install sphinx? I have searcged around but can only find i need to reinstall mysql (yeah, that is not what i'm looking for. Also reinstalling the VPS is not a good solution ;-))
[root#server01 src]# yum install --nogpgcheck sphinx-2.1.5-1.rhel6.x86_64.rpm
---------------------
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: sphinx-2.1.5-1.rhel6.x86_64
--> Finished Dependency Resolution
**Error: Package: sphinx-2.1.5-1.rhel6.x86_64 (/sphinx-2.1.5-1.rhel6.x86_64)
Requires: libmysqlclient.so.16()(64bit)
Error: Package: sphinx-2.1.5-1.rhel6.x86_64 (/sphinx-2.1.5-1.rhel6.x86_64)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)**
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
You just need to install the MySQL compat package which will provide libmysqlclient.so.16
Go to http://dev.mysql.com/downloads/mysql/ and change the platform selector to RedHat Enterprise Linux and look for the "Red Hat Enterprise Linux 6 / Oracle Linux 6 (x86, 64-bit), RPM Package
Compatibility Libraries"
Once you install that, you can then install Sphinx.

Missing Dependency: php-common = 5.3.14-1.el5.remi

I try to install PHP-FPM for NGINX then get same errors, with remi repository.
Maybe have version conflate with php-common, How can i fix it.
yum --enablerepo=remi install php-fpm
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.mirror.transip.nl
* extras: centos.mirror.transip.nl
* remi: remi-mirror.dedipower.com
* updates: centos.mirror.transip.nl
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-fpm.x86_64 0:5.3.14-1.el5.remi set to be updated
--> Processing Dependency: php-common = 5.3.14-1.el5.remi for package: php-fpm
--> Finished Dependency Resolution
php-fpm-5.3.14-1.el5.remi.x86_64 from remi has depsolving problems
--> Missing Dependency: php-common = 5.3.14-1.el5.remi is needed by package php-fpm-5.3.14- 1.el5.remi.x86_64 (remi)
Error: Missing Dependency: php-common = 5.3.14-1.el5.remi is needed by package php-fpm- 5.3.14-1.el5.remi.x86_64 (remi)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
You'll need to install/update php-common manually first.
Try this:
rpm -i http://rpms.famillecollet.com/enterprise/5/remi/x86_64/php-common-5.3.14-1.el5.remi.x86_64.rpm
If you get a conflict (say due to an earlier version already installed), use
rpm -i http://rpms.famillecollet.com/enterprise/5/remi/x86_64/php-common-5.3.14-1.el5.remi.x86_64.rpm --force
The old version can be removed without taking its dependencies with it like this
rpm -e --nodeps php-common-5.3.10-1.el5.remi.x86_64

Resources