Re: yum groupinstall question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shuichi Ihara wrote:
Hello,

I'm attempting to install RHEL packages to a directory with yum.
e.g)
# mkdir /tmp/rhel5.3
# yum -y --installroot=/tmp/rhel5.3 -c yum.conf --disablerepo=* \
--enablerepo=rhel5.3 install bash
# yum -y --installroot=/tmp/rhel5.3 -c yum.conf --disablerepo=* \
--enablerepo=rhel5.3 groupinstall "core"

my yum.conf is much simple. It just defines repo name and bseurl which is pointed to dvd.
[rhel5.3]
name=rhel5.3
baseurl=file:///media/rhel5.3/Server

When I run above "yum groupinstall" command, it failed due to a couple of
packages are already install below...

Transaction Check Error:
  package libtermcap-2.0.8-46.1 is already installed
  package glibc-2.5-34 is already installed
  package libgcc-4.1.2-44.el5 is already installed
I think these are being read for your rpmdb in your /var file system.

Perhaps you need to initialize the rpmdb within the installroot ?

DaveT.
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux