Maria Alandes Pradillo <Maria.Alandes.Pradillo@xxxxxxx> writes: > Hi, > >>> I'm experiencing problems when trying to install packages from a repository that was created using --split and --outputdir option. >>> >>> The repository was created in this way: >>> >>> createrepo --split -o dir1 dir2 >>> >>> This means that packages are in dir2 and repodata is included in dir1. >>> >>> My repo file is: >>> >> [repo] >>> name=my repo >>> baseurl=http://whatever/dir1, http://whatever/dir2 > >> This tells yum that there are two places it can get the repomd.xml >> file from, for the "repo" repo: >> >> http://whatever/dir1/repodata/repomd.xml >> http://whatever/dir2/repodata/repomd.xml >> >>...and that both of those places point to the same MD, ie. one of them >>is a mirror of another. > > Ok, I see. But then, how should the repo file look like if you create a repo like this? > createrepo --split -o dir1 dir2 As the documentation for --split says, it is used for "split media". Ie. where you have more data than will fit on a single CD/DVD, at which point anaconda has some magic which makes this work. If you are just accessing this from the network you'll want to create a single repo. ... if you are doing both, I think you want to run it twice (probably via. some other tool for the media creation bit -- maybe someone who does CD install disks can answer?) -- James Antill -- james@xxxxxxx _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum