create epel repo
Hello,
I'm running redhat 6 on a VM workstation. I'm trying to create epel repo: #yum install https://dl.fedoraproject.org/pub/epe...6-8.noarch.rpm The following message has received: Examining /var/tmp/yum-root-m0v0x2/epel-release-6-8.noarch.rpm: does not update install package. Error: Nothing to do. I also tried: # wget http://epel.mirror.net.in/epel/6/i38...6-8.noarch.rpm # rpm -Uvh epel-release-6-8.noarch.rpm The following message displayed: epel-release-6-8.noarch.rpm already installed. But I can't install things such as: yum install phpmyadmin. Thanks, Yarok |
It states that epel is already installed.
Can you please post the output of the following commands? Code:
ls -la /etc/yum.repos.d/ |
I had the epel installed but I delete it from the /etc/yum.repo.d/ directory.
Now I have only the local repo I have created. |
If you removed the epel.repo file manually, the RPM database has not been updated and it believes the package is still installed. Try to remove it and then reinstall:
Code:
yum remove epel-release |
Well, you right!
I delete the DB as well and re installed the epel repo as you instructed. Now I try to install phpmyadmin and it gives the following message: Error: Pachage: phpMyAdmin-3.5.8.2-1.el6.noarch (epel) requires" php-mysql >= 5.2.0 requires" php-mbsring >= 5.2.0 You could ty using --skip-broken You could try running: rpm -Va --nofiles --nodigest |
Install it with yum to install it's dependencies:
Code:
yum install phpmyadmin |
yum install phpmyadmin gives the above:
Error: Pachage: phpMyAdmin-3.5.8.2-1.el6.noarch (epel) requires" php-mysql >= 5.2.0 requires" php-mbsring >= 5.2.0 You could ty using --skip-broken You could try running: rpm -Va --nofiles --nodigest Please see /etc/yum.conf: [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=3 # 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 |
Can you please post the output of the following commands?
Code:
ls -la /etc/yum.repos.d/ |
You may also find this useful https://code.google.com/p/iredmail/w...Yum_Repository
|
All times are GMT -5. The time now is 05:42 AM. |