On 2014-11-06 05:56, James Antill wrote: > On Tue, 2014-11-04 at 14:41 -0800, CLOSE Dave wrote: >> James Antill wrote: >> >>>> I've been running reposync hourly for the last several months, mostly >>>> because the corporate firewall blocks rsync. My local repo has quite a >>>> few packages but nowhere near all that it should have. I'm wondering why >>>> not. >>>> >>>> The machine running reposync has x86_64 architecture but the repo I'm >>>> trying to fill is for i386 machines. (I'm also running reposync for >>>> x86_64 and that seems to be working fine.) Here's the command sequence >>>> I'm running. >>>> >>>> # /usr/bin/reposync -n -a i386 -r updates -p /data/yum-mirrors/i386 >> >>> -a should be the highest arch, so you want at least i686. >> >> I've tried that. It appears to me that the -a argument identifies the >> repository to be accessed. When I tried i686, nothing was found because >> I don't have a .repo file for that. Note that fedoraproject.org doesn't >> list any mirrors for i686, only for i386. > > The only thing the -a (or --arch) option does is affect this line: > > arches = rpmUtils.arch.getArchList(opts.arch) > > ...which tells yum which arches are to use for packages: > > In [2]: rpmUtils.arch.getArchList('i386') > Out[2]: ['i386', 'noarch'] > > In [3]: rpmUtils.arch.getArchList('i686') > Out[3]: ['i686', 'i586', 'i486', 'i386', 'noarch'] > > ...note that this doesn't set arch/basearch, in fact AFAICS there is no > way to set basearch for reposync via. an option. Which brings back memories :-), nice to see I'm not the only one...:
http://lists.baseurl.org/pipermail/yum-devel/2014-May/010622.html /Anders -- Anders Blomdell Email: anders.blomd...@control.lth.se Department of Automatic Control Lund University Phone: +46 46 222 4625 P.O. Box 118 Fax: +46 46 138118 SE-221 00 Lund, Sweden _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel