Re: newbie chroot type question...

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

 



On Thu, 2005-08-04 at 20:46 +0000, 3kr1ltp02@xxxxxxxxxxxxxx wrote:

> 3. Are there some commonly used tools out htere to help me resolve the depdencies quicker?

I usually use YUM to install into a chroot:

1. Create a yum repo (place your rpms in a dir i.e. /your/rpms) then
run:

createrepo /your/rpms

2. Create a yum.conf like this:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
tsflags=noscripts notriggers

[myrepo]
name=myrepo
baseurl=file:///your/rpms

3. Use your new repo to install into your new chroot:

yum -y -c /my/yum.conf --installroot=/some/new/rootdir install `cat
rpm-list`

Yum and createrepo can both be found in Fedora or from:

http://linux.duke.edu/projects/yum/
http://linux.duke.edu/projects/metadata/generate/

Bob

-- 
Bobby Kashani
http://www.ocf.berkeley.edu/~bobk/garnome

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux