Today I installed the update by doing the sudo pacman -Syu. Everything went well, but during the final steps it showed four errors in arch kernel

==> ERROR: module not found: ‘nvidia’
==> ERROR: module not found: ‘nvidia_modeset’
==> ERROR: module not found: ‘nvidia_uvm’
==> ERROR: module not found: ‘nvidia_drm’

For the arch kernel. The lts cachy and the cachy kernel are alright. It was not before the update. Please guide me.

sudo pacman -S nvidia

1 Like

It did not work out. I am pasting the full command output.

❯ sudo pacman -S nvidia
warning: nvidia-570.124.04-1 is up to date – reinstalling
resolving dependencies…
looking for conflicting packages…

Package (1) Old Version New Version Net Change

cachyos-v3/nvidia 570.124.04-1 570.124.04-1 0.00 MiB

Total Installed Size: 71.47 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [--------------------------------------------------------------------] 100%
(1/1) checking package integrity [--------------------------------------------------------------------] 100%
(1/1) loading package files [--------------------------------------------------------------------] 100%
(1/1) checking for file conflicts [--------------------------------------------------------------------] 100%
:: Processing package changes…
(1/1) reinstalling nvidia [--------------------------------------------------------------------] 100%
:: Running post-transaction hooks…
(1/5) Arming ConditionNeedsUpdate…
(2/5) Updating module dependencies…
(3/5) Update Nvidia module in initcpio (for DRM KMS)
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos-lts.preset: ‘default’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux-cachyos-lts -g /boot/initramfs-linux-cachyos-lts.img
==> Using drop-in configuration file: ‘10-chwd.conf’
==> Starting build: ‘6.12.18-1-cachyos-lts’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [autodetect]
→ Running build hook: [microcode]
→ Running build hook: [kms]
→ Running build hook: [modconf]
→ Running build hook: [block]
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux-cachyos-lts.img’
→ Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos-lts.preset: ‘fallback’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux-cachyos-lts -g /boot/initramfs-linux-cachyos-lts-fallback.img -S autodetect
==> Using drop-in configuration file: ‘10-chwd.conf’
==> Starting build: ‘6.12.18-1-cachyos-lts’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [microcode]
→ Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: ‘ast’
→ Running build hook: [modconf]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: ‘aic94xx’
==> WARNING: Possibly missing firmware for module: ‘bfa’
==> WARNING: Possibly missing firmware for module: ‘qed’
==> WARNING: Possibly missing firmware for module: ‘qla1280’
==> WARNING: Possibly missing firmware for module: ‘qla2xxx’
==> WARNING: Possibly missing firmware for module: ‘wd719x’
==> WARNING: Possibly missing firmware for module: ‘xhci_pci_renesas’
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux-cachyos-lts-fallback.img’
→ Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos.preset: ‘default’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux-cachyos -g /boot/initramfs-linux-cachyos.img
==> Using drop-in configuration file: ‘10-chwd.conf’
==> Starting build: ‘6.13.6-2-cachyos’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [autodetect]
→ Running build hook: [microcode]
→ Running build hook: [kms]
→ Running build hook: [modconf]
→ Running build hook: [block]
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux-cachyos.img’
→ Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-cachyos.preset: ‘fallback’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux-cachyos -g /boot/initramfs-linux-cachyos-fallback.img -S autodetect
==> Using drop-in configuration file: ‘10-chwd.conf’
==> Starting build: ‘6.13.6-2-cachyos’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [microcode]
→ Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: ‘ast’
→ Running build hook: [modconf]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: ‘aic94xx’
==> WARNING: Possibly missing firmware for module: ‘bfa’
==> WARNING: Possibly missing firmware for module: ‘qed’
==> WARNING: Possibly missing firmware for module: ‘qla1280’
==> WARNING: Possibly missing firmware for module: ‘qla2xxx’
==> WARNING: Possibly missing firmware for module: ‘wd719x’
==> WARNING: Possibly missing firmware for module: ‘xhci_pci_renesas’
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux-cachyos-fallback.img’
→ Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: ‘default’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> Using drop-in configuration file: ‘10-chwd.conf’
==> Starting build: ‘6.13.6-arch1-1’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [autodetect]
→ Running build hook: [microcode]
→ Running build hook: [kms]
→ Running build hook: [modconf]
→ Running build hook: [block]
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> ERROR: module not found: ‘nvidia’
==> ERROR: module not found: ‘nvidia_modeset’
==> ERROR: module not found: ‘nvidia_uvm’
==> ERROR: module not found: ‘nvidia_drm’
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux.img’
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: ‘fallback’
==> Using default configuration file: ‘/etc/mkinitcpio.conf’
→ -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
==> Using drop-in configuration file: ‘10-chwd.conf’
==> Starting build: ‘6.13.6-arch1-1’
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [microcode]
→ Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: ‘ast’
→ Running build hook: [modconf]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: ‘aic94xx’
==> WARNING: Possibly missing firmware for module: ‘bfa’
==> WARNING: Possibly missing firmware for module: ‘qed’
==> WARNING: Possibly missing firmware for module: ‘qla1280’
==> WARNING: Possibly missing firmware for module: ‘qla2xxx’
==> WARNING: Possibly missing firmware for module: ‘wd719x’
==> WARNING: Possibly missing firmware for module: ‘xhci_pci_renesas’
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
==> ERROR: module not found: ‘nvidia’
==> ERROR: module not found: ‘nvidia_modeset’
==> ERROR: module not found: ‘nvidia_uvm’
==> ERROR: module not found: ‘nvidia_drm’
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: ‘/boot/initramfs-linux-fallback.img’
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
(4/5) Check if user should be informed about rebooting after certain system package upgrades.
(5/5) Checking which packages need to be rebuilt

We need to remove that package from our repos.

edit: should be removed now, please update your system and this should be fixed.

2 Likes

Thanks, it solved the issue.