On 15/11/12 17:33, Duke Nguyen wrote: > On 11/15/12 11:27 PM, David Sommerseth wrote: >> On 15/11/12 16:56, Duke Nguyen wrote: >>> On 11/15/12 7:17 PM, David Sommerseth wrote: >>>> On 15/11/12 12:03, Duke Nguyen wrote: >>>>> Hi folks, >>>>> >>>>> I am trying to install a Base system into a directory using yum >>>>> groupinstall, but I got error as below. Any suggestion to solve the >>>>> errors? Thanks. >>>>> >>>>> $ cat /etc/redhat-release >>>>> Scientific Linux release 6.3 (Carbon) >>>>> $ uname -a >>>>> Linux biowulf.grih.org 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 >>>>> 11:21:14 CST 2012 x86_64 x86_64 x86_64 GNU/Linux >>>>> $ sudo yum -y groupinstall "Base" "Server Platform" >>>>> --installroot=/diskless/root >>>>> Loaded plugins: fastestmirror, refresh-packagekit, security >>>>> Loading mirror speeds from cached hostfile >>>>> * sl: ftp.scientificlinux.org >>>>> * sl-security: ftp.scientificlinux.org >>>>> http://ftp.scientificlinux.org/linux/scientific/%24releasever/x86_64/os/repodata/repomd.xml: >>>>> >>>>> >>>> ^^^ >>>> This looks wrong. This should be $releasever and should have been >>>> expanded to 6.3 before sent to the web server. Not sure why this >>>> happens though :/ %24 is ASCII hex code for $. >>> Thanks David, I also noticed that. But that is only one "strang" error! >>> I did try to change $releasever to 6.3 in all repo files in >>> /etc/yum.repo.d/, and did not have above error, but still got similar >>> error at the end: >>> >>>> --> Processing Dependency: kernel >= 2.6.9-11 for package: >>>> systemtap-runtime-1.7-5.el6.x86_64 >>>> ---> Package xml-common.noarch 0:0.6.3-32.el6 will be installed >>>> --> Finished Dependency Resolution >>>> Error: Package: libdrm-2.4.25-2.el6.x86_64 (sl) >>>> Requires: kernel >= 2.6.29.1-52.fc11 >>>> Error: Package: pcmciautils-015-4.2.el6.x86_64 (sl) >>>> Requires: kernel >= 2.6.12-1.1411_FC5 >>>> Error: Package: systemtap-runtime-1.7-5.el6.x86_64 (sl) >>>> Requires: kernel >= 2.6.9-11 >>>> You could try using --skip-broken to work around the problem >>>> You could try running: rpm -Va --nofiles --nodigest >>> Question is: why the system installed fine with live CD, and now with >>> the exact same system, installation to different location >>> (/diskless/root) fails with all kind of dependencies? >> I'll admit I didn't look too carefully at the rest last time. Fixing >> the first steps usually helps solving the next ones ... but there are a >> couple of things here I wonder about: >> >> kernel >= 2.6.29.1-52.fc11 >> kernel >= 2.6.12-1.1411_FC5 >> kernel >= 2.6.9-11 >> >> That is ancient kernels, none of them have (to my knowledge) ever been >> EL kernels, and all of them predates EL6 and even EL5. >> >> So I'm wondering where it got the information about these kernels. >> Could you please provide the output of 'rpm -qa kernel' ? > > Here you go: > > $ rpm -qa kernel > kernel-2.6.32-279.14.1.el6.x86_64 > kernel-2.6.32-279.5.1.el6.x86_64 >
Hmm. Just a silly question ... but have you tried a 'yum clean all' and then tried the groupinstall? It's really peculiar that it complains about these old kernels when you don't have them - and the versions you have should really be good enough. kind regards, David Sommerseth
