[Yum] Using yum to create a seperate installation on a file system

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

 



Hi

I am trying to use yum to install to a file system without having yum 
install all the repo and cache data on the destination filesystem. The 
installroot directive appeared to be what I was after, but all fails, 
and the following is what I get,
[root@cherafir ~]# yum -c /root/yumstuff/yum.conf install yum
Yum Version: 2.2.1
COMMAND: yum -c /root/yumstuff/yum.conf install yum
Installroot: /root/mnt
Ext Commands:
   yum
Setting up Install Process
Setting up Repos
No Repositories Available to Set Up

My yum.conf looks like this, and I have placed a known working set of 
repo's in the yumstuff directory
[main]
cachedir=/root/yumstuff
debuglevel=10
logfile=/root/yumstuff/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
installroot=/root/mnt
reposdir=/root/yumstuff
cachedir=/root/yumstuff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: marian.vcf
Type: text/x-vcard
Size: 180 bytes
Desc: not available
Url : http://lists.dulug.duke.edu/pipermail/yum/attachments/20050806/fe3d581f/marian.vcf

[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