Just changing subject line to start a new thread.
>>>>> Leonid Flaks wrote:
>>>>>
>>>>>
>>>>>> I still can't figure out how to deal with doing reposync on the whole
>>>>>> repo, not just a list of rpms. yumdownloader likes to have implicit list
>>>>>> of files to download.
>>>>>> Is mirror location in the form of http:// supported in cobbler if RPMS
>>>>>> list is empty?
>>>>>> I am using cobbler 1.4.3 on fedora 10.
>>>>>> In short - if I enter http_proxy either by editing file in
>>>>>> /var/lib/cobbler/config/repos.d/ or using cobbler command and list rpms
>>>>>> to use it works as expected.
>>>>>>
>>>>>>
>>>>>>
>>>>> Ok, I would hope that yum reposync could also pull this from the
>>>>> environment. This is something to look into.
>>>>>
>>>>>
>>>>>
>>>> Now from your reply I think I see the problem - cobbler is supposed to
>>>> use reposync with empty rpms list (am I right?) when syncing
>>>> repositories. But 1.4.3 is trying yumdownload instead and failing as it
>>>> requires implicit list!
>>>>
>>>>
>>>>
>>>>> If you set it with say, "export", it doesn't use this setting?
>>>>>
>>>>>
>>>>>
>>>>>
>>> If you have rpms in the rpmlist, it uses yumdownloader instead of yum's
>>> reposync, internally, yes.
>>>
>>> Paste "cobbler repo report" please...
>>>
>>> --Michael
>>>
>>>
>>>
>> I setup 2 repos that I want to mirror locally 'F10-i386-rpmfusion-free'
>> and 'F10-i386-rpmfusion-nonfree'
>> I put a few rpms in '*nonfree' and left '*free' empty.
>>
>> I have other repos that I don't mirror locally - we have fast internal
>> mirror inside of company's firewall with http access. I removed them
>> from output to make reply shorter, but can submit them also if needed.
>>
>> Here is the output of "cobbler repo report":
>>
>>
>>
>> repo : F10-i386-rpmfusion-free
>> arch : i386
>> breed : yum
>> comment : Rpmfusion free for Fedora 10 i386
>> created : Mon Jan 26 17:04:02 2009
>> createrepo_flags :
>> environment : {'http_proxy': 'http://192.168.1.130:3128'}
>> keep updated : True
>> mirror :
>> http://mirrors.tummy.com/mirrors/rpmfusion.org/free/fedora/releases/10/Everything/i386/os/
>> mirror locally : True
>>
>> modified : Wed Mar 25 10:01:49 2009
>>
>> owners : ['cobbler']
>>
>> priority : 99
>>
>> rpm list : []
>>
>> yum options : {}
>>
>>
>> repo : F10-i386-rpmfusion-nonfree
>> arch : i386
>> breed : yum
>> comment : Rpmfusion nonfree for Fedora 10
>> i386
>>
>> created : Mon Jan 26 17:09:18 2009
>> createrepo_flags :
>> environment : {'http_proxy': 'http://192.168.1.130:3128'}
>> keep updated : True
>> mirror :
>> http://download1.rpmfusion.org/nonfree/fedora/releases/10/Everything/i386/os/
>> mirror locally : True
>>
>> modified : Thu Mar 19 12:46:45 2009
>>
>> owners : ['cobbler']
>>
>> priority : 99
>>
>> rpm list : ['kmod-nvidia akmod-nvidia kmod-fglrx akmod-fglrx']
>>
>> yum options : {}
>>
>>
>>
>> My mail program added new lines in the long lines - mirror lines are
>> oneliners in original output.
>>
>> Thanks for help!
>>
--
Leon
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler