<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Phil, I was reading up since our
last exchange and a comment you made here make me wonder...</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 2018-11-27 2:41 p.m., Phil Perry
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:eb9ceab6-b46e-e851-4552-fbf7bb6463c1@elrepo.org">Please
could you show the output from: <br>
<br>
rpm -q --whatrequires nvidia-x11-drv
</blockquote>
<p>============================================</p>
<p>% rpm -q --whatrequires nvidia-x11-drv-340xx<br>
kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64</p>
<p>% rpm -q --whatrequires kmod-nvidia-340xx<br>
no package requires kmod-nvidia-340xx<br>
</p>
<p>% rpm -q --whatrequires
kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64<br>
no package requires
kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64<br>
<br>
</p>
<p>% yum --enablerepo=elrepo install kmod-nvidia-340xx<br>
Loaded plugins: langpacks<br>
Resolving Dependencies<br>
--> Running transaction check<br>
---> Package kmod-nvidia-340xx.x86_64 0:340.107-2.el7_6.elrepo
will be installed<br>
--> Processing Dependency: nvidia-x11-drv-340xx = 340.107 for
package: kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64<br>
============================================<br>
</p>
<p>Shouldn't this package also be listing it require a specific
kernel-3.10.0-957 ?<br>
If a kmod knows it require kernel 957 + why isn't it a
requirement?</p>
<p>Instead of using a plugin I am wondering - What would happen if
in order to install kmod-nvidia-340xx-340.107-2.<b>el7_6</b>.elrepo.x86_64<br>
if would actively ask for 2-3 dependencies = kernel-3.10.0-<b>957</b>.el7.x86_64
, kernel-devel-3.10.0-<b>957</b>.el7.x86_64<br>
<br>
</p>
<p>1- if the kernel is available it would add it to the list to be
installed. (or it require it to be installed prior to update?)<br>
2- if it's already installed it would continue with kmod.<br>
3- if it's not available it would stop with a missing
requirement... would this be a broken (and --skip-broken would
skip it) ?<br>
</p>
Wouldn't this solve the problem where it try to install
nvidia-x11-drv-340xx then fails with a bunch of missing symbols on
SL 7.5 < 7.6<br>
<p>I don't recall how yum react to missing dependencies, does it
stop all further updates or it would continue since we got
skip_broken=1 ?<br>
<br>
</p>
<p>PS: today was the day where our Scientific Linux machines updated
the kernel 957 and every rebooted machines failed with a bad 7.5
nvidia driver. :(<br>
</p>
<pre class="moz-signature" cols="80">--
Réjean Lepage, M.Sc.
Analyste GR2M/VLSI, génie Électrique.
Chargé de cours/Lecturer Z-410, Z-415
<a class="moz-txt-link-freetext" href="http://www.grm.polymtl.ca/~lepage">http://www.grm.polymtl.ca/~lepage</a>
. Tel: (514) 340-4711 Ext: 4837
. Polytechnique Montreal
. Pavillon Lassonde, Local: M-5115
. 2500 Chemin de polytechnique
. Montréal, Québec, H3T-1J4
</pre>
<pre class="moz-signature" cols="80">--
Réjean Lepage, M.Sc.
Analyste GR2M/VLSI, génie Électrique.
Chargé de cours/Lecturer Z-410, Z-415
<a class="moz-txt-link-freetext" href="http://www.grm.polymtl.ca/~lepage">http://www.grm.polymtl.ca/~lepage</a>
. Tel: (514) 340-4711 Ext: 4837
. Polytechnique Montreal
. Pavillon Lassonde, Local: M-5115
. 2500 Chemin de polytechnique
. Montréal, Québec, H3T-1J4
</pre>
</body>
</html>