[Spacewalk-list] XMLRPC: channel.software.listLatestPackages does not show packages with letters in version
Michael Mraka
michael.mraka at redhat.com
Tue Nov 12 09:32:53 UTC 2013
Samuel_Suter at mcafee.com wrote:
% Hi all,
%
% In one of my channels I have the EPEL "erlang" RPMs. If I do a "channel.software.listLatestPackages" call those RPMs are not listed.
%
% I suspect it's got something to do with the way the erlang RPMs are versioned. Below a dump of what "package.getDetails" returns on "erlang".
%
% Now, is this potentially a bug or is this somewhat as designed/desired? Currently, my only option is to do "listAllPackages" to get those to show up.
%
% Regards
%
% Samuel
Hi Samuel,
There should be no problem with erlang package versioning:
[root at spacewalk ~]# spacewalk-repo-sync -c epel6-centos6-x86_64 -i erlang*
Repo URL:
http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=x86_64
Packages in repo: 9984
Packages passed filter rules: 122
Packages already synced: 0
Packages to sync: 122
1/122 : erlang-percept-R14B-04.2.el6-0.x86_64
...
41/122 : erlang-R14B-04.2.el6-0.x86_64
...
122/122 : erlang-cosEvent-R14B-04.2.el6-0.x86_64
Linking packages to channel.
Repo http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=x86_64 has comps file comps.xml.
Repo http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=x86_64 has 2859 errata.
2805 errata skipped because of empty package list.
Sync completed.
[root at spacewalk ~]# spacecmd softwarechannel_listallpackages epel6-centos6-x86_64
INFO: Connected to https://localhost/rpc/api as admin
erlang-R14B-04.2.el6.x86_64
...
erlang-xmlrpc-1.13-2.el6.x86_64
js-1.70-12.el6.x86_64
leveldb-1.7.0-2.el6.x86_64
libgsasl-1.4.0-4.el6.x86_64
snappy-1.0.5-1.el6.x86_64
wxBase-2.8.12-1.el6.x86_64
wxGTK-2.8.12-1.el6.x86_64
wxGTK-gl-2.8.12-1.el6.x86_64
[root at spacewalk ~]# spacecmd softwarechannel_listallpackages epel6-centos6-x86_64 | wc -l
INFO: Connected to https://localhost/rpc/api as admin
122
Regards,
--
Michael Mráka
Satellite Engineering, Red Hat
More information about the Spacewalk-list
mailing list