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

Tim Lank timlank at timlank.com
Thu Mar 31 14:08:46 UTC 2011


On Thu, Mar 31, 2011 at 9:49 AM, Brian Collins <brianc at sedata.com> wrote:
>> Can anyone indicate why I wouldn't get a 100% response from this API
> call?
>> Why do these 24 fail to produce any results?
>
> Just so I understand you, you're not getting any results at all?  It's
> not just that the ID field is empty - you get no array back at all from
> this query?
> If that's the case, what results do you get in the GUI when you do a
> package search for bitstream-vera-fonts?
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>

Exactly.  I retreive and print out the following items from the returned array:

name
version
release
epoch
id
arch_label

As stated, I get results for 1015 of them, but not for the 24 listed
for some reason.  For those, I get absolutely no output at all for any
of these fields.

When I go into the GUI and do a search for each of these packages, I
get results for all of them without issue.

Here is the pid that is returned in the URL for each of the 24 (last column)

bitstream-vera-fonts 1.10 4 (none) noarch	14008
bluez-libs 2.10 3 (none) i386			19468	
bluez-utils 2.10 5.el4 (none) i386		20232		
compat-glibc 2.3.2 95.30 1 i386			13906			
compat-glibc-headers 2.3.2 95.30 1 i386		13907
crontabs 1.10 7 (none) noarch			14051
dhcpv6_client 0.10 24_EL4 (none) i386		19637		
file 4.10 9.el4 (none) i386			47149
fonts-hebrew 0.100 4 (none) noarch		14191
ghostscript-fonts 5.50 13 (none) noarch		14251	
hotplug 2004_04_01 7.10 3 i386			20652	
libcap 1.10 20 (none) i386			14551		
libcap-devel 1.10 20 (none) i386		14552
make 3.80 7.EL4 1 i386				19679			
nc 1.10 22 (none) i386				14759		
net-tools 1.60 40.el4 (none) i386		20005		
nmap 3.70 1 2 i386				14783				
nmap-frontend 3.70 1 2 i386			14784		
perl-DBI 1.40 9 (none) i386			19748
perl-Filter 1.30 6 (none) i386			14858
perl-URI 1.30 4 (none) noarch			14866
udev 039 10.30.el4 (none) i386			47212
units 1.80 10 (none) i386			15142
xpdf 3.00 24.el4_8.1 1 i386			38684




More information about the Spacewalk-list mailing list