[elrepo] kmod-nvidia-340xx-340.107-2.el7_6 should require dependencies kernel-3.10.0-957 ?

Rejean Lepage lepage at grm.polymtl.ca
Tue Nov 27 22:09:07 EST 2018


Hi Phil, I was reading up since our last exchange and a comment you made here
make me wonder...

On 2018-11-27 2:41 p.m., Phil Perry wrote:
> Please could you show the output from:
>
> rpm -q --whatrequires nvidia-x11-drv 

============================================

% rpm -q --whatrequires nvidia-x11-drv-340xx
kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64

% rpm -q --whatrequires kmod-nvidia-340xx
no package requires kmod-nvidia-340xx

% rpm -q --whatrequires kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64
no package requires kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64

% yum --enablerepo=elrepo install kmod-nvidia-340xx
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package kmod-nvidia-340xx.x86_64 0:340.107-2.el7_6.elrepo will be installed
--> Processing Dependency: nvidia-x11-drv-340xx = 340.107 for package:
kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64
============================================

Shouldn't this package also be listing it require a specific kernel-3.10.0-957  ?
If a kmod knows it require kernel 957 + why isn't it a requirement?

Instead of using a plugin I am wondering - What would happen if in order to
install kmod-nvidia-340xx-340.107-2.*el7_6*.elrepo.x86_64
if would actively ask for 2-3 dependencies = kernel-3.10.0-*957*.el7.x86_64 ,
kernel-devel-3.10.0-*957*.el7.x86_64

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?)
2- if it's already installed it would continue with kmod.
3- if it's not available it would stop with a missing requirement... would this
be a broken (and --skip-broken would skip it) ?

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

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 ?

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. :(

-- 
Réjean Lepage, M.Sc.
Analyste GR2M/VLSI, génie Électrique.
Chargé de cours/Lecturer Z-410, Z-415
http://www.grm.polymtl.ca/~lepage
. Tel: (514) 340-4711 Ext: 4837
. Polytechnique Montreal
. Pavillon Lassonde, Local: M-5115
. 2500 Chemin de polytechnique
. Montréal, Québec, H3T-1J4  

-- 
Réjean Lepage, M.Sc.
Analyste GR2M/VLSI, génie Électrique.
Chargé de cours/Lecturer Z-410, Z-415
http://www.grm.polymtl.ca/~lepage
. Tel: (514) 340-4711 Ext: 4837
. Polytechnique Montreal
. Pavillon Lassonde, Local: M-5115
. 2500 Chemin de polytechnique
. Montréal, Québec, H3T-1J4  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20181127/27311809/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20181127/27311809/attachment.sig>


More information about the elrepo mailing list