[elrepo] Announcement: EL7 Updated kmod-nvidia package for RHEL7.6

Rejean Lepage lepage at grm.polymtl.ca
Wed Nov 7 17:07:35 EST 2018


There is a good chance I am wrong and I am sorry for that
(my first language is french-canadian so sorry if something does not make sense)
but I really think there is something wrong.

1)
for every version SL or CentOS systems (that are not yet 76) having elrepo
enabled will cause a failure if we try to install or update nvidia-340xx

% yum --enablerepo=elrepo install kmod-nvidia-340xx

elrepo                                                                                                         
| 2.9 kB  00:00:00    
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
--> Processing Dependency: kernel(sg_alloc_table_from_pages) = 0xf25d238b for
package: kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64
--> Processing Dependency: kernel(i2c_del_adapter) = 0x28a636e9 for package:
kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64
--> Processing Dependency: kernel(i2c_add_adapter) = 0xa6f8da46 for package:
kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64
--> Processing Dependency: kernel(drm_legacy_pci_init) = 0xc30e01c8 for package:
kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64
--> Processing Dependency: kernel(drm_legacy_pci_exit) = 0x0a05a9f3 for package:
kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64
...

2)
I did try to be more specific but it failed anyhow... I tried every possible
combination.

    % yum --disablerepo=\* --enablerepo=elrepo install kmod-nvidia-340xx-340.107-1
    % yum --disablerepo=\* --enablerepo=elrepo install
    kmod-nvidia-340xx-340.107-1.el7_5
    % yum --disablerepo=\* --enablerepo=elrepo install
    kmod-nvidia-340xx-340.107-1.el7_5.elrepo.x86_64
    % yum --disablerepo=\* --enablerepo=elrepo install
    kmod-nvidia-340xx-340.107-1.el7_5.elrepo.x86_64.rpm
    No package kmod-nvidia-340xx-340.107-1.el7_5.elrepo.x86_64.rpm available.
    Error: Nothing to do

    then *you saying this made me wonder* ... so I cleaned yum cache and it
    worked without the .rpm (which still fail)
        yum clean all
        yum --disablerepo=\* --enablerepo=elrepo install
    kmod-nvidia-340xx-340.107-1.el7_5.elrepo.x86_64

    great one thing solved. next,

3)
> Alternatively, you can add a temporary wildcard exclude for all el7.6 elrepo
> packages until you have el7.6 available to install:
>
> exclude=*el7_6.elrepo* 

exclude=*el7_6.elrepo*       yes does work for now.

Although it does work it require us to reconfigure several hundred of systems
and change a repo config file on all system that may be power on or off.
We also need to prevent issues for future version and in example el7_[6,7,8,9]
and instead of excluding 7*6 is there a way to include ONLY *7_5* ? (for EL75
systems)

4)
I think
Having elrepo to be directly available by major and minor version would be a way
to fix this and it as Nothing that I now to do with CentOS.
Scientific Linux repos are provided to be accessible by major and minor version
7.3, 7.4 , 7.5  or latest 7x version if we want.
So a system running 7.4 or 7.5 will not update to 7.6 unless 7x repo is made
available on that system.

Sorry to insist but this update does fail all your CentOS and Scientific Linux
user.
Releasing el7_6 update is an impossible version to us - all clone users.

5)
> The way it is configured now *PREVENTS* you from breaking your system.

I have been using elrepo for years but I am new on the list ...
I do fail to see the new way that *now PREVENT* from braking systems...
To me the way it is configured now does brake systems because EL7_6 is made
available to all EL7.4 and EL7.5 systems.
errors are  liste in 1).

What is supposed to be updated that is not ?

Please tell me what am I missing here.

best regards,
Rejean.


On 2018-11-07 4:08 p.m., Phil Perry wrote:
> On 07/11/2018 3:42, Rejean Lepage wrote:
>> Ok thank you Trevor for the info.
>>
>> How can we install a specefic version 340.107-1.el7_5.elrepothen ?
>> I list it but can't install it.
>>
>
> Just be specific:
>
> yum install kmod-nvidia-340xx-340.107-1.el7_5.elrepo.x86_64.rpm
>
>> % yum --disablerepo=\* --enablerepo=elrepo  --showduplicates list 
>> `nvidia-detect`
>> Available Packages
>> kmod-nvidia-340xx.x86_64      340.107-1.el7_5.elrepo elrepo
>> kmod-nvidia-340xx.x86_64      340.107-2.el7_6.elrepo elrepo
>>
>> % yum --disablerepo=\* --enablerepo=elrepo --showduplicates install 
>> 340.107-1.el7_5.elrepo
>> No package 340.107-1.el7_5.elrepo available.
>> Error: Nothing to do
>>
>>
>> Updating the repo so it is accessible by sub version would be a way to fix
>> this... like SL does.
>> 7.4
>> 7.5
>> 7x
>>
>
> That would be a CentOS issue - you would need to talk to CentOS about that.
>
>> The way it is now I have to disable elrepo so it does not brake my systems.
>> When yum as an error - yum-cron stop all updates, including security updates.
>>
>
> No, you've got that back to front. The way it is configured now *PREVENTS* you
> from breaking your system. If yum allowed the update, that *WOULD* break your
> system as the display driver and X would not load and you'd have a black
> screen upon boot. Further, there are no security updates at the moment until
> CentOS/SL catches up, at which point yum will magically just work again and
> apply all pending updates, including those from elrepo which are waiting for
> and dependant upon the pending CentOS updates.
>
> If this bothers you that much you can easily work around this by temporarily
> excluding any updates in /etc/yum.repos.d/elrepo.repo (or yum.conf) for any
> affected packages until your distro of choice catches up, but don't forget to
> remove the excludes when you update to el7.6 or that will cause your system to
> break too.
>
> Alternatively, you can add a temporary wildcard exclude for all el7.6 elrepo
> packages until you have el7.6 available to install:
>
> exclude=*el7_6.elrepo*
>
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo

-- 
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/20181107/7dda5217/attachment-0001.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/20181107/7dda5217/attachment-0001.sig>


More information about the elrepo mailing list