<br><br><div class="gmail_quote">On Fri Oct 24 2014 at 4:01:20 PM Stanislav Ochotnicky &lt;<a href="mailto:sochotnicky@redhat.com">sochotnicky@redhat.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri 24 Oct 2014 02:26:37 PM CEST Rahul Sundaram wrote:<br>
<br>
&gt; Hi<br>
&gt;<br>
&gt; On Fri, Oct 24, 2014 at 7:58 AM, Vít Ondruch wrote:<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Yes, switch the defaults ASAP. Thanks<br>
&gt;&gt;<br>
&gt;<br>
&gt; FWIW,   there is still considerable work left is switching over to dnf<br>
&gt; completely.<br>
&gt;<br>
&gt; Filtering out some minor details (based on my system),<br>
&gt;<br>
&gt; Bodhi-client,  fedpkg, python-meh, libreport-python, yum-utils depends on<br>
&gt; yum and yum-utils itself is a dependency for fedora-review, lpf and<br>
&gt; mock.<br>
<br>
FWIW fedora-review only requires yum-utils and that&#39;s only for<br>
repoquery. Based on a quick glance at dnf repoquery module there are a<br>
few things missing that we are using with repoquery:<br>
 * -C (use cache only)<br></blockquote><div><br></div><div>dnf repoquery can use standard dnf cmd option, so -C/--cacheonly can be used.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 * --resolve (resolves to packages that provide required symbols)<br></blockquote><div><br></div><div>Not implemented in dnf repoquery yet, please open an RFE against dnf-plugins-core, with your usecase and I will look into it. </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
We also run &#39;yum makecache&#39; so before all actual repoquery commands (that&#39;s<br>
why we then use cache). This might not be needed with dnf since it<br>
usually caches yum metadata and doesn&#39;t redownload on every query.<br>
<br>
Dnf repoquery also behaves differently than yum-utils repoquery. For<br>
example:<br>
$ repoquery --requires python<br>
libc.so.6(GLIBC_2.0)<br>
libdl.so.2<br>
libm.so.6<br>
libpthread.so.0<br>
libpython2.7.so.1.0<br>
libutil.so.1<br>
python-libs(x86-32) = 2.7.5-14.fc20<br>
rtld(GNU_HASH)<br>
libc.so.6(GLIBC_2.2.5)(64bit)<br>
libdl.so.2()(64bit)<br>
libm.so.6()(64bit)<br>
libpthread.so.0()(64bit)<br>
libpython2.7.so.1.0()(64bit)<br>
libutil.so.1()(64bit)<br>
python-libs(x86-64) = 2.7.5-14.fc20<br>
rtld(GNU_HASH)<br>
<br>
$ dnf repoquery --requires python<br>
rtld(GNU_HASH)<br>
libm.so.6<br>
libpthread.so.0<br>
libdl.so.2<br>
libutil.so.1<br>
libpython2.7.so.1.0<br>
libc.so.6(GLIBC_2.0)<br>
python-libs(x86-32) = 2.7.5-9.fc20<br>
rtld(GNU_HASH)<br>
libm.so.6()(64bit)<br>
libpthread.so.0()(64bit)<br>
libdl.so.2()(64bit)<br>
libc.so.6(GLIBC_2.2.5)(64bit)<br>
libpython2.7.so.1.0()(64bit)<br>
libutil.so.1()(64bit)<br>
python-libs(x86-64) = 2.7.5-9.fc20<br>
rtld(GNU_HASH)<br>
libm.so.6<br>
libpthread.so.0<br>
libdl.so.2<br>
libutil.so.1<br>
libpython2.7.so.1.0<br>
libc.so.6(GLIBC_2.0)<br>
python-libs(x86-32) = 2.7.5-14.fc20<br>
rtld(GNU_HASH)<br>
libm.so.6()(64bit)<br>
libpthread.so.0()(64bit)<br>
libdl.so.2()(64bit)<br>
libc.so.6(GLIBC_2.2.5)(64bit)<br>
libutil.so.1()(64bit)<br>
libpython2.7.so.1.0()(64bit)<br>
python-libs(x86-64) = 2.7.5-14.fc20<br>
<br></blockquote><div><br></div><div>Can reproduce this repoquery and dnf repoquery show the same for me</div><div><br></div><div><a href="https://docs.google.com/spreadsheets/d/1WwlO3Is0psbBuJrIY_fVOjWeF5Pi5PI5Ekiy1raUjbs/edit?usp=sharing">https://docs.google.com/spreadsheets/d/1WwlO3Is0psbBuJrIY_fVOjWeF5Pi5PI5Ekiy1raUjbs/edit?usp=sharing</a><br></div><div><br></div><div>Tim</div></div>