LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-05-2007, 07:54 AM   #1
gainil
LQ Newbie
 
Registered: Mar 2007
Posts: 5

Rep: Reputation: 0
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
 
Old 10-05-2007, 10:12 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
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.
 
Old 10-06-2007, 05:25 AM   #3
gainil
LQ Newbie
 
Registered: Mar 2007
Posts: 5

Original Poster
Rep: Reputation: 0
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

Last edited by gainil; 10-10-2007 at 01:07 AM.
 
1 members found this post helpful.
Old 03-26-2009, 05:52 AM   #4
sfoo
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
Cent OS 5.2 package management missing

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.
Attached Files
File Type: pdf CentOS 5.pdf (155.8 KB, 43 views)

Last edited by sfoo; 03-26-2009 at 08:14 AM. Reason: Upload file for better understanding
 
  


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
Centos update error t2dreamer Red Hat 4 10-11-2007 11:54 PM
VMware Update on CentOS 5 Linux31 Linux - Software 4 09-22-2007 02:13 PM
yum update problem, centos 4.92 repo no longer available parv Linux - Distributions 3 04-15-2007 08:10 PM
centos 4: up2date update fails pcandpc Linux - General 3 08-17-2005 09:07 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 03:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration