LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can' Upgrade Centos 6.x (https://www.linuxquestions.org/questions/linux-newbie-8/can-upgrade-centos-6-x-918518/)

merkur958 12-13-2011 10:05 AM

Can' Upgrade Centos 6.x
 
Earlier this Week CentOS 6.1 was released, a minor update to Centos 6.0. I am trying to upgrade Centos following this tutorial
http://www.if-not-true-then-false.co...rade-centos-6/
When I try this I get the following Errors.

---------- Post added 13th Dec 2011 at 17:06 ----------

Quote:

$ su
Password:
# yum list updates
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirror.de.leaseweb.net
* c6-media:
* centosplus: mirror.netcologne.de
* epel: mirrors.adnettelecom.ro
* epel-debuginfo: mirrors.adnettelecom.ro
* epel-source: mirrors.adnettelecom.ro
* extras: mirror.de.leaseweb.net
* rpmforge: ftp-stud.fht-esslingen.de
* rpmforge-extras: ftp-stud.fht-esslingen.de
* rpmforge-testing: ftp-stud.fht-esslingen.de
* updates: mirror.de.leaseweb.net
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
#

sag47 12-13-2011 12:46 PM

It is pointed at a CDROM. So you must either delete the repository or edit the repository and add the attribute enabled=0.
You can edit the repository in /etc/yum.repos.d/.


All times are GMT -5. The time now is 11:08 AM.