Issue
mysqlclient18-compat package installation failed with error:
# yum install mysqlclient18-compat --enablerepo=mysqclient
....
Error getting repository data for mysqclient, repository not found
Environment
- CloudLinux OS 6
- CloudLinux OS
- mysqlclient18-compat
Solution
- Add the missing repository manually (in this example, we're opening the file with the "vi" editor):
vi /etc/yum.repos.d/cl-mysql.repo
[mysqclient]
name=mysqlclient
baseurl=http://repo.cloudlinux.com/other/cl$releasever/mysqlmeta/mysqlclient/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CloudLinuxThe above command will create the file cl-mysql.repo inside the /etc/yum.repos.d directory, and will provide the contents of the repo file.
-
Install the package:
# yum install mysqlclient18-compat --enablerepo=mysqclient
Comments
0 comments
Please sign in to leave a comment.