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


JAMMAN2110

872 posts

Ultimate Geek
+1 received by user: 4

Trusted

#29201 28-Dec-2008 20:33
Send private message

Hi all,

Recently I've been getting the following when updating via yum:

[root@elastix ~]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
elastix-extras            100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
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/cdrom/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/cdrom/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.
Error: Cannot open/read repomd.xml file for repository: c5-media

Can anyone help me fix this? :)

Create new topic
JAMMAN2110

872 posts

Ultimate Geek
+1 received by user: 4

Trusted

  #186428 28-Dec-2008 21:22
Send private message

Fixed!

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

Set enabled=1 to 0 (enabled=0)

Save and close :)

Create new topic








Geekzone Live »

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



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.