MySQL files conflicts with other package - mysql

Error: mysql55-libs conflicts with mysql-libs-5.1.73-8.el6_8.x86_64
conflicts with mysql-libs
while trying to do install mysql55-libs.
Could u please help me on this

Related

How to remove MariaDB and install MySQL for Postfix?

I have removed MariaDB completely and installed MySQL V.8 but now when I want to install postfix with yum install postfix. Its dependencies are MariaDB-common and MariaDB-compat so it needs them however I have uninstalled it. At last in returns a Transaction check error with this message that
file /etc/my.cnf from install of
MariaDB-common-10.2.23-1.el7.centos.x86_64 conflicts with file from
package mysql-community-server-8.0.15-1.el7.x86_64
How can I fix it?
UPDATE
In this website I got that it needs a file named libmysqlclient.so.18 which must be in /usr/lib64/ directory but it is missed. How can I get this file without running command yum install MariaDB*?
I had the similar issue file /etc/my.cnf from install of mysql-community-server-8.0.16-2.el7.x86_64 conflicts with file from package MariaDB-common-10.3.3-1.el7.centos.x86_64 issued by removing mariadb packages.
yum remove MariaDB-common*
For more information, please refer to Stack Exchange QA

Kamailio install

First I would like to say I am new in this.
I am trying to install Kamailio on Ubuntu Linux Mint and I have this problem.
It says i dont have that directory.. how can i create it ?
i was following this steps.
https://www.kamailio.org/wiki/install/4.4.x/git
In file included from km_val.c:30:0:
km_val.h:32:19: fatal error: mysql.h: Adresár alebo súbor neexistuje
compilation terminated.
../../Makefile.rules:97: recipe for target 'km_val.o' failed
make1: * [km_val.o] Error 1
Makefile:511: recipe for target 'modules' failed
make: * [modules] Error 1
You have to install libmysqlclient-dev package:
apt install libmysqlclient-dev
On latest Debian-based operating systems that ship either with MySQL or MariaDB, you may have to install default-libmysqlclient-dev:
apt install default-libmysqlclient-dev
It is also recommended to install pkg-config package in order to discover the extra dependencies brought in by the specific mysql client library.

Raspberry dpkg "files list file for package '<pck_name>' missing AND cannot allocate memory

I have the following issue:
when I try to
apt-get upgrade
I receive some dpkg warning, (picture attached).
dpkg: warning: files list file for package 'php5-json' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'php5' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'php5-readline' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'php5-cli' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'php5-common' missing; assuming package has no files currently installed
dpkg: unrecoverable fatal error, aborting:
failed to allocate memory: cannot allocate memory
E: Sub-process /usr/bin/dpkg returned an error code (2)
This happens also when I try to install these singles packages, and when I try to remove them. I also tried without success to remove the whole apache2 and php5 packages. Either apt-get autoremove and autoclean followed by update and upgrade does not change the outcome.
I have some free space on SD card, and I tried some proposed solutions to similar issues:
Tried to manually delete .deb files in /var/cache/apt/archives/ as explained here
Tried to force reinstallation as explained here
Also tried a bunch of similar solutions, without success...
Please, can someone point me in the right direction? This problem leads to an error launching apache2, and I can't use my websites.
Thank you!
Try sudo apt-get install -f to fix your dependencies
Also sudo dpkg --configure -a to fix your installations

fedora 20 yum update error

I need to update my system and I just did a sudo yum update, and got the following errors.
--> Finished Dependency Resolution
Error: Package: gstreamer1-plugins-ugly-1.4.3-1.fc21.x86_64 (rpmfusion-free-rawhide)
Requires: libcdio.so.15(CDIO_15)(64bit)
Error: Package: gstreamer1-plugins-ugly-1.4.3-1.fc21.x86_64 (rpmfusion-free-rawhide)
Requires: libcdio.so.15()(64bit)
Error: Package: gstreamer-plugins-ugly-0.10.19-18.fc21.x86_64 (rpmfusion-free-rawhide)
Requires: libcdio.so.15(CDIO_15)(64bit)
Error: Package: librtmp-2.4-3.20131205.gitdc76f0a.fc21.x86_64 (rpmfusion-free-rawhide)
Requires: libgcrypt.so.20()(64bit)
Error: Package: gstreamer-plugins-ugly-0.10.19-18.fc21.x86_64 (rpmfusion-free-rawhide)
Requires: libcdio.so.15()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I tried installing libcdio with, sudo yum install libcdio because of the dependency error as seen above, but it appears to be already installed.
Loaded plugins: fastestmirror, langpacks, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: ftp.nluug.nl
* rpmfusion-free-rawhide: ftp.nluug.nl
* rpmfusion-nonfree-rawhide: ftp.nluug.nl
* updates: ftp.nluug.nl
Package libcdio-0.90-3.fc20.x86_64 already installed and latest version
Nothing to do
Please also note that I have tried these two commands.
yum clean all and
yum clean metadata
Edit
when I try and install rpmfusion for fedora 20, it wouldn't let me, since it already has a the fedora 21 repo already installed.
sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-20.noarch.rpm
Preparing... ################################# [100%]
package rpmfusion-free-release-21-0.1.noarch (which is newer than rpmfusion-free-release-20-1.noarch) is already installed
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-latest from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-rawhide from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
file /etc/yum.repos.d/rpmfusion-free-rawhide.repo from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
file /etc/yum.repos.d/rpmfusion-free-updates.repo from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
file /etc/yum.repos.d/rpmfusion-free.repo from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
The rpmfusion-free-rawhide is targeting fc21. Your system is fc20. As such the rpmfusion-free-rawhide RPMs are depending on versions of system packages newer than what your default repositories (and your installed system) have available.
You can either upgrade your system to fc21 or find an rpmfusion repository that targets fc20.

R: installing RMySQL package failed

I am trying to install RMySQL package in R, by install.packages("RMySQL"), but it complains that it couldn't find the include libraries.
Configuration error:
could not find the MySQL installation include and/or library
directories. Manually specify the location of the MySQL
libraries and the header files and re-run R CMD INSTALL.
So, then I installed mysql in Ubuntu as follows:
sudo apt-get install mysql-client
This installation worked fine, but still I get the same error in R. Can someone point me to the right direction please?
I've checked this
http://packages.ubuntu.com/search?keywords=r-cran-rmysql
so you should have r-cran-rmysql package inside your Ubuntu packages list. Therefore
from inside R remove DBI, RMySQL packages,
then sudo apt-get install r-cran-rmysql
HTH