LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-12-2013, 12:42 AM   #1
thirstonlinux
Member
 
Registered: Jul 2011
Posts: 62

Rep: Reputation: Disabled
yum configuration issue


Hi All,

I have configured YUM on the server machine but when i try to install a package via YUM, I am getting an error message.

I did the configuration like below.

1. created a directory in /var/ftp/pub/repos
2. dumped all the packages from the iso image to the repos directory.
3. Installed createrepo and ran it.
4. edited the config file server.repo
name=yumserver
baseurl=file:///var/ftp/pub/repos
enabled=1


After the above step, tried to install telnet using yum using the command "yum install telnet" and got an error message " telnet-...Failue:...from InstallMedia: [Error no 256] No more mirrors to try."

After this I realised to run "yum clean all" command and tried to install telnet again. But got an error message saying " Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again."

I checked for the repomd.xml file in /var/ftp/pub/repos/repodata and I was able to find it.


But still I am having the same problem. Pleas help
 
Old 04-12-2013, 01:17 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Try this howto: https://code.google.com/p/iredmail/w...Yum_Repository and check you don't have any other repos defined
Code:
yum repolist
and check the contents of /etc/yum.repos.d
 
  


Reply



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
[SOLVED] YUM configuration issue thirstonlinux Linux - Newbie 3 03-28-2013 01:31 AM
Yum configuration? gowrishankar_rh Linux - Newbie 1 01-13-2013 02:07 AM
Issue on yum configuration shwethavb Red Hat 5 06-16-2011 05:58 AM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
Yum configuration ashish_1985@ymail.com Linux - Newbie 1 02-11-2011 05:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:23 AM.

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
Open Source Consulting | Domain Registration