Hi Zypp hackers,
at first I introduce problem:
We use libzypp and its ruby-bindings from SP2 to download packages from
target repositories. Code is quite easy and I can share it, but my
problem looks like lives somewhere else. Sometimes when I try to
download package, it start complaining that package with given name is
not on media ( media type is yast2). When I check it, it looks like it
try to download wrong file name. But when I check metadata, there is
correct information. Do you have idea what can be wrong? I attach my
zypp logs and also snippet from metadata:
##----------------------------------------
=Pkg: update-alternatives 1.14.19 1.22 noarch
=Cks: SHA1 d484a5328acc62e15fd3496b39ce6a6bc0ae380f
+Req:
/usr/bin/perl
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsLzma) <= 4.4.2-1
-Req:
+Prq:
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsLzma) <= 4.4.2-1
-Prq:
+Prv:
update-alternatives = 1.14.19-1.22
/etc/alternatives
/usr/sbin/update-alternatives
-Prv:
=Grp: System/Management
=Lic: GPL v2 or later
=Vnd: SUSE LINUX Products GmbH, Nuernberg, Germany
=Src: update-alternatives 1.14.19 1.22 src
=Tim: 1235185128
=Loc: 1 update-alternatives-1.14.19-1.22.noarch.rpm
=Siz: 14622 27910
+Kwd:
support_l3
-Kwd:
I expect that for download is used =Loc parameter. Does anyone have
idea what can be wrong?
Thanks
Josef