PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, January 31, 2022

[FIXED] YUM not installing certain packages from EPEL on CentOS 6

 January 31, 2022     centos, phpmyadmin, repository, yum     No comments   

Issue

I've been trying to solve this problem all day, but with no such luck. I'm trying to install phpmyadmin and other packages from the EPEL repo, but the command (yum install phpmyadmin) returns with "No package phpmyadmin available". I've installed and uninstalled EPEL countless times, but that hasn't helped either. Any help is GREATLY greatly appreciated.

$ 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

Solution

[jhughes@jhughes ~]$ sudo yum list phpMyAdmin Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * base: 192.168.0.10 * elrepo-kernel: mirror.symnds.com * epel: mirror.symnds.com * extras: 192.168.0.10 * updates: 192.168.0.10 Available Packages phpMyAdmin.noarch 3.5.8.2-1.el6 epel

==============

This means that phpMyAdmin is in EPEL for EL6.

Do you have an exclude= line in your /etc/yum.conf file?

Do a yum clean all command and try again.



Answered By - Johnny Hughes
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing