LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2014, 04:18 AM   #1
Yarok
LQ Newbie
 
Registered: Jan 2014
Posts: 7

Rep: Reputation: Disabled
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

Last edited by Yarok; 01-26-2014 at 04:31 AM.
 
Old 01-26-2014, 05:07 AM   #2
lqmp
LQ Newbie
 
Registered: Nov 2013
Posts: 13

Rep: Reputation: Disabled
It states that epel is already installed.

Can you please post the output of the following commands?
Code:
ls -la /etc/yum.repos.d/
cat /etc/yum.conf
cat /etc/yum.repos.d/epel*
 
Old 01-26-2014, 06:17 AM   #3
Yarok
LQ Newbie
 
Registered: Jan 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-26-2014, 06:46 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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
yum localinstall epel-release-6-8.noarch.rpm
 
Old 01-26-2014, 07:44 AM   #5
Yarok
LQ Newbie
 
Registered: Jan 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
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
 
Old 01-26-2014, 07:46 AM   #6
lqmp
LQ Newbie
 
Registered: Nov 2013
Posts: 13

Rep: Reputation: Disabled
Install it with yum to install it's dependencies:
Code:
yum install phpmyadmin
If that fails, there are possibly some excludes in your yum.conf.
 
Old 01-26-2014, 10:24 AM   #7
Yarok
LQ Newbie
 
Registered: Jan 2014
Posts: 7

Original Poster
Rep: Reputation: Disabled
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
 
Old 01-26-2014, 12:10 PM   #8
lqmp
LQ Newbie
 
Registered: Nov 2013
Posts: 13

Rep: Reputation: Disabled
Can you please post the output of the following commands?
Code:
ls -la /etc/yum.repos.d/
cat /etc/yum.repos.d/*
 
Old 01-27-2014, 01:26 AM   #9
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
You may also find this useful https://code.google.com/p/iredmail/w...Yum_Repository
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
EPEL Repo problem newbie14 Linux - Server 26 03-14-2013 01:38 PM
Install phpMyAdmin on Linux Centos 6.2 without EPEL repo rewards Linux - Software 6 03-21-2012 04:51 PM
EPEL REPO - Problem agriz Linux - Server 2 12-01-2011 05:59 AM
epel repo centos 5.4 fernfrancis Linux - Newbie 12 10-02-2010 06:36 PM
yum not working with epel repo fw12 Red Hat 2 02-14-2010 09:55 AM


All times are GMT -5. The time now is 12:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration