[Spacewalk-list] packages.findByNvrea API method - not 100% successful

Tim Lank timlank at timlank.com
Thu Mar 31 13:16:23 UTC 2011


Here is the list of 24:

name, version, release, epoch, archLabel

bitstream-vera-fonts 1.10 4 (none) noarch
bluez-libs 2.10 3 (none) i386
bluez-utils 2.10 5.el4 (none) i386
compat-glibc 2.3.2 95.30 1 i386
compat-glibc-headers 2.3.2 95.30 1 i386
crontabs 1.10 7 (none) noarch
dhcpv6_client 0.10 24_EL4 (none) i386
file 4.10 9.el4 (none) i386
fonts-hebrew 0.100 4 (none) noarch
ghostscript-fonts 5.50 13 (none) noarch
hotplug 2004_04_01 7.10 3 i386
libcap 1.10 20 (none) i386
libcap-devel 1.10 20 (none) i386
make 3.80 7.EL4 1 i386
nc 1.10 22 (none) i386
net-tools 1.60 40.el4 (none) i386
nmap 3.70 1 2 i386
nmap-frontend 3.70 1 2 i386
perl-DBI 1.40 9 (none) i386
perl-Filter 1.30 6 (none) i386
perl-URI 1.30 4 (none) noarch
udev 039 10.30.el4 (none) i386
units 1.80 10 (none) i386
xpdf 3.00 24.el4_8.1 1 i386


On Thu, Mar 31, 2011 at 8:46 AM, Jan Pazdziora <jpazdziora at redhat.com> wrote:
> On Thu, Mar 31, 2011 at 08:02:10AM -0400, Tim Lank wrote:
>> Spacewalk-list:
>>
>> I have a list of 1039 packages with their name, version, release,
>> epoch (if it exists), and archLabel and I am trying to return the "id"
>> from the array structure that the packages.findByNvrea API method
>> provides.
>>
>> When I loop through the list of all 1039, it successfully produces the
>> "id" for 1015 of the packages, but not 24 of them (i.e. I'm getting
>> about a 98% success rate).
>>
>> I've checked the input list for the 24 that do not produce the return,
>> but nothing stands out from these as being different from the other
>> 1015 that are successful.
>>
>> Can anyone indicate why I wouldn't get a 100% response from this API
>> call?  Why do these 24 fail to produce any results?
>
> What are those 24 packages that are not found?
>
> --
> Jan Pazdziora
> Principal Software Engineer, Satellite Engineering, Red Hat
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>




More information about the Spacewalk-list mailing list