Bug 23473

Summary: impossibility to install the package nvidia-smi for mageia
Product: Mageia Reporter: peter lawford <petlaw726>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: doktor5000, rolfpedersen, sysadmin-bugs
Version: 6   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: nvidia-current CVE:
Status comment:
Attachments: man page of the package nvidia-smi for mageia
return of rpm -ql x11-driver-video-nvidia-current-390.77-1.1.mga6.nonfree

Description peter lawford 2018-08-22 01:08:36 CEST
Description of problem:when typing:
[root@mag6 alain4]# LC_ALL=C urpmi --test nvidia-smi
No package named nvidia-smi

although there exists a man page (here attached) for the package nvidia-smi for mageia



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 peter lawford 2018-08-22 01:09:30 CEST
Created attachment 10329 [details]
man page of the package nvidia-smi for mageia
Comment 2 Rolf Pedersen 2018-08-22 01:42:39 CEST
I see nvidia-smi as a binary, not a package.

Try 'urpmf nvidia-smi`

CC: (none) => rolfpedersen

David Walser 2018-08-22 11:31:09 CEST

Version: unspecified => 6
Component: Bugzilla => RPM Packages
Product: Infrastructure => Mageia
Assignee: sysadmin-bugs => bugsquad

Comment 3 David Walser 2018-08-22 11:33:54 CEST
Indeed, nvidia-smi is a command, not a package.  You should find it in x11-driver-video-nvidia-current.

Resolution: (none) => INVALID
Source RPM: nvidia-smi => nvidia-current
Status: NEW => RESOLVED

Comment 4 peter lawford 2018-08-22 13:39:45 CEST
(In reply to David Walser from comment #3)
> Indeed, nvidia-smi is a command, not a package.  You should find it in
> x11-driver-video-nvidia-current.

sorry, but the command nvidia-smi doesn't work, although the file 
/usr/bin/nvidia-smi does exist:

[alain4@mag6 ~]$ rpm -qa |grep nvidia
dkms-nvidia-current-390.77-1.1.mga6.nonfree
nvidia-current-doc-html-390.77-1.1.mga6.nonfree
nvidia-cuda-toolkit-8.0.61-1.mga6.nonfree
x11-driver-video-nvidia-current-390.77-1.1.mga6.nonfree

here attached the return of 
[alain4@mag6 ~]$ rpm -ql x11-driver-video-nvidia-current-390.77-1.1.mga6.nonfree

and although:

[root@mag6 alain4]# LC_ALL=C nvidia-smi
bash: nvidia-smi : commande introuvable
[root@mag6 alain4]# LANGUAGE=C nvidia-smi
bash: nvidia-smi : commande introuvable
[root@mag6 alain4]# LC_ALL=en_US.UTF-8 nvidia-smi
bash: nvidia-smi : commande introuvable
in english: command not found

but: man nvidia-smi works
my graphic card is an old nvidia GTX9800+
Comment 5 peter lawford 2018-08-22 13:42:39 CEST
Created attachment 10331 [details]
return of rpm -ql x11-driver-video-nvidia-current-390.77-1.1.mga6.nonfree
Comment 6 Florian Hubold 2018-08-23 18:34:24 CEST
None of your queries show whether /usr/bin/nvidia-smi actually exists on your system currently, you only queried the rpm database but not the actual file.

Best check as root

/usr/bin/nvidia-smi
ls -al /usr/bin/nvidia-smi
rpm -V x11-driver-video-nvidia-current

CC: (none) => doktor5000