On 11/16/12 6:11 PM, David Sommerseth wrote:
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.


I just did. Same error:

$ yum clean all
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: google-chrome sl sl-livecd-extra sl-security
Cleaning up Everything
$ yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
 * sl: ftp.scientificlinux.org
 * sl-security: ftp.scientificlinux.org
google-chrome |  951 B     00:00
google-chrome/primary | 1.4 kB     00:00
google-chrome 3/3
sl | 3.2 kB     00:00
sl/primary_db | 4.2 MB     00:26
sl-livecd-extra | 1.4 kB     00:00
sl-livecd-extra/primary |  25 kB     00:00
sl-livecd-extra 69/69
sl-security | 1.9 kB     00:00
sl-security/primary_db | 3.0 MB     00:28
Setting up Update Process
No Packages marked for Update
$ 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
Setting up Group Process
Checking for new repos for mirrors
Resolving Dependencies
--> Running transaction check
---> Package acpid.x86_64 0:1.0.10-2.1.el6 will be installed
--> Processing Dependency: /bin/sh for package: acpid-1.0.10-2.1.el6.x86_64
--> Processing Dependency: /sbin/service for package: acpid-1.0.10-2.1.el6.x86_64 --> Processing Dependency: /sbin/chkconfig for package: acpid-1.0.10-2.1.el6.x86_64 --> Processing Dependency: /bin/bash for package: acpid-1.0.10-2.1.el6.x86_64 --> Processing Dependency: /sbin/chkconfig for package: acpid-1.0.10-2.1.el6.x86_64
--> Processing Dependency: /bin/sh for package: acpid-1.0.10-2.1.el6.x86_64
....................
---> Package libXfont.x86_64 0:1.4.1-2.el6_1 will be installed
---> Package libdrm.x86_64 0:2.4.25-2.el6 will be installed
--> Processing Dependency: kernel >= 2.6.29.1-52.fc11 for package: libdrm-2.4.25-2.el6.x86_64
---> Package libfontenc.x86_64 0:1.0.5-2.el6 will be installed
---> Package pcmciautils.x86_64 0:015-4.2.el6 will be installed
--> Processing Dependency: kernel >= 2.6.12-1.1411_FC5 for package: pcmciautils-015-4.2.el6.x86_64
---> Package poppler-data.noarch 0:0.4.0-1.el6 will be installed
---> Package systemtap-runtime.x86_64 0:1.7-5.el6 will be installed
--> 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

Reply via email to