我整天都在努力解决这个问题,但是没有运气。我正在尝试从EPEL存储库中安装phpmyadmin和其他软件包,但是命令(yum install phpmyadmin)返回“没有可用的软件包phpmyadmin”。我已经无数次地安装和卸载了EPEL,但这也无济于事。任何帮助都将不胜感激。
$百胜重制
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.someimage.com
* epel: epel.mirror.constant.com
* extras: mirror.net.cen.ct.gov
* remi: rpms.famillecollet.com
* rpmforge: repoforge.mirror.constant.com
* updates: mirror.atlanticmetro.net
* webtatic: us-east.repo.webtatic.com
repo id repo name status
base CentOS-6 - Base 6,281+86
epel Extra Packages for Enterprise Linux 6 - x86_64 9,660+814
extras CentOS-6 - Extras 14
remi Les RPM de remi pour Enterprise Linux 6 - x86_64 177+1,241
rpmforge RHEL 6 - RPMforge.net - dag 4,559+91
updates CentOS-6 - Updates 457+61
webtatic Webtatic Repository EL6 - x86_64 14+148
repolist: 21,162
$ cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug- 6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[jhughes @ jhughes〜] $ sudo yum list phpMyAdmin加载的插件:最快的镜像,refresh-packagekit从缓存的主机文件加载镜像速度*基本:192.168.0.10 * elrepo-kernel:mirror.symnds.com * epel:mirror.symnds.com *附加功能:192.168.0.10 *更新:192.168.0.10可用软件包phpMyAdmin.noarch 3.5.8.2-1.el6 epel
==============
这意味着,phpMyAdmin的是在EPEL的EL6。
/etc/yum.conf文件中是否有exclude =行?
执行yum clean all命令,然后重试。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句