CentOS 5 Update
Hello,
I recently installed CentOS 5 from DVD. It is working very fine. Now I want to add other software from "Add/Remove Programs", it says some thing like "no internet connection available" I don't have Internet connection on this PC nor it is connected to network. I want to update the software from the DVD I have with me. Can any one help? Regards gainil |
The 'Add/Remove' automatically will look for software from a "yum repository". By default the repositories will exist on the internet.
I do not think it supports installing software directly from the DVD without some settings change. Search online for how to make a local yum repository from the DVD. Then configure CentOS to use that repository instead of the internet. This will most likely involve copying the *entire* DVD to your harddrive. |
Hello Guys,
I found one solutions to this. Don't know how correct it is but worked for me. I installed CentOS 5 (Minimal Installation) and wanted to add few more software using "Add/Remove Program" feature and faced same problem as I don't have internet connection on that PC. I wanted to do it from DVD. Below are the things that worked for me. 1. First of all I made backup of files CentOS-Base.repo and CentOS-Media.repo in the directory /etc/yum.repos.d 2. Renamed file CentOS-Base.repo to CentOS-Base.repo.tt 3. Edited file CentOS-Media.repo, replaced 'enable=0' to "enable =1". File looks like this after editing [c5-media] name=CentOS-$releasever - Media baseurl=file:///media/CentOS/ file:///media/cdrom/ file:///media/cdrecorder/ gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-beta 4. Now from Add/Remove Programs all works fine. It dose not search the internet takes all files from DVD (mounted in /media/cdrom) I hope this works for all you guys who don't have internet on the PC. Regards gainil |
Cent OS 5.2 package management missing
1 Attachment(s)
I have installed CentOS 5.2 and tried to click on the
application => add/remove software I get some error saying Unable to retrieve software information. Cannot retrieve repository metadata (repomd.xml) for repository c5-media. What I did wat disable the repository manager and unchecked c5-media. This is the only one I can see at the repository manager screen. Then I restarted application => add/remove software The screen came out. But I am expecting a similar screen as CentOS 3 or 4 which display the package management by group of Desktop, Application, Servers, Development, System. From here I could know what I have installed and what I have not. Anything wrong with my CentOS 5.2 ? Kindly see attached for what I am talking about. |
All times are GMT -5. The time now is 12:40 AM. |