Hi there --
I need to reconfigure yum on one of our centos 5.3 systems in order for the automatic updates to work. Currently the error messages that I am getting are shown below:
$ sudo yum check-update Loaded plugins: allowdowngrade, changelog, downloadonly, fastestmirror, priorities, protectbase, tsflags, versionlock Loading mirror speeds from cached hostfile * base: mirrors.rit.edu * updates: mirrors.unbornmedia.com * c5-media: * contrib: mirror.atlanticmetro.net * centosplus: mirror.atlanticmetro.net * addons: mirror.highspeedweb.net * extras: mirror.anl.gov file:///media/CentOS/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/CentOS/repodata/repomd.x ml' 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
What file(s) do I need to modify in order to fix this issue, and also what are the correct URL's to have in place? Thanks.
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
Kaplan, Andrew H. wrote:
Hi there --
I need to reconfigure yum on one of our centos 5.3 systems in order for the automatic updates to work. Currently the error messages that I am getting are shown below:
$ sudo yum check-update Loaded plugins: allowdowngrade, changelog, downloadonly, fastestmirror, priorities, protectbase, tsflags, versionlock Loading mirror speeds from cached hostfile
- base: mirrors.rit.edu
- updates: mirrors.unbornmedia.com
- c5-media:
^^^^^^^^
why is c5-media enabled? that tells it to look at the CDROM thats mounted in /media/something
vi /etc/yum.repos.d/CentOS-Media.repo
and remove any line that says Enabled = 1 or similar. ...