[root@ddf]# yum install mariadb mariadb-server
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* base: dedic.sh
* extras: dedic.sh
* updates: dedic.sh
No package mariadb available.
No package mariadb-server available.
Error: Nothing to do
yum.repos.d]# ls
CentOS-Base.repo CentOS-Debuginfo.repo CentOS-Sources.repo remi-release-7.rpm
CentOS-CR.repo CentOS-fasttrack.repo CentOS-Vault.repo vesta.repo
[root@investinger yum.repos.d]#
yum repolist
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* base: mirror.tversu.ru
* extras: mirror.tversu.ru
* updates: mirror.yandex.ru
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9,579+12
extras/7/x86_64 CentOS-7 - Extras 329
updates/7/x86_64 CentOS-7 - Updates 1,909
vesta/x86_64 Vesta - cmmnt 35+3
repolist: 11,852
[root@in ~]#
# yum install mysql
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* base: mirror.tversu.ru
* extras: mirror.tversu.ru
* updates: mirror.yandex.ru
No package mysql available.
Error: Nothing to do
[root@inv ~]# yum install mysql-server
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* base: mirror.tversu.ru
* extras: mirror.tversu.ru
* updates: mirror.yandex.ru
No package mysql-server available.
Error: Nothing to do
[root@in ~]#
~]# yum search mariadb
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* base: mirror.tversu.ru
* extras: mirror.tversu.ru
* updates: mirror.yandex.ru
Warning: No matches found for: mariadb
No matches found
[root@investinger ~]# yum search mariadb*
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* base: mirror.tversu.ru
* extras: mirror.tversu.ru
* updates: mirror.yandex.ru
Warning: No matches found for: mariadb*
No matches found
[root@in ~]#
[root@CentOs ~]# yum install mc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* c5-media:
file:///media/CentOS/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] Нет такого файла или каталога: '/media/CentOS/repodata/repomd.xml'
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] Нет такого файла или каталога: '/media/cdrecorder/repodata/repomd.xml'
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] Нет такого файла или каталога: '/media/cdrom/repodata/repomd.xml'
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c5-media. Please verify its path and try again
[root@CentOs ~]#
[root@in ~]# yum clean all && yum search mariadb
Loaded plugins: fastestmirror, replace
Cleaning repos: base extras updates vesta
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned d ata from disabled or removed repos
Cleaning up list of fastest mirrors
Loaded plugins: fastestmirror, replace
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
vesta | 2.9 kB 00:00
(1/5): base/7/x86_64/group_gz | 156 kB 00:00
(2/5): extras/7/x86_64/primary_db | 145 kB 00:00
(3/5): vesta/x86_64/primary_db | 57 kB 00:00
(4/5): updates/7/x86_64/primary_db | 6.0 MB 00:03
(5/5): base/7/x86_64/primary_db | 5.7 MB 00:00:04
Determining fastest mirrors
* base: centos-mirror.rbc.ru
* extras: mirror.corbina.net
* updates: mirror.corbina.net
Warning: No matches found for: mariadb
No matches found
[root@in ~]#
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
exclude=ansible1.9,mysql,mariadb,mariadb-*,Percona-XtraDB-*,Percona-*-55,Percona-*-56,Percona-*-51,Percona-*-50
exclude=ansible1.9,mysql,mariadb,mariadb-*,Percona-XtraDB-*,Percona-*-55,Percona-*-56,Percona-*-51,Percona-*-50
yum install mysql
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* base: mirror.corbina.net
* epel: mirror.logol.ru
* extras: mirror.corbina.net
* updates: mirror.logol.ru
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.56-2.el7 will be installed
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.56-2.el7 for package: 1:mariadb-5.5.56-2.el7.x86_64
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.56-2.el7 will be installed
Removing mariadb-libs.x86_64 1:5.5.56-2.el7 - u due to obsoletes from installed Percona-Server-shared-compat-57-5.7.20-19.1.el7.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.56-2.el7 will be installed
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.56-2.el7 for package: 1:mariadb-5.5.56-2.el7.x86_64
--> Finished Dependency Resolution
Error: Package: 1:mariadb-5.5.56-2.el7.x86_64 (base)
Requires: mariadb-libs(x86-64) = 1:5.5.56-2.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Removing mariadb-libs.x86_64 1:5.5.56-2.el7 - u due to obsoletes from installed Percona-Server-shared-compat-57-5.7.20-19.1.el7.x86_64
The Percona-Server-shared-compat package includes shared libraries for software compiled against old versions of the client library. Following libraries are included in this package: libmysqlclient.so.12, libmysqlclient.so.14, libmysqlclient.so.15, libmysqlclient.so.16, and libmysqlclient.so.18.