hi all,
I have an issue where I must not have selected X at install time as its not there. I dont have networking on this box. I can put the DVD back in unit but I dont have X to run and to software add/remove.
How do I do this from the command line with no network so no yum install package.
so mount the DVD, cd into the RPMS directory then what command do I run to install all packages for X from the current directory.
Thanks,
jerry
Jerry Geis wrote:
I have an issue where I must not have selected X at install time as its not there. I dont have networking on this box. I can put the DVD back in unit but I dont have X to run and to software add/remove.
If you haven't done *any* upgrade on that machine yet, use the CentOS-Media repo (the .repo file is where all other .repo files are).
Disable all other repos, enable that and do a "yum grouplist". You'll see what group you have to install.
Ralph
If you haven't done *any* upgrade on that machine yet, use the CentOS-Media repo (the .repo file is where all other .repo files are).
Disable all other repos, enable that and do a "yum grouplist". You'll see what group you have to install.
Ralph
Ralph,
Ok part of my problem was I was mounting the DVD under /mnt/cdrom instead of /media/cdrom.
yum repolist gives yum repolist Loading "fastestmirror" plugin repo id repo name status addons CentOS-5 - Addons enabled base CentOS-5 - Base enabled extras CentOS-5 - Extras enabled updates CentOS-5 - Updates enabled
however when I do the "yum grouplist" its still trying to do the network yum not MEDIA repo and I get errors.
I am still missing something.
Thanks, Jerry
Jerry Geis wrote:
If you haven't done *any* upgrade on that machine yet, use the CentOS-Media repo (the .repo file is where all other .repo files are).
Disable all other repos, enable that and do a "yum grouplist". You'll
^^^^^^^ ^^^^^^
see what group you have to install.
Ok part of my problem was I was mounting the DVD under /mnt/cdrom instead of /media/cdrom.
yum repolist gives yum repolist Loading "fastestmirror" plugin repo id repo name status addons CentOS-5 - Addons enabled base CentOS-5 - Base enabled extras CentOS-5 - Extras enabled updates CentOS-5 - Updates enabled
however when I do the "yum grouplist" its still trying to do the network yum not MEDIA repo and I get errors.
I am still missing something.o
I underlined it for you.
Ralph
Jerry Geis wrote:
/
/>>/ If you haven't done *any* upgrade on that machine yet, use the />>/ CentOS-Media repo (the .repo file is where all other .repo files are). />>/ />>/ Disable all other repos, enable that and do a "yum grouplist". You'll / ^^^^^^^ ^^^^^^
/ see what group you have to install.
/>/ />/ Ok part of my problem was I was mounting the DVD under /mnt/cdrom />/ instead of /media/cdrom. />/ />/ yum repolist gives />/ yum repolist />/ Loading "fastestmirror" plugin />/ repo id repo name status />/ addons CentOS-5 - Addons enabled />/ base CentOS-5 - Base enabled />/ extras CentOS-5 - Extras enabled />/ updates CentOS-5 - Updates enabled />/ />/ however when I do the "yum grouplist" />/ its still trying to do the network yum not MEDIA repo and I get errors. />/ />/ I am still missing something.o / I underlined it for you.
Ralph
Sorry, I wasnt getting the first time. I never had the edit the repo files before and change enabled=1 for the Media then add the line enabled=0 to every base repo.
So now it starts off and looks like its going to do it but then it says failed dependencies on openssh4.3p2-26.el5
Jerry
On Fri, 2008-09-19 at 09:43 -0400, Jerry Geis wrote:
<snip>
Sorry, I wasnt getting the first time. I never had the edit the repo
yum --disablerepo=* --enablerepo=c5-media
That lets you do a temporary override. "Man yum" is suggested.
files before and change enabled=1 for the Media then add the line enabled=0 to every base repo.
So now it starts off and looks like its going to do it but then it says failed dependencies on openssh4.3p2-26.el5
Install it from the same place?
Jerry
<snip sig stuff>
HTH
Jerry Geis wrote:
Jerry Geis wrote:
/
/>>/ If you haven't done *any* upgrade on that machine yet, use the />>/ CentOS-Media repo (the .repo file is where all other .repo files are). />>/ />>/ Disable all other repos, enable that and do a "yum grouplist". You'll / ^^^^^^^ ^^^^^^
/ see what group you have to install.
/>/ />/ Ok part of my problem was I was mounting the DVD under /mnt/cdrom />/ instead of /media/cdrom. />/ />/ yum repolist gives />/ yum repolist />/ Loading "fastestmirror" plugin />/ repo id repo name status />/ addons CentOS-5 - Addons enabled />/ base CentOS-5 - Base enabled />/ extras CentOS-5 - Extras enabled />/ updates CentOS-5 - Updates enabled />/ />/ however when I do the "yum grouplist" />/ its still trying to do the network yum not MEDIA repo and I get errors. />/ />/ I am still missing something.o / I underlined it for you.
Ralph
Sorry, I wasnt getting the first time. I never had the edit the repo files before and change enabled=1 for the Media then add the line enabled=0 to every base repo.
So now it starts off and looks like its going to do it but then it says failed dependencies on openssh4.3p2-26.el5
Jerry
I'm not sure how you got to that point while trying to install X on that machine but UNLESS there has been other stuff added from who-knows-where, yum will resolve the dependencies. That's what yum does. (You did read the 1st sentence of Ralph's 1st reply, right? -- "If you haven't done *any* upgrade on that machine yet,....")?
Once that system has been cross-pollinated, all bets are off. If you *have* loaded that baby down with updates and/or packages from Fedora, EPEL, rpmforge, sourceforge, etc., then you will likely have a bunch of head-scratchin' in your near and distant future. Un-bastardization is kinda like un-ringing a bell.
Robert wrote:
(You did read the 1st sentence of Ralph's 1st reply, right? -- "If you haven't done *any* upgrade on that machine yet,....")?
Once that system has been cross-pollinated, all bets are off. If you *have* loaded that baby down with updates and/or packages from Fedora, EPEL, rpmforge, sourceforge, etc., then you will likely have a bunch of head-scratchin' in your near and distant future. Un-bastardization is kinda like un-ringing a bell.
Having stuff on there from other repos isn't even the problem: As soon as you update *one* package on the machine, the centos media repository isn't able to satisfy dependencies anymore, as it only knows about stuff which is *on* the install medium.
Ralph