View Issue Details

IDProjectCategoryView StatusLast Update
0001419channel: elrepo/el8kmod-nvidia-390xxpublic2024-03-06 13:41
Reporterzish Assigned Totqhoang  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0001419: Dependency (perl) of nvidia-x11-drv-390xx
DescriptionHi,

i cannot install "nvidia-x11-drv-390xx-390.157-3.el8_8.elrepo.x86_64.rpm" package on my RHEL 8.8/8.9 OS because "perl" as dependency is missing but "perl-interpreter" is installed and usable.
It is possible that the "Requires: perl" in the spec file creates that issue?

I found an Red Hat article here that maybe the issues descriptes -> https://access.redhat.com/documentation/fr-fr/red_hat_enterprise_linux/9/html/packaging_and_distributing_software/how-to-handle-packages-with-perls-scripts_advanced-topics


br
Steps To Reproduce[root@localhost ~]# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
[root@localhost ~]# yum install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
[root@localhost ~]# yum install nvidia-detect
[root@localhost ~]# nvidia-detect -v
[root@localhost ~]# yum install kmod-nvidia-390xx
Last metadata expiration check: 0:31:06 ago on Fri 19 Jan 2024 12:42:43 PM UTC.
Error:
 Problem: package kmod-nvidia-390xx-390.157-4.el8_9.elrepo.x86_64 requires nvidia-x11-drv-390xx = 390.157, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides perl needed by nvidia-x11-drv-390xx-390.157-3.el8_8.elrepo.x86_64
  - nothing provides perl needed by nvidia-x11-drv-390xx-390.157-4.el8_9.elrepo.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Additional Information[root@localhost ~]# uname -a
Linux localhost 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Thu Nov 16 10:29:04 EST 2023 x86_64 x86_64 x86_64 GNU/Linux

TagsNo tags attached.

Activities

pperry

2024-01-19 14:22

administrator   ~0009512

Acknowledged, this does look like a bug as /usr/bin/perl is now provided by perl-interpreter, not the perl package. I'll get this fixed in the next release. In the meantime, you can force installation with the missing perl dependency and it should not break anything.

However, I do not understand why you cannot install perl on your RHEL8 installation?

I have on genuine RHEL8:

$ uname -a
Linux Build64R8 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Thu Dec 7 03:06:13 EST 2023 x86_64 x86_64 x86_64 GNU/Linux

$ rpm -q perl
perl-5.26.3-422.el8.x86_64
$ rpm -q perl-interpreter
perl-interpreter-5.26.3-422.el8.x86_64

Do you have the rhel-8-for-x86_64-appstream-rpms channel enabled?

$ sudo yum reinstall perl
Updating Subscription Management repositories.
Dependencies resolved.
====================================================================================
 Package Arch Version Repository Size
====================================================================================
Reinstalling:
 perl x86_64 4:5.26.3-422.el8 rhel-8-for-x86_64-appstream-rpms 73 k

Transaction Summary
====================================================================================

Total download size: 73 k
Installed size: 0
Is this ok [y/N]

zish

2024-01-22 08:24

reporter   ~0009518

After installed "perl" with a working repository everything works fine.

[root@localhost ~]# rpm -q perl
perl-5.26.3-422.el8.x86_64

[root@localhost ~]# rpm -q nvidia-x11-drv-390xx-libs
nvidia-x11-drv-390xx-libs-390.157-3.el8_8.elrepo.x86_64

[root@localhost ~]# rpm -q kmod-nvidia-390xx
kmod-nvidia-390xx-390.157-3.el8_8.elrepo.x86_64

[root@localhost ~]# rpm -q nvidia-x11-drv-390xx
nvidia-x11-drv-390xx-390.157-3.el8_8.elrepo.x86_64

Many thanks for your help and i am glad to hear that you fix the "Requires: perl" in spec file next release.

br

tqhoang

2024-03-06 13:41

manager   ~0009601

This issue is fixed with the release of these NVIDIA packages:

kmod-nvidia-390xx-390.157-5.el8_9.elrepo.x86_64.rpm
nvidia-x11-drv-390xx-390.157-5.el8_9.elrepo.x86_64.rpm
nvidia-x11-drv-390xx-libs-390.157-5.el8_9.elrepo.i686.rpm
nvidia-x11-drv-390xx-libs-390.157-5.el8_9.elrepo.x86_64.rpm

If you have any further issues, please open a new ticket. Thank you.

Issue History

Date Modified Username Field Change
2024-01-19 10:34 zish New Issue
2024-01-19 10:34 zish Status new => assigned
2024-01-19 10:34 zish Assigned To => pperry
2024-01-19 14:22 pperry Note Added: 0009512
2024-01-22 08:24 zish Note Added: 0009518
2024-03-06 13:41 tqhoang Assigned To pperry => tqhoang
2024-03-06 13:41 tqhoang Status assigned => closed
2024-03-06 13:41 tqhoang Resolution open => fixed
2024-03-06 13:41 tqhoang Note Added: 0009601