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?

D.

Reply via email to