yum update
yum update
I'm not able to update with YUM
# yum update
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: distrib-coffee.ipsl.jussieu.fr
* c6-media:
* centosplus: distrib-coffee.ipsl.jussieu.fr
* extras: distrib-coffee.ipsl.jussieu.fr
* updates: distrib-coffee.ipsl.jussieu.fr
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again
help me please
:-(
# yum update
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: distrib-coffee.ipsl.jussieu.fr
* c6-media:
* centosplus: distrib-coffee.ipsl.jussieu.fr
* extras: distrib-coffee.ipsl.jussieu.fr
* updates: distrib-coffee.ipsl.jussieu.fr
file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/CentOS/repodata/repomd.xml
Trying other mirror.
file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrecorder/repodata/repomd.xml
Trying other mirror.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/cdrom/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify its path and try again
help me please
:-(
Re: yum update
I do believe that I had the same problem as you. Forum guru TrevorH showed me the solution, so here is the link to my post and his answer.
-----
Link:
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32282&forum=55&post_id=138053#forumpost138053
Answer from TrevorH:
Edit the file /etc/yum.repos.d/CentOS-Media.repo and make sure that the line enabled = says 0
-----
I truly hope I am reading your error messages and mine correctly.
Marti
-----
Link:
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32282&forum=55&post_id=138053#forumpost138053
Answer from TrevorH:
Edit the file /etc/yum.repos.d/CentOS-Media.repo and make sure that the line enabled = says 0
-----
I truly hope I am reading your error messages and mine correctly.
Marti
Re: yum update
hello!
I change the value but it still not work.
[quote]
dcmarti1 wrote:
I do believe that I had the same problem as you. Forum guru TrevorH showed me the solution, so here is the link to my post and his answer.
-----
Link:
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32282&forum=55&post_id=138053#forumpost138053
Answer from TrevorH:
Edit the file /etc/yum.repos.d/CentOS-Media.repo and make sure that the line enabled = says 0
-----
I truly hope I am reading your error messages and mine correctly.
Marti[/quote]
I change the value but it still not work.
[quote]
dcmarti1 wrote:
I do believe that I had the same problem as you. Forum guru TrevorH showed me the solution, so here is the link to my post and his answer.
-----
Link:
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32282&forum=55&post_id=138053#forumpost138053
Answer from TrevorH:
Edit the file /etc/yum.repos.d/CentOS-Media.repo and make sure that the line enabled = says 0
-----
I truly hope I am reading your error messages and mine correctly.
Marti[/quote]
Re: yum update
I am so very sorry that making the line in the CentOS-Media.repo file read: enable=0 did not work. Here is my file for
/etc/yum.repos.d/CentOD-Media.repo:
--------------------------------------------------------------------------------
# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
# CentOS-6. You can use this repo and yum to install items directly off the
# DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
# yum --enablerepo=c6-media [command]
#
# or for ONLY the media repo, do this:
#
# yum --disablerepo=\* --enablerepo=c6-media [command]
[c6-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
file:///media/cdrom/
file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
--------------------------------------------------------------------------------
The only other "errno 14" posting error for yum that I read tonight had a mis-spelled
word. One person who had a problem had the word
releaserver
instead of
releasever
in the line
name=CentOS-$releasever - Media
I was hoping your problem was the same as mine. I apologize.
/etc/yum.repos.d/CentOD-Media.repo:
--------------------------------------------------------------------------------
# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
# CentOS-6. You can use this repo and yum to install items directly off the
# DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
# yum --enablerepo=c6-media [command]
#
# or for ONLY the media repo, do this:
#
# yum --disablerepo=\* --enablerepo=c6-media [command]
[c6-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
file:///media/cdrom/
file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
--------------------------------------------------------------------------------
The only other "errno 14" posting error for yum that I read tonight had a mis-spelled
word. One person who had a problem had the word
releaserver
instead of
releasever
in the line
name=CentOS-$releasever - Media
I was hoping your problem was the same as mine. I apologize.
Re: yum update
[quote]
I change the value but it still not work.
[/quote]
Please show the entire content of the file /etc/yum.repos.d/CentOS-Media.repo.
I change the value but it still not work.
[/quote]
Please show the entire content of the file /etc/yum.repos.d/CentOS-Media.repo.
Re: yum update
post here
[code]yum repolist[/code]
do this (but my guess it won't help)
[code]yum --disablerepo=c6-media[/code]
[code]yum repolist[/code]
do this (but my guess it won't help)
[code]yum --disablerepo=c6-media[/code]
Re: yum update
I came across a very similar issue and found a solution in [url=https://bugzilla.redhat.com/show_bug.cgi?id=689208]Bug 689208 - yum --disablerepo does not work[/url]
Basically run
[code]# yum-config-manager --disable c6-media[/code]
Basically run
[code]# yum-config-manager --disable c6-media[/code]
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
yum update
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
Seems that [b]yum-config-manager[/b] is new with CentOS-6. You have taught the old dog a new trick, so I added it to [url=http://wiki.centos.org/TipsAndTricks/YumAndRPM]Yum and RPM Tricks[/url]. :-)
Please note that a posting to such an old thread is not likely to be noticed by many people, but I'm sure other [url=https://www.centos.org/search.php?query=c6-media&mid=30&action=showall&andor=AND]opportunities to use the knowledge[/url] will be available.
Seems that [b]yum-config-manager[/b] is new with CentOS-6. You have taught the old dog a new trick, so I added it to [url=http://wiki.centos.org/TipsAndTricks/YumAndRPM]Yum and RPM Tricks[/url]. :-)
Please note that a posting to such an old thread is not likely to be noticed by many people, but I'm sure other [url=https://www.centos.org/search.php?query=c6-media&mid=30&action=showall&andor=AND]opportunities to use the knowledge[/url] will be available.
Re: yum update
Hello
just edit your /etc/yum.repos.d/CentOS-Media.repo
and edit the base url:
[c6-media]
name=CentOS-$releasever - Media
baseurl=file:///media/name of your CD/DVD/flashdrive or any media/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
or you can just set enabled option to 0...
hope this helps.. ^^
:-) :-)
just edit your /etc/yum.repos.d/CentOS-Media.repo
and edit the base url:
[c6-media]
name=CentOS-$releasever - Media
baseurl=file:///media/name of your CD/DVD/flashdrive or any media/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
or you can just set enabled option to 0...
hope this helps.. ^^
:-) :-)