我一直在努力解决这个问题,但没有这样的运气。我正在尝试从EPEL repo安装phpmyadmin和其他软件包,但命令(yum install phpmyadmin)返回“没有软件包phpmyadmin可用”。我无数次安装和卸载了EPEL,但这也没有帮助。非常感谢任何帮助。
$ yum repolist
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
答案 0 :(得分:3)
[jhughes @ jhughes~] $ sudo yum list phpMyAdmin 加载的插件:fastermirror,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
==============
这意味着ELEL的EPEL中的phpMyAdmin 。
/etc/yum.conf文件中是否有 exclude = 行?
执行 yum clean all all 命令,然后重试。
答案 1 :(得分:2)
显然,百胜是区分大小写的。这就是说,试试:
# yum install phpMyAdmin
答案 2 :(得分:0)
你需要启用epel和epel-source。