Error when update

Hello all,
I updated my system with “Garuda-update” command and in the end of the update this what i saw:

Is that a problem?

Kernel: 6.5.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=4c70d6ff-4940-478a-8c2e-f7784de40edb rw rootflags=subvol=@
quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=d7f7a46f-3e31-426d-9271-08a4089fcf2f loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
Mobo: ASUSTeK model: PRIME B760M-A D4 v: Rev 1.xx
serial: <superuser required> UEFI: American Megatrends v: 1002
date: 04/07/2023
Device-1: hidpp_battery_1 model: Logitech Wireless Mouse MX Master 3
serial: <filter> charge: 55% (should be ignored) rechargeable: yes
status: discharging
Info: model: 13th Gen Intel Core i5-13400F bits: 64 type: MST AMCP
arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
process: Intel 7 (10nm) family: 6 model-id: 0xBF (191) stepping: 2
microcode: 0x2E
Topology: cpus: 1x cores: 10 mt: 6 tpc: 2 st: 4 threads: 16 smt: enabled
cache: L1: 864 KiB desc: d-4x32 KiB, 6x48 KiB; i-6x32 KiB, 4x64 KiB
L2: 9.5 MiB desc: 6x1.2 MiB, 1x2 MiB L3: 20 MiB desc: 1x20 MiB
Speed (MHz): avg: 1715 high: 4584 min/max: 800/4600:3300 scaling:
driver: intel_pstate governor: performance cores: 1: 800 2: 800 3: 4290
4: 800 5: 4479 6: 800 7: 800 8: 4584 9: 800 10: 800 11: 4500 12: 800
13: 800 14: 800 15: 800 16: 800 bogomips: 79872
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Device-1: NVIDIA GA106 [GeForce RTX 3060] vendor: ASUSTeK driver: nvidia
v: 535.113.01 alternate: nouveau,nvidia_drm non-free: 535.xx+
status: current (as of 2023-09) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-23 pcie: gen: 4 speed: 16 GT/s
lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2544 class-ID: 0300
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.1
compositor: kwin_x11 driver: X: loaded: modesetting,nouveau,nvidia
alternate: fbdev,nv,vesa gpu: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 90 s-size: 542x301mm (21.34x11.85")
s-diag: 620mm (24.41")
Monitor-1: HDMI-0 pos: primary res: 1920x1080 dpi: 90
size: 544x303mm (21.42x11.93") diag: 623mm (24.52") modes: N/A
Monitor-2: None-1-1 size-res: N/A modes: N/A
API: EGL v: 1.5 hw: drv: nvidia platforms: gbm: drv: nvidia
API: OpenGL v: 4.6.0 vendor: nvidia v: 535.113.01 glx-v: 1.4
direct-render: yes renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
memory: 7.81 GiB
API: Vulkan v: 1.3.264 layers: 14 device: 0 type: discrete-gpu
name: NVIDIA GeForce RTX 3060 driver: nvidia v: 535.113.01
device-ID: 10de:2544 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.1 (LLVM
16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Device-1: Intel vendor: ASUSTeK driver: snd_hda_intel v: kernel
alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:7a50
class-ID: 0403
Device-2: NVIDIA GA106 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:228e class-ID: 0403
Device-3: Intel USB PnP Sound Device
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 1-8.1:6 chip-ID: 8086:0808 class-ID: 0300
API: ALSA v: k6.5.5-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 0.3.80 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 4000 bus-ID: 05:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp5s0 state: down mac: <filter>
Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
vendor: AzureWave driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
lanes: 1 bus-ID: 06:00.0 chip-ID: 14c3:7961 class-ID: 0280
IF: wlp6s0 state: up mac: <filter>
Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-9.4:9
chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
lmp-v: 11 status: discoverable: no pairing: no class-ID: 7c0104
Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
v: 0.6 port: N/A bus-ID: 00:0e.0 chip-ID: 8086:467f rev: class-ID: 0104
Local Storage: total: 2.27 TiB used: 1.21 TiB (53.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT1000P3PSSD8
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: P9CR40A temp: 42.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Transcend model: TS500GESD260C
size: 465.76 GiB block-size: physical: 512 B logical: 512 B type: USB
rev: 3.1 spd: 10 Gb/s lanes: 1 mode: 3.2 gen-2x1 tech: SSD
serial: <filter> scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: SanDisk model: Extreme Portable SSD
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B type: USB
rev: 3.1 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: SSD serial: <filter>
fw-rev: 1012 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
ID-1: / raw-size: 465.66 GiB size: 465.66 GiB (100.00%)
used: 69.58 GiB (14.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 25.9 MiB (8.7%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 465.66 GiB size: 465.66 GiB (100.00%)
used: 69.58 GiB (14.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 465.66 GiB size: 465.66 GiB (100.00%)
used: 69.58 GiB (14.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 465.66 GiB size: 465.66 GiB (100.00%)
used: 69.58 GiB (14.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.44 GiB used: 178.2 MiB (1.1%)
priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16
dev: /dev/zram0
ID-2: swap-2 type: partition size: 16.98 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p5 maj-min: 259:5
System Temperatures: cpu: 37.0 C mobo: N/A gpu: nvidia temp: 46 C
Fan Speeds (rpm): N/A gpu: nvidia fan: 53%
Processes: 361 Uptime: 45m wakeups: 22 Memory: total: 16 GiB
available: 15.44 GiB used: 5.07 GiB (32.9%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1870 libs: 559 tools: octopi,paru,yay Shell: fish v: 3.6.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.30
Garuda (2.6.16-1):
System install date:     2023-10-04
Last full system update: 2023-10-05 ↻
Is partially upgraded:   No
Relevant software:       timeshift NetworkManager dracut nvidia-dkms
Windows dual boot:       Probably (Run as root to verify)
Failed units:

Please do not post pictures from the terminal.
Just read the message and do what it asks.


sudo pacman -S linux-headers

I do not use Nvidia myself, but I can imagine that you may need to run the update again after this command

And then reboot, as always, after a kernel/systemd update.

BTW, he does not use this kernel.

It’s asking for the kernel header. It’s provided as a separate package from kernel and should always be downloaded alongside it. It contains the headers the kernel needs. ShalokShalom has already provided the command to install the header for your related kernel.

1 Like

He boot with zen kernel and header.

Maybe they installed in the past the linux kernel without the headers (e.g. for testing) but it’s not in use.
So the system simply isn’t able to build the nvidia DKMS module for the linux kernel, but for the linux-zen in use it works.


SGS is right, the error message in the initial photo is horrible, though.
As it does not respect, that a zen kernel is used.
Anyway, I adopted my answer to the correct command.
Thanks for the heads up!

Hi, tnx for replay
i used this command , the headers installed but then the update show the same error…

:: Synchronizing package databases...
garuda                                 95.7 KiB   112 KiB/s 00:01 [------------------------------------] 100%
core                                  127.2 KiB   168 KiB/s 00:01 [------------------------------------] 100%
extra                                   8.2 MiB  16.0 MiB/s 00:01 [------------------------------------] 100%
multilib                              140.4 KiB   240 KiB/s 00:01 [------------------------------------] 100%
chaotic-aur                             2.6 MiB  1952 KiB/s 00:01 [------------------------------------] 100%

--> Refreshing mirrorlists using rate-mirrors, please be patient..🍵
:: Synchronizing package databases...
garuda downloading...
core downloading...
extra downloading...
multilib downloading...
chaotic-aur downloading...
:: Starting full system upgrade...
there is nothing to do

--> A problem with the NVIDIA drivers has been detected

---> Building NVIDIA DKMS module for kernel 6.5.5-arch1-1
Module nvidia 535.113.01 is not installed for kernel 6.5.5-arch1-1 (x86_64). Skipping...
Module nvidia 535.113.01 is not built for kernel 6.5.5-arch1-1 (x86_64). Skipping...
Error! Your kernel headers for kernel 6.5.5-arch1-1 cannot be found at /usr/lib/modules/6.5.5-arch1-1/build or/usr/lib/modules/6.5.5-arch1-1/source.
Please install the linux-headers-6.5.5-arch1-1 package or use the --kernelsourcedir option to tell DKMS where it's located.
---> Failed to build NVIDIA DKMS module for kernel 6.5.5-arch1-1

System updated! 🐧

can you share the pacman log of downloading linux-headers? Maybe we can find our answers there.

yes of course
Is it ok if it will be the logs of the second time “install”, if no i will time shift back.

warning: linux-zen-headers-6.5.5.zen1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux-zen-headers-6.5.5.zen1-1

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

:: Proceed with installation? [Y/n]
(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%
(1/1) checking available disk space                                [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/3) Creating Timeshift snapshot before upgrade...
Mounted '/dev/nvme0n1p2' at '/run/timeshift/45757/backup'
Creating new snapshot...(RSYNC)
Saving to device: /dev/nvme0n1p2, mounted at path: /run/timeshift/45757/backup
Linking from snapshot: 2023-10-05_18-01-59
Syncing files with rsync...
Created control file: /run/timeshift/45757/backup/timeshift/snapshots/2023-10-05_18-29-51/info.json
RSYNC Snapshot saved successfully (7s)
Tagged snapshot '2023-10-05_18-29-51': ondemand
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda-dr460nized/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
No snapshots found.
If you think an error has occurred, please file a bug report at ""
Unmount /tmp/grub-btrfs.1XD8qcT7mo .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
(2/3) Performing snapper pre snapshots for the following configurations...
(3/3) Remove upgraded DKMS modules
==> dkms remove --no-depmod nvidia/535.113.01 -k 6.5.5-zen1-1-zen
:: Processing package changes...
(1/1) reinstalling linux-zen-headers                               [------------------------------------] 100%
:: Running post-transaction hooks...
(1/9) Arming ConditionNeedsUpdate...
(2/9) Updating module dependencies...
(3/9) Install DKMS modules
==> dkms install --no-depmod nvidia/535.113.01 -k 6.5.5-zen1-1-zen
==> depmod 6.5.5-zen1-1-zen
(4/9) Refreshing PackageKit...
(5/9) Foreign/AUR package notification
exfat-utils-nofuse 1.4.0-2
firedragon-extension-xdm-browser-monitor 2.2-1.1
gpu-passthrough-manager 1.2-1
libsidplay 1.36.59-10
stremio-beta 4.4.164-0
youtube-dl 2021.12.17-1
(6/9) Orphaned package notification...
black-hole-solver 1.12.0-1
cmake 3.27.6-1
freecell-solver 6.8.0-1
gnugo 3.8-7
go 2:1.21.1-1
gptfdisk 1.0.9-2
granatier 23.08.1-1
katomic 23.08.1-1
kblackbox 23.08.1-1
kjs 5.110.0-1
knetwalk 23.08.1-1
konquest 23.08.1-1
ksirk 23.08.1-1
libindicator-gtk3 12.10.1-10
libkgapi 23.08.1-1
libkmahjongg 23.08.1-1
libsidplay 1.36.59-10
libspeechd 0.11.5-1
lua52 5.2.4-6
lua53 5.3.6-2
lxsession 1:0.5.5-2
mate-polkit 1.26.1-1
mbedtls 3.4.1-1
nlohmann-json 3.11.2-2
openfortivpn 1.20.5-1
oxygen-icons 1:5.110.0-1
poco 1.12.4-1
polkit-gnome 0.105-10
python-future 0.18.3-2
python-pyfakefs 5.2.4-1
python-send2trash 1.8.2-1
python-zeroconf 0.63.0-1
qt6-5compat 6.5.3-1
qtkeychain-qt5 0.14.1-2
re2 1:20230901-2
snap-pac 3.0.1-2
sysfsutils 2.1.1-1
tinycompress 1.2.8-2
(7/9) Checking for .pacnew and .pacsave files...
.pac* files found:
Please check and merge
(8/9) Performing snapper post snapshots for the following configurations...
(9/9) Syncing all file systems...

Yeah it’s fine.

My friend you are re-installing the wrong package. Linux-zen never had issues compiling against your nvidia module. The issue was the “normal” linux kernel. If this was the command you ran before we have our answers why

This here happened. It couldn’t locate linux-headers which is accurate because you have been downloading linux-zen-headers.

Please copy paste below command, I have passed linux-headers to garuda-update so that it handles downloading the headers and updating the system.

garuda-update --skip-mirrorlist -- linux-headers

please note the subtle difference between linux-zen-headers and linux-headers.

OK, i saw the error is linux-arch-hearders (in the first post of mine) but didnt understood that it may be just the “normal” header.

Thank you my friend, just being stupid here =) :man_facepalming:

That was my fault. I changed my initially correct statement, and recommended to install the zen header. I relied on SVG, who said that this would be the correct choice, as I understand him.

Change this now back to linux-headers, to not confuse other people, with the same issue.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.