[Spacewalk-list] "repoquery -q --whatrequires" not working on my spacewalk enabled machines
Michael Mraka
michael.mraka at redhat.com
Mon Feb 18 10:33:38 UTC 2013
Jens Neu wrote:
% Dear all,
%
% I have numerous Centos 6 machines running against Spacewalk 1.7. I'm just
% wondering why e.g. a "repoquery -q --whatrequires --alldeps glibc" which
% should give a lot of output is not working here. Is there a technical
% limitation why this is not working (like yum groupinstall) while running
% against Spacewalk?
Hi Jens,
there's no limitation and repoquery should (and I believe it does) work
with spacewalk repos exactly same way as with other yum repos.
Just be aware that 'repoquery -q --whatrequires' is not 'rpm -q --whatrequires'
equivalent for packages from repo.
# repoquery -h
...
--whatrequires query what package(s) require a capability
but the capability packages typicaly require is not 'glibc' but something
like 'libc.so.6()(64bit)' (dependency automaticaly generated by rpm).
So you most likely want:
# repoquery -q --whatrequires --alldeps 'libc.so.6()(64bit)'
% regards Jens
% Jens Neu
Regards,
--
Michael Mráka
Satellite Engineering, Red Hat
More information about the Spacewalk-list
mailing list