Error while installing akmod-nvidia

I was testing the auto-installer tool I wrote on Fedora 32 Workstation (almost after three months since the last release) and I figured that there had been a lot of changes since. One of them kinda breaks things for me as the installer always exits out with a non-zero exit code.

(I know, I know - but the problem here is not with the installer but with the repository maybe - I think)

[soumadeepdhar@PAVLO Downloads]$ sudo ./NVAutoInstFedora32 --driver
[ # ] NVIDIA AUTOINSTALLER FOR FEDORA 32 AND ABOVE
[ # ] CHECKING SUPERUSER PERMISSIONS...
[ βœ” ] Superuser privilege acquired
[ # ] CHECKING AVAILABILITY OF RPM FUSION NVIDIA REPOSITORY...
[ ! ] RPM Fusion repository for Proprietary NVIDIA Driver was detected
[ # ] ATTEMPTING CONNECTION TO RPM FUSION SERVERS...
[ βœ” ] Connection to RPM Fusion servers was established
[ # ] LOOKING FOR EXISTING DRIVER PACKAGES...
[ ! ] No existing NVIDIA driver packages were detected
[ # ] INSTALLING PROPRIETARY DRIVERS...
RPM Fusion for Fedora 32 - Nonfree - NVIDIA Dri 2.4 kB/s | 8.3 kB     00:03    
Package gcc-10.2.1-1.fc32.x86_64 is already installed.
Package kernel-headers-5.8.8-200.fc32.x86_64 is already installed.
Dependencies resolved.
================================================================================
 Package                     Arch   Version                Repository      Size
================================================================================
Installing:
 akmod-nvidia                x86_64 3:450.66-1.fc32        rpmfusion-nonfree-nvidia-driver
                                                                           26 k
 kernel-devel                x86_64 5.8.8-200.fc32         updates         13 M
 xorg-x11-drv-nvidia         x86_64 3:450.66-1.fc32        rpmfusion-nonfree-nvidia-driver
                                                                          2.6 M
Installing dependencies:
 akmods                      noarch 0.5.6-25.fc32          fedora          23 k
 egl-wayland                 x86_64 1.1.5-3.fc32           updates         32 k
 elfutils-libelf-devel       x86_64 0.181-1.fc32           updates         26 k
 fakeroot                    x86_64 1.24-3.fc32            fedora          92 k
 fakeroot-libs               x86_64 1.24-3.fc32            fedora          37 k
 kmodtool                    noarch 1-38.fc32              fedora          13 k
 libglvnd-opengl             x86_64 1:1.3.2-1.fc32         updates         47 k
 libvdpau                    x86_64 1.4-2.fc32             updates         17 k
 nvidia-settings             x86_64 3:450.66-1.fc32        rpmfusion-nonfree-nvidia-driver
                                                                          1.6 M
 patch                       x86_64 2.7.6-12.fc32          fedora         135 k
 python-rpm-macros           noarch 3-58.fc32              updates         13 k
 python2-rpm-macros          noarch 3-58.fc32              updates         11 k
 python3-rpm-generators      noarch 10-4.fc32              fedora          24 k
 rpm-build                   x86_64 4.15.1-3.fc32.1        updates        115 k
 rpmdevtools                 noarch 8.10-10.fc32           fedora          90 k
 xemacs-filesystem           noarch 21.5.34-35.20190323hgc0ed7ef9a5a1.fc32
                                                           fedora         9.4 k
 xorg-x11-drv-nvidia-kmodsrc x86_64 3:450.66-1.fc32        rpmfusion-nonfree-nvidia-driver
                                                                           11 M
 xorg-x11-drv-nvidia-libs    x86_64 3:450.66-1.fc32        rpmfusion-nonfree-nvidia-driver
                                                                           62 M
 zlib-devel                  x86_64 1.2.11-21.fc32         fedora          45 k
 zstd                        x86_64 1.4.5-4.fc32           updates        609 k

Transaction Summary
================================================================================
Install  23 Packages

Total download size: 92 M
Installed size: 287 M
Downloading Packages:
(1/23): egl-wayland-1.1.5-3.fc32.x86_64.rpm      20 kB/s |  32 kB     00:01    
(2/23): elfutils-libelf-devel-0.181-1.fc32.x86_  16 kB/s |  26 kB     00:01    
(3/23): libvdpau-1.4-2.fc32.x86_64.rpm           52 kB/s |  17 kB     00:00    
(4/23): libglvnd-opengl-1.3.2-1.fc32.x86_64.rpm 134 kB/s |  47 kB     00:00    
(5/23): python-rpm-macros-3-58.fc32.noarch.rpm   39 kB/s |  13 kB     00:00    
(6/23): python2-rpm-macros-3-58.fc32.noarch.rpm  17 kB/s |  11 kB     00:00    
(7/23): rpm-build-4.15.1-3.fc32.1.x86_64.rpm     61 kB/s | 115 kB     00:01    
(8/23): zstd-1.4.5-4.fc32.x86_64.rpm            303 kB/s | 609 kB     00:02    
(9/23): akmods-0.5.6-25.fc32.noarch.rpm          12 kB/s |  23 kB     00:01    
(10/23): fakeroot-1.24-3.fc32.x86_64.rpm         36 kB/s |  92 kB     00:02    
(11/23): fakeroot-libs-1.24-3.fc32.x86_64.rpm    36 kB/s |  37 kB     00:01    
(12/23): kmodtool-1-38.fc32.noarch.rpm           20 kB/s |  13 kB     00:00    
(13/23): patch-2.7.6-12.fc32.x86_64.rpm         131 kB/s | 135 kB     00:01    
(14/23): python3-rpm-generators-10-4.fc32.noarc  72 kB/s |  24 kB     00:00    
(15/23): rpmdevtools-8.10-10.fc32.noarch.rpm    161 kB/s |  90 kB     00:00    
(16/23): xemacs-filesystem-21.5.34-35.20190323h  18 kB/s | 9.4 kB     00:00    
(17/23): zlib-devel-1.2.11-21.fc32.x86_64.rpm    43 kB/s |  45 kB     00:01    
(18/23): akmod-nvidia-450.66-1.fc32.x86_64.rpm   23 kB/s |  26 kB     00:01    
(19/23): nvidia-settings-450.66-1.fc32.x86_64.r 156 kB/s | 1.6 MB     00:10    
(20/23): xorg-x11-drv-nvidia-450.66-1.fc32.x86_ 222 kB/s | 2.6 MB     00:12    
(21/23): kernel-devel-5.8.8-200.fc32.x86_64.rpm 290 kB/s |  13 MB     00:46    
(22/23): xorg-x11-drv-nvidia-kmodsrc-450.66-1.f 186 kB/s |  11 MB     01:02    
(23/23): xorg-x11-drv-nvidia-libs-450.66-1.fc32 403 kB/s |  62 MB     02:37    
--------------------------------------------------------------------------------
Total                                           513 kB/s |  92 MB     03:03     
warning: /var/cache/dnf/rpmfusion-nonfree-nvidia-driver-d63834819c039824/packages/akmod-nvidia-450.66-1.fc32.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 6dc1be18: NOKEY
RPM Fusion for Fedora 32 - Nonfree - NVIDIA Dri 1.6 MB/s | 1.7 kB     00:00    
Importing GPG key 0x6DC1BE18:
 Userid     : "RPM Fusion nonfree repository for Fedora (32) <rpmfusion-buildsys@lists.rpmfusion.org>"
 Fingerprint: FE5A 9393 CB6E 271B 5A90 CC1B 0D9A 7699 6DC1 BE18
 From       : /usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-32
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : kmodtool-1-38.fc32.noarch                             1/23 
  Installing       : xorg-x11-drv-nvidia-kmodsrc-3:450.66-1.fc32.x86_64    2/23 
  Installing       : nvidia-settings-3:450.66-1.fc32.x86_64                3/23 
  Installing       : zlib-devel-1.2.11-21.fc32.x86_64                      4/23 
  Installing       : elfutils-libelf-devel-0.181-1.fc32.x86_64             5/23 
  Installing       : xemacs-filesystem-21.5.34-35.20190323hgc0ed7ef9a5a    6/23 
  Installing       : patch-2.7.6-12.fc32.x86_64                            7/23 
  Installing       : fakeroot-libs-1.24-3.fc32.x86_64                      8/23 
  Installing       : fakeroot-1.24-3.fc32.x86_64                           9/23 
  Running scriptlet: fakeroot-1.24-3.fc32.x86_64                           9/23 
  Installing       : zstd-1.4.5-4.fc32.x86_64                             10/23 
  Installing       : rpm-build-4.15.1-3.fc32.1.x86_64                     11/23 
  Installing       : rpmdevtools-8.10-10.fc32.noarch                      12/23 
  Installing       : python-rpm-macros-3-58.fc32.noarch                   13/23 
  Installing       : libvdpau-1.4-2.fc32.x86_64                           14/23 
  Installing       : libglvnd-opengl-1:1.3.2-1.fc32.x86_64                15/23 
  Installing       : kernel-devel-5.8.8-200.fc32.x86_64                   16/23 
  Running scriptlet: kernel-devel-5.8.8-200.fc32.x86_64                   16/23 
  Running scriptlet: akmods-0.5.6-25.fc32.noarch                          17/23 
useradd: error while loading shared libraries: libbz2.so.1: failed to map segment from shared object
error: %prein(akmods-0.5.6-25.fc32.noarch) scriptlet failed, exit status 127

Error in PREIN scriptlet in rpm package akmods
  Installing       : egl-wayland-1.1.5-3.fc32.x86_64                      18/23 
error: akmods-0.5.6-25.fc32.noarch: install failed

  Installing       : xorg-x11-drv-nvidia-libs-3:450.66-1.fc32.x86_64      19/23 
  Installing       : akmod-nvidia-3:450.66-1.fc32.x86_64                  20/23 
  Running scriptlet: akmod-nvidia-3:450.66-1.fc32.x86_64                  20/23 
warning: %post(akmod-nvidia-3:450.66-1.fc32.x86_64) scriptlet failed, exit status 1

Error in POSTIN scriptlet in rpm package akmod-nvidia
  Running scriptlet: xorg-x11-drv-nvidia-3:450.66-1.fc32.x86_64           21/23 
  Installing       : xorg-x11-drv-nvidia-3:450.66-1.fc32.x86_64           21/23 
  Running scriptlet: xorg-x11-drv-nvidia-3:450.66-1.fc32.x86_64           21/23 
  Installing       : python2-rpm-macros-3-58.fc32.noarch                  22/23 
  Installing       : python3-rpm-generators-10-4.fc32.noarch              23/23 
  Running scriptlet: akmod-nvidia-3:450.66-1.fc32.x86_64                  23/23 
  Running scriptlet: python3-rpm-generators-10-4.fc32.noarch              23/23 
  Verifying        : egl-wayland-1.1.5-3.fc32.x86_64                       1/23 
  Verifying        : elfutils-libelf-devel-0.181-1.fc32.x86_64             2/23 
  Verifying        : kernel-devel-5.8.8-200.fc32.x86_64                    3/23 
  Verifying        : libglvnd-opengl-1:1.3.2-1.fc32.x86_64                 4/23 
  Verifying        : libvdpau-1.4-2.fc32.x86_64                            5/23 
  Verifying        : python-rpm-macros-3-58.fc32.noarch                    6/23 
  Verifying        : python2-rpm-macros-3-58.fc32.noarch                   7/23 
  Verifying        : rpm-build-4.15.1-3.fc32.1.x86_64                      8/23 
  Verifying        : zstd-1.4.5-4.fc32.x86_64                              9/23 
  Verifying        : akmods-0.5.6-25.fc32.noarch                          10/23 
  Verifying        : fakeroot-1.24-3.fc32.x86_64                          11/23 
  Verifying        : fakeroot-libs-1.24-3.fc32.x86_64                     12/23 
  Verifying        : kmodtool-1-38.fc32.noarch                            13/23 
  Verifying        : patch-2.7.6-12.fc32.x86_64                           14/23 
  Verifying        : python3-rpm-generators-10-4.fc32.noarch              15/23 
  Verifying        : rpmdevtools-8.10-10.fc32.noarch                      16/23 
  Verifying        : xemacs-filesystem-21.5.34-35.20190323hgc0ed7ef9a5a   17/23 
  Verifying        : zlib-devel-1.2.11-21.fc32.x86_64                     18/23 
  Verifying        : akmod-nvidia-3:450.66-1.fc32.x86_64                  19/23 
  Verifying        : nvidia-settings-3:450.66-1.fc32.x86_64               20/23 
  Verifying        : xorg-x11-drv-nvidia-3:450.66-1.fc32.x86_64           21/23 
  Verifying        : xorg-x11-drv-nvidia-kmodsrc-3:450.66-1.fc32.x86_64   22/23 
  Verifying        : xorg-x11-drv-nvidia-libs-3:450.66-1.fc32.x86_64      23/23 

Installed:
  akmod-nvidia-3:450.66-1.fc32.x86_64                                           
  egl-wayland-1.1.5-3.fc32.x86_64                                               
  elfutils-libelf-devel-0.181-1.fc32.x86_64                                     
  fakeroot-1.24-3.fc32.x86_64                                                   
  fakeroot-libs-1.24-3.fc32.x86_64                                              
  kernel-devel-5.8.8-200.fc32.x86_64                                            
  kmodtool-1-38.fc32.noarch                                                     
  libglvnd-opengl-1:1.3.2-1.fc32.x86_64                                         
  libvdpau-1.4-2.fc32.x86_64                                                    
  nvidia-settings-3:450.66-1.fc32.x86_64                                        
  patch-2.7.6-12.fc32.x86_64                                                    
  python-rpm-macros-3-58.fc32.noarch                                            
  python2-rpm-macros-3-58.fc32.noarch                                           
  python3-rpm-generators-10-4.fc32.noarch                                       
  rpm-build-4.15.1-3.fc32.1.x86_64                                              
  rpmdevtools-8.10-10.fc32.noarch                                               
  xemacs-filesystem-21.5.34-35.20190323hgc0ed7ef9a5a1.fc32.noarch               
  xorg-x11-drv-nvidia-3:450.66-1.fc32.x86_64                                    
  xorg-x11-drv-nvidia-kmodsrc-3:450.66-1.fc32.x86_64                            
  xorg-x11-drv-nvidia-libs-3:450.66-1.fc32.x86_64                               
  zlib-devel-1.2.11-21.fc32.x86_64                                              
  zstd-1.4.5-4.fc32.x86_64                                                      

Failed:
  akmods-0.5.6-25.fc32.noarch                                                   

Error: Transaction failed
[ ✘ ] Proprietary drivers could not be installed
[ ✘ ] Leaving installer

Since this seems like a packaging bug, please confirm the bug and file a bug report with RPMFusion at bugzilla.rpmfusion.org if necessary.

Sure. I purged the package and installed it again but the error still persisted so I think that confirms it. I think I would file a bug report there.

Filed a bug. Here’s the link. 5760 – Error while installing akmod-nvidia

1 Like