<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-10-17 22:05 GMT+02:00 Sérgio Basto <span dir="ltr">&lt;<a href="mailto:sergio@serjux.com" target="_blank">sergio@serjux.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sex, 2014-10-17 at 10:27 -0600, Orion Poplawski wrote:<br>
&gt; I think the provides for the kernel-debug-devel package is causing issues when<br>
&gt; installing akmods:<br>
&gt;<br>
&gt; # repoquery --provides kernel-debug-devel<br>
&gt; kernel-debug-devel = 3.16.6-200.fc20<br>
&gt; kernel-debug-devel(x86-64) = 3.16.6-200.fc20<br>
&gt; kernel-debug-devel-x86_64 = 3.16.6-200.fc20<br>
&gt; kernel-devel = 3.16.6-200.fc20+debug<br>
&gt; kernel-devel-uname-r = 3.16.6-200.fc20.x86_64+debug<br>
&gt; kernel-devel-x86_64 = 3.16.6-200.fc20+debug<br>
&gt;<br>
&gt; --&gt; Processing Dependency: kernel-devel-uname-r for package:<br>
&gt; akmods-0.5.1-3.fc19.noarch<br>
&gt; ---&gt; Package kernel-debug-devel.x86_64 0:3.16.6-200.fc20 will be installed<br>
&gt;<br>
&gt; Why does the kernel-debug-devel package have kernel-devel* provides?  Or<br>
&gt; should akmods require something different?<br>
&gt;<br>
&gt; <a href="https://bugzilla.redhat.com/show_bug.cgi?id=227533" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=227533</a><br>
<br>
</span>akmods needs the kernel-devel of running kernel system , but doesn&#39;t<br>
know at requires install time , so for me it is a bug , I usually say ,<br>
use yum install akmods-foo and kernel-devel of running kernel<br>
or like in <a href="http://rpmfusion.org/Howto/nVidia#Akmods" target="_blank">http://rpmfusion.org/Howto/nVidia#Akmods</a> :<br>
<br>
yum install akmod-nvidia-96xx &quot;kernel-devel-uname-r == $(uname -r)&quot;<br></blockquote></div><br></div><div class="gmail_extra">Best would be to have a yum/dnf plugin within akmod that would &quot;emit&quot; a RPM dependency based on that kernel-devel-uname-r value.<br><br>There are probably few corner cases to work through such when there is a new kernel/kernel-devel and the corresponding kernel-devel isn&#39;t there. In this case it will need to pick the kernel-devel-uname-r from the transaction.<br><br></div><div class="gmail_extra">Also this probably means that such plugin is installed &quot;before&quot; the akmod-foo installation is requested.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Nicolas (kwizart)<br></div></div>