Hi, yes there is an arch field:
repo : rhel-i386-server-5
arch : i386 -l
createrepo_flags : -c cache
keep updated : True
mirror : rhn://rhel-i386-server-5
mirror locally : 1
owners : ['admin']
priority : 99
rpm list :
yum options : {}
I added the "-l", I found this in the archives, without it, it didn't work.
I attached the action_reposync.py
Kind regards
Tim
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Michael DeHaan
Gesendet: Donnerstag, 31. Juli 2008 14:47
An: cobbler mailing list
Betreff: Re: AW: AW: action_reposync.py / patch / cobbler reposync
[EMAIL PROTECTED] wrote:
> Hi,
>
> lines 173 and 174 now look like this:
>
> if repo.arch == "i386":
> repo.arch = "i686"
>
> But it still does not work
>
> Kind regards
>
> Tim
>
Doh!
This might be something with yum_rhn_plugin and the flags it expects.
Hard to say. If you can email the full contents of your file (patch
applied) (off-list is fine) I'll take a look and see if it seems right,
and run it by some folks who might know better.
Should be relatively easy to sort out, I would hope.
Is there an arch field already set on your repo? You might have to
assign one. Try "cobbler repo report" and if not "cobbler repo edit
--name=foo --arch=i386".
--Michael
>
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Michael DeHaan
> Gesendet: Mittwoch, 30. Juli 2008 22:58
> An: cobbler mailing list
> Betreff: Re: AW: action_reposync.py / patch / cobbler reposync
>
> [EMAIL PROTECTED] wrote:
>
>> Hi,
>>
>> thanks for the patch, but I am not able to install it...
>>
>> If I run it, it complains
>>
>> patching file action_reposync.py
>> patch: **** malformed patch at line 4: args = { "name" : repo.name, "rest" :
>> rest }
>>
>> I also tried to manually add the lines, but then python complains
>>
>> IndentationError: unindent does not match any outer indentation level
>>
>> Kind regards
>> Tim
>>
>>
>
> This patch was made against devel, not stable. You'll have to manually >
> add the equivalent to 1.0.3 as we are going to be doing a 1.2 release in > ~2
> weeks I likely will not be doing a 1.0.4 (we have already done 3
> bugfix releases on 1.0).
>
> --Michael
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>
>
>
> ***********************************************************************************
> Hinweis: Diese E-Mail und evtl. Anhaenge wurden automatisch
> auf Viren geprueft und gelten als virenfrei. Ihr IT-Referat.
> ***********************************************************************************
>
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler
***********************************************************************************
Hinweis: Diese E-Mail und evtl. Anhaenge wurden automatisch
auf Viren geprueft und gelten als virenfrei. Ihr IT-Referat.
***********************************************************************************
action_reposync.py
Description: action_reposync.py
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
