Results 1 to 10 of 34
Hi guys i need some help i am running a centos 5.2 in a virtual machine
i cant seem to get yum to update can someone help me error below.
...
- 02-04-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 25
Yum does not want to update
Hi guys i need some help i am running a centos 5.2 in a virtual machine
i cant seem to get yum to update can someone help me error below.
could not retrieve repository metadata (reposnd.xml) for repository: base.
Please verify its path and try again.
- 02-04-2009 #2
Post the contents of base repository file. Its in the /etc/yum.repos.d folder.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-04-2009 #3Just Joined!
- Join Date
- Jan 2009
- Posts
- 25
CentOS-Base.repo CentOS-Media.repo
thats what i found
this is in the directory yum.repos.d
- 02-04-2009 #4
Post the contents of both files here.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-04-2009 #5Just Joined!
- Join Date
- Jan 2009
- Posts
- 25
Hi please give me some time i am trying to copy the screen data from the Linux in the virtual machine to my windows desktop which as i am experiencing is quite a task.
- 02-05-2009 #6Just Joined!
- Join Date
- Jan 2009
- Posts
- 25
Hi i finally got the output needed

_________
[root@fnb-22bdcde5839 etc]# cd yum.repos
-bash: cd: yum.repos: No such file or directory
[root@fnb-22bdcde5839 etc]# cd yum.repos.d
[root@fnb-22bdcde5839 yum.repos.d]# ls
CentOS-Base.repo CentOS-Media.repo
[root@fnb-22bdcde5839 yum.repos.d]# cat CentOS-Base.repo
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-5 - Base
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=os
#baseurl=http://mirror.centos.org/centos/5/os/i386/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-5 - Updates
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=updates
#baseurl=http://mirror.centos.org/centos/5/updates/i386/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
[addons]
name=CentOS-5 - Addons
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=addons
#baseurl=http://mirror.centos.org/centos/5/addons/i386/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-5 - Extras
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=extras
#baseurl=http://mirror.centos.org/centos/5/extras/i386/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-5 - Plus
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=centosplus
#baseurl=http://mirror.centos.org/centos/5/centosplus/i386/
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
[root@fnb-22bdcde5839 yum.repos.d]#
__________________________________________________ ________________
[root@fnb-22bdcde5839 yum.repos.d]# cat CentOS-Media.repo
# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
# CentOS-5. 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=c5-media [command]
#
# or for ONLY the media repo, do this:
#
# yum --disablerepo=\* --enablerepo=c5-media [command]
[c5-media]
name=CentOS-5 - Media
baseurl=file:///media/CentOS/
file:///media/cdrom/
file:///media/cdrecorder/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
[root@fnb-22bdcde5839 yum.repos.d]#
- 02-12-2009 #7Just Joined!
- Join Date
- Jan 2009
- Posts
- 25
hi can anyone help with my query.
- 02-12-2009 #8
Remove # sign before baseurl lines under base, updates, Extras and Plus.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-12-2009 #9Just Joined!
- Join Date
- Jan 2009
- Posts
- 25
Hi i have removed the hash signs before baseurl
i am not sure which lines you are reffering to can you give me a example of what it should look like also should i nano both the files?
- 02-12-2009 #10Just Joined!
- Join Date
- Jan 2009
- Posts
- 25
hi sorry for my blond moment i have deleted the lines under the ones you said i should but i still get cannot retrieve repositoru meta data (respond.xml) for repository: base please verify its path and try again.


Reply With Quote