Markus Falb wrote:
> Aaron Lippold wrote:
>
>   
>> 2) Downloading the cobbler system arch version of the rpms rather than
>> the set arch of the defined repo
>>     
>
> Running cobbler 1.6.6 on i386 I made the same (?) experience yesterday:
>
> ...snippel
> $ cobbler repo report --name=rpmforge-x86_64
> repo             : rpmforge-x86_64
> arch             : x86_64
> breed            : yum
> comment          : 
> created          : Fri Jun 26 12:27:17 2009
> createrepo_flags : 
> environment      : {}
> keep updated     : True
> mirror           : http://apt.sw.be/redhat/el5/en/x86_64/dag
> mirror locally   : True
> modified         : Sat Jun 27 18:15:53 2009
> owners           : ['[email protected]']
> priority         : 99
> rpm list         : ['libdnet']
> yum options      : {}
> snappel...
>
> reposync bails out:
>
> ...snippel
> $ cobbler reposync --only=rpmforge-x86_64
> - creating: /var/www/cobbler/repo_mirror/rpmforge-x86_64/.origin/rpmforge-
> x86_64.repo
> - /usr/bin/yumdownloader --resolve  --disablerepo=* --enablerepo=rpmforge-
> x86_64 -c /var/www/cobbler/repo_mirror/rpmforge-x86_64/.origin/rpmforge-
> x86_64.repo --destdir=/var/www/cobbler/repo_mirror/rpmforge-x86_64 libdnet
> Repository rpmforge-x86_64 is listed more than once in the configuration
> rpmforge-x86_64                                          | 1.1 kB     
> 00:00     
> No Match for argument libdnet
> Nothing to download
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/cobbler/action_reposync.py", 
> line 105, in run
>     self.sync(repo)
>   File "/usr/lib/python2.4/site-packages/cobbler/action_reposync.py", 
> line 136, in sync
>     return self.yum_sync(repo)
>   File "/usr/lib/python2.4/site-packages/cobbler/action_reposync.py", 
> line 346, in yum_sync
>     raise CX(_("cobbler reposync failed"))
> CX: 'cobbler reposync failed'
> - reposync failed, tries left: 0
> reposync failed, retry limit reached, aborting
> snappel...
>
> next try. i modified above yumdownloader command, added a --
> archlist=x86_64 argument:
>
> ...snippel
> $ /usr/bin/yumdownloader --resolve  --disablerepo=* --enablerepo=rpmforge-
> x86_64 -c /var/www/cobbler/repo_mirror/rpmforge-x86_64/.origin/rpmforge-
> x86_64.repo --destdir=/var/www/cobbler/repo_mirror/rpmforge-x86_64 
> libdnet --archlist=x86_64
> Repository rpmforge-x86_64 is listed more than once in the configuration
> --> Running transaction check
> ---> Package libdnet.x86_64 0:1.11-1.2.el5.rf set to be updated
> --> Processing Dependency: libc.so.6(GLIBC_2.4)(64bit) for package: 
> libdnet
> --> Processing Dependency: libc.so.6(GLIBC_2.3.4)(64bit) for package: 
> libdnet
> --> Processing Dependency: libc.so.6(GLIBC_2.2.5)(64bit) for package: 
> libdnet
> --> Processing Dependency: libc.so.6(GLIBC_2.3)(64bit) for package: 
> libdnet
> --> Processing Dependency: libc.so.6()(64bit) for package: libdnet
> --> Finished Dependency Resolution
> libdnet-1.11-1.2.el5.rf.x86_64 from rpmforge-x86_64 has depsolving 
> problems
>   --> Missing Dependency: libc.so.6(GLIBC_2.3)(64bit) is needed by 
> package libdnet-1.11-1.2.el5.rf.x86_64 (rpmforge-x86_64)
> libdnet-1.11-1.2.el5.rf.x86_64 from rpmforge-x86_64 has depsolving 
> problems
>   --> Missing Dependency: libc.so.6(GLIBC_2.4)(64bit) is needed by 
> package libdnet-1.11-1.2.el5.rf.x86_64 (rpmforge-x86_64)
> libdnet-1.11-1.2.el5.rf.x86_64 from rpmforge-x86_64 has depsolving 
> problems
>   --> Missing Dependency: libc.so.6(GLIBC_2.3.4)(64bit) is needed by 
> package libdnet-1.11-1.2.el5.rf.x86_64 (rpmforge-x86_64)
> libdnet-1.11-1.2.el5.rf.x86_64 from rpmforge-x86_64 has depsolving 
> problems
>   --> Missing Dependency: libc.so.6()(64bit) is needed by package 
> libdnet-1.11-1.2.el5.rf.x86_64 (rpmforge-x86_64)
> libdnet-1.11-1.2.el5.rf.x86_64 from rpmforge-x86_64 has depsolving 
> problems
>   --> Missing Dependency: libc.so.6(GLIBC_2.2.5)(64bit) is needed by 
> package libdnet-1.11-1.2.el5.rf.x86_64 (rpmforge-x86_64)
> libdnet-1.11-1.2.el5.rf.x86_64.rpm                       |  78 kB     
> 00:00
> snappel...
>
> Now the package of my choice was synced. So it seems to me that maybe 
> only the --archlist has to be set ? But how can i set it ?
>
>   

I /think/ it was suggested that we eventually replace yumdownloader with 
repotrack (and some API using code).  Rather than trying to clean this 
up, perhaps that is the thing to do.

There are current issues with it now where it will use the local system 
yum config instead of the URLs configured for the repo.

Without using --rpm-list, everything is fine, you just need the time/space.

--Michael



_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to