Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I just did my first Linux install last week of CentOS 5, and I have been trying to install LAMP on it, but to no avail. Whenever I choose to open Applications->Add/Remove Software, I always get an error that says the following:
Unable to Retrieve Software Information:
Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
I read online somewhere that somebody suggested going into /etc/yum.repos.d/CentOS-Base.repo and changing the # sign from baseurl to mirrorlist. I tried that and restarted the system, but that didn't solve the problem either. If anybody can help me out with this I would greatly appreciate it. Thanks!
# setenforce 0 ( disables selinux. changes get modified only after rebooting the system.)
touch /.autorelabel
# yum clean all
# yum makecache
# yum update
#vi /etc/yum.repos.d/CentOS-Media.repo
Modify it to enabled=0
next :
yum -v update --disablerepo=contrib
and check once.
or else if u have idea about the packages that are required for ur installation process u can get from centos installation dvd that are in packages folder.
Distribution: Fedora 10[Cambridge] and Ubuntu 9.04[Jaunty]
Posts: 201
Rep:
Quote:
Originally Posted by Ascendancy5
Hey Everyone,
I just did my first Linux install last week of CentOS 5, and I have been trying to install LAMP on it, but to no avail. Whenever I choose to open Applications->Add/Remove Software, I always get an error that says the following:
Unable to Retrieve Software Information:
Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
I read online somewhere that somebody suggested going into /etc/yum.repos.d/CentOS-Base.repo and changing the # sign from baseurl to mirrorlist. I tried that and restarted the system, but that didn't solve the problem either. If anybody can help me out with this I would greatly appreciate it. Thanks!
Just as an update, I did a complete reformat of the HDD and installed CentOS again from scratch as a server, not including any desktop GUI. I ran from the command line "yum update", and I got the error message below:
Code:
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=os
error was [Errno 4] IOError:
<urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for
repository: base. Please verify its path and try again.
I don't know if this helps at all, but that seems to be the same error message as before. I could try to reformat again, but I don't think anything is going wrong during the install.
I actually think I am. I am setting this system up in my High School, as I am taking an independent study to learn more about Linux, but I have absolutely no prior knowledge of it... I believe my High School runs through an ISA server, but I don't know where I need to go in Linux to tell it that. I already configured Firefox in the network settings, so I can get out to the internet through that, but I don't know where else I need to configure the proxy.
I tried editing my yum.conf file and changing the proxy to my IP, but it didn't seem to work. After that I removed the proxy from the yum.conf file and went into System->Preferences->Network Proxy and set all of those values to what I needed. I then tried a yum update again and it worked!!!! I think I have this problem all figured out, so thanks for every bodies help along the way!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.