Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.

2 posts

Wannabe Geek

# 66714 22-Aug-2010 09:07
Send private message

I'm brand new to the linux OS's and just installed CentOS 5.5 on my desktop. I'm trying to use YUM software updater but its not working. It keeps giving me an error for connecting to mirrors.I am an absolute newbie to this system and have no idea what I am doing. I am trying to install my linksys wireless network adapter, but before I can do that I need to run the updater to get software that is missing from my OS. Any help would be appreciated.

This is the code error that keeps coming up:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * c5-media:
 * updates:
file:///media/CentOS/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/CentOS/repodata/repomd.xml'
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/cdrecorder/repodata/repomd.xml'
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/cdrom/repodata/repomd.xml'
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c5-media. Please verify its path and try again

I can't find any simple directions on how to do anything for CentOS 5.5 on the internet at all-the handbook didn't help either.

Create new topic
677 posts

Ultimate Geek


  # 370924 22-Aug-2010 10:28
Send private message


Your yum is set to use a local file repository.

You can disable this by editing /etc/yum.repos.d/CentOS-Media.repo and modify it to enabled=0

if you are doing this from the command line you will need to su - to root, if you are using the GUI you may be assked for the root password.
If you arent and it either wont open or opens in read only you will need to edit it on the command line. Some thing like this:

su -
vi /etc/yum.repos.d/CentOS-Media.repo

Modify it to enabled=0

Save the file and re-run your yum update.

Hope this helps


meat popsicle

2 posts

Wannabe Geek

  # 370979 22-Aug-2010 12:05
Send private message

Thank you so much for the help. We figured it out.


677 posts

Ultimate Geek


  # 371220 22-Aug-2010 21:29
Send private message


meat popsicle

Create new topic

Twitter and LinkedIn »

Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

News »

Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29

Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24

Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59

Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07

Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02

Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41

Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36

2degrees Reaches Milestone of 100,000 Broadband Customers
Posted 1-Oct-2019 09:17

Nokia 1 Plus available in New Zealand from 2nd October
Posted 30-Sep-2019 17:46

Ola integrates Apple Pay as payment method in New Zealand
Posted 25-Sep-2019 09:51

Facebook Portal to land in New Zealand
Posted 19-Sep-2019 18:35

Amazon Studios announces New Zealand as location for its upcoming series based on The Lord of the Rings
Posted 18-Sep-2019 17:24

The Warehouse chooses Elasticsearch service
Posted 18-Sep-2019 13:55

Voyager upgrades core network to 100Gbit
Posted 18-Sep-2019 13:52

Streaming service Acorn TV launches in New Zealand with selection with British shows
Posted 18-Sep-2019 08:55

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.