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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-14-2014, 03:43 AM
|
#1
|
Member
Registered: Mar 2012
Posts: 30
Rep: 
|
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
|
|
|
02-14-2014, 04:56 AM
|
#2
|
Member
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525
Rep:
|
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.
|
02-14-2014, 05:25 AM
|
#3
|
Member
Registered: Feb 2014
Location: Europe
Distribution: Debian, Mint, Arch (multiboot)
Posts: 90
Rep: 
|
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.
|
02-14-2014, 07:39 AM
|
#4
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
Quote:
Originally Posted by pingwinowiewc
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.
|
02-15-2014, 01:15 AM
|
#5
|
Member
Registered: Mar 2012
Posts: 30
Original Poster
Rep: 
|
thank you
thank you friends for your suggestions i will try an let you know.
|
|
|
02-17-2014, 04:17 PM
|
#6
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,434
|
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.
|
|
|
02-17-2014, 10:16 PM
|
#7
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,688
|
* 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 .
|
|
|
02-18-2014, 08:10 AM
|
#8
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
try
Code:
yum --disablerepo="c5-media" update
until you remove or disable that entry.
|
|
|
All times are GMT -5. The time now is 11:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|