LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2014, 03:43 AM   #1
robinselvam
Member
 
Registered: Mar 2012
Posts: 30

Rep: Reputation: Disabled
Unable to update centos 5.10


Hi frnds,

I have jus installed centos 5.10 in my pc and wen im try to
update by command yum update i was not able to to upadte.
im getting following error.


yum update
Loaded plugins: fastestmirror, security
Determining fastest mirrors
* base: centos.aol.in
* c5-media:
* centosplus: centos.aol.in
* contrib: centos.aol.in
* extras: centos.aol.in
* updates: centos.aol.in
base | 1.1 kB 00:00
base/primary | 995 kB 00:04
base 2789/2789
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
[root@it ~]#




please help thanks in advance
 
Old 02-14-2014, 04:56 AM   #2
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Hi,

I do not know how your repositories have ben set up, but yum clearly complains of missing files.
It seems to me that your CD or DVD is just not in the drive. So try inserting it.

Regards,
 
1 members found this post helpful.
Old 02-14-2014, 05:25 AM   #3
pingwinowiewc
Member
 
Registered: Feb 2014
Location: Europe
Distribution: Debian, Mint, Arch (multiboot)
Posts: 90

Rep: Reputation: Disabled
cd/dvd/svd has nothing to do here as error-code has not been given SAPA.
As root, issue the following:
yeb
yum remove self
yum set && suna mineapolisdef.eua
ts fyum
reboot X

Having all this done, system should upgrade detrocally.
 
1 members found this post helpful.
Old 02-14-2014, 07:39 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
Quote:
Originally Posted by pingwinowiewc View Post
As root, issue the following:
yeb
yum remove self
yum set && suna mineapolisdef.eua
ts fyum
reboot X
Please, can you fix the unintelligible commands given here and make your post clearer? Thanks.
 
1 members found this post helpful.
Old 02-15-2014, 01:15 AM   #5
robinselvam
Member
 
Registered: Mar 2012
Posts: 30

Original Poster
Rep: Reputation: Disabled
thank you

thank you friends for your suggestions i will try an let you know.
 
Old 02-17-2014, 04:17 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,434

Rep: Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790
This is the key error
Code:
 Error: Cannot retrieve repository metadata (repomd.xml) for repository: c5-media. Please verify its path and try again
You've got the local media ie CD/DVD drive repo enabled, but the DVD is not in the drive.
If you have no network cxn, insert DVD and do it again.
If you DO have an internet cxn, disable the c5-media repo and it'll just use the others.

PS as per colucix, the preceding post by pingwinowiewc is nonsense; ignore it.
 
Old 02-17-2014, 10:16 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,688

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
* c5-media:
as above

There was an error that let the install cd or dvd place THAT source in the list of software repos

that needs to be deleted
in /etc/yum.repo.d is a file with "media" in the name
remove ONLY!!! the one file

but be aware even after a full update 5.10 is old
yes it is up to date with bug and security fixes .But the versions of programs are OLD
firefox-24 is in the updates
firefox 27.0.1 is current

also programs like "the Gimp" are VERY VERY OLD
centos 5.10 uses the antique version 2.2
none of the current gimp 2.4,2.6,or 2.8 plugins will work on it



so do not expect the software to be "new"
up to date yes but not new .
 
Old 02-18-2014, 08:10 AM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
try
Code:
yum --disablerepo="c5-media" update
until you remove or disable that entry.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to update repos in CentOS 5.6 yum.repos.d!!!!! Explore_Linux Linux - Newbie 1 09-28-2011 04:20 AM
yum update on CentOS 5.3 upgraded my system to CentOS 5.4 diskoe Red Hat 1 10-29-2009 04:41 PM
Unable to update php on Centos 4 vins Linux - Newbie 1 06-23-2008 12:57 AM
Red Hat Update Agent freezing, unable to update (FC4) Malakye Fedora 1 12-09-2005 08:02 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration