Installing nvidia-utils (535.98-1) breaks dependency required by linux63-nvidia

I am trying to update my system, but I get this error:

installing nvidia-utils (535.98-1) breaks dependency 'nvidia-utils=535.86.05' required by linux63-nvidia

I searched here and found this similar thread link

However, in my case, I am already using linux63. To be exact, upon running

uname -r

I am getting 6.3.13-2-MANJARO as an output, which is confusing me. I tried switching to every other installed kernel in my device, but all were previous versions. That always output the same error.

I then attempted to upgrade to a more recent kernel. Unfortunately that did not work; I am prompted to first update my system.

In one more attempt to update my system I started adding nvidia packages to the ignore list of pacman update, but that resulted in the next package being thrown as an error, and then the next, and the next (etc.)

What could I try next?

did you installed cuda as additional package? that might cause conflicts.
also, if uname point out that you’re on 6.3.xxx than you’re on 6.3.xxx and you should down- or upgrade to a kernel version that is not EOL.

No, I don’t think so. sudo pacman -Qs cuda yields this:

local/icu 73.2-2
    International Components for Unicode library
local/lib32-icu 73.2-1
    International Components for Unicode library (32 bit)
local/openmpi 4.1.5-2
    High performance message passing library (MPI)

But then sudo pacman -Ss cuda | grep installed outputs this:

core/icu 73.2-2 [installed]
extra/openmpi 4.1.5-2 [installed]
multilib/lib32-icu 73.2-1 [installed]

Have I, or have I not got cuda installed? I am puzzled.

i would recommend to switch to an supported kernel first. 6.3.xx is EOL and it makes no sense to fix this. also please post the mandatory

inxi --admin --verbosity=7 --filter --no-host --width
core/icu 73.2-2 [installed]
extra/openmpi 4.1.5-2 [installed]
multilib/lib32-icu 73.2-1 [installed]

they belong to the standard-nvidia driver, nothing to worry

Hi Olli, and thank you for assisting me with this. Here’s the output of inxi’s.

System:
  Kernel: 6.3.13-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.3-x86_64
    root=UUID=6e59b71c-19c3-424e-b55e-57b8ec0bcbf4 rw quiet apparmor=1
    security=apparmor resume=UUID=5fa2bbe3-89dc-47fa-93be-6df40354747b
    udev.log_priority=3
  Desktop: i3 v: 4.22 info: i3bar vt: 7 dm: LightDM v: 1.32.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B550 AORUS PRO V2
    serial: <superuser required> BIOS: American Megatrends LLC. v: F16c
    date: 03/23/2023
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 32 GiB available: 31.25 GiB used: 7.71 GiB (24.7%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
    model-id: 0x71 (113) stepping: 0 microcode: 0x8701030
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 32 MiB
    desc: 2x16 MiB
  Speed (MHz): avg: 2519 high: 4389 min/max: 2200/4426 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 4389 2: 2184
    3: 2183 4: 2185 5: 2195 6: 2245 7: 2053 8: 2195 9: 4356 10: 2170 11: 2184
    12: 2190 13: 2196 14: 1865 15: 2122 16: 3594 bogomips: 115033
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sev sev_es sha_ni skinit smap smca smep ssbd sse sse2
    sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext
    tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme vmmcall
    wbnoinvd wdt x2apic xgetbv1 xsave xsavec xsaveerptr xsaveopt
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660 SUPER] vendor: Gigabyte
    driver: nvidia v: 535.86.05 alternate: nouveau,nvidia_drm non-free: 535.xx+
    status: current (as of 2023-07) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
    link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 04:00.0 chip-ID: 10de:21c4
    class-ID: 0300
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6.4:4
    chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 compositor: Picom v: git-b700a driver:
    X: loaded: nvidia gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1514 s-dpi: 94 s-size: 1038x409mm (40.87x16.10")
    s-diag: 1116mm (43.92")
  Monitor-1: DP-5 pos: bottom-r res: 1920x1080 hz: 60 dpi: 94
    size: 521x293mm (20.51x11.54") diag: 598mm (23.53") modes: N/A
  Monitor-2: HDMI-0 pos: primary,top-left res: 1920x1080 hz: 60 dpi: 96
    size: 510x287mm (20.08x11.3") diag: 585mm (23.04") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 535.86.05 renderer: NVIDIA GeForce GTX 1660
    SUPER/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: NVIDIA TU116 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 4 link-max:
    lanes: 16 bus-ID: 04:00.1 chip-ID: 10de:1aeb class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 08:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6.4:4
    chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  API: ALSA v: k6.3.13-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.75 status: off tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active tools: pacat,pactl
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp5s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 06:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  IF-ID-1: br-9b1d82742d0f state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
  Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1
    all]
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-10.2:8 chip-ID: 8087:0029
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.14 TiB used: 426.15 GiB (36.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLB256HAHQ-00000
    size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: EXD7201Q temp: 44.9 C
    scheme: MBR
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD5000AAKS-00V1A0 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 3.0 Gb/s tech: N/A serial: <filter> fw-rev: 1D05
    scheme: MBR
  ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD5000AAKS-00V1A0 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 3.0 Gb/s tech: N/A serial: <filter> fw-rev: 1D05
    scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 203.99 GiB size: 199.73 GiB (97.91%)
    used: 161.88 GiB (81.1%) fs: ext4 dev: /dev/nvme0n1p1 maj-min: 259:1
    label: N/A uuid: 6e59b71c-19c3-424e-b55e-57b8ec0bcbf4
  ID-2: /run/media/disk2 raw-size: 465.76 GiB size: 465.76 GiB (100.00%)
    used: 264.27 GiB (56.7%) fs: ntfs dev: /dev/sdb1 maj-min: 8:17
    label: WD_500_03 uuid: 5C9EF9589EF92B62
Swap:
  Kernel: swappiness: 10 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 34.48 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
    uuid: 5fa2bbe3-89dc-47fa-93be-6df40354747b
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 465.76 GiB fs: ext4 label: N/A
    uuid: cbbd74cd-e12b-47f0-a7f1-9e246faf7f54
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 10 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-6:2 info: Genesys Logic Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 1-6.4:4 info: Logitech Webcam C270 type: video,audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Device-2: 1-7:3 info: Integrated Express RGB LED Controller type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 048d:5702 class-ID: 0300
  Device-3: 1-8:5 info: Lenovo ThinkPad Compact Keyboard with TrackPoint
    type: keyboard,mouse driver: lenovo,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 17ef:6047 class-ID: 0301
  Device-4: 1-9:6 info: Microsoft Basic Optical Mouse type: mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 045e:0084 class-ID: 0301
  Hub-3: 1-10:7 info: Genesys Logic Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 1-10.2:8 info: Intel AX200 Bluetooth type: bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 8087:0029 class-ID: e001
  Hub-4: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-6: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-7: 5-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-8: 6-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 54.0 C mobo: 43.0 C gpu: nvidia temp: 49 C
  Fan Speeds (RPM): fan-1: 0 fan-2: 0 fan-3: 725 gpu: nvidia fan: 0%
  Power: 12v: N/A 5v: N/A 3.3v: 3.38 vbat: 3.27
Info:
  Processes: 438 Uptime: 3m wakeups: 0 Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 1982 libs: 476 tools: pamac,yay Shell: Bash v: 5.1.16
  running-in: urxvtd inxi: 3.3.28

Edit: My other problem is I can’t seem to be able to install a newer kernel yet, because I am asked to update my system first. And I can’t do that because nvidia related packages are blocking me from upgrading my system.

I tried to add nvidia-utils to the ignore list of pacman’s but then a new dependency came up. Then I added that to the ignore list, and a third dependency came up, at which point I turned for help here.

@kosa
thank you. as said i would start cleaning up the problems with changing to an actual supported kernel (lts or not is up to you) but 6.3.xx is EOL. that’s a good start

I tried with every other kernel I have currently installed. mhwd-kernel -li prints this:

The following kernels are installed in your system:
   * linux510
   * linux61
   * linux63
   * linux510-rt
   * linux63-rt

Should I try adding everything that breaks its dependencies to the ignore list, and then update my system first, then try installing a newer kernel, or am I better advised to install a newer kernel without updating my system first?

hello @kosa

the rt-kernel are not recommend for general use. why did you install them ? there is no need for general use but in opposite they will not work properly in 99,9%. 6.3 is EOL.
you should clean the mess and delete them because they just waste space. 5.10 is lts, it’s your decission to keep this one or switch to 5.15. 6.1 is okay, i would keep this one. the newest 6.4 is a little bit disappointing. there are lots of reports about network-problems and other hardware-related issues. i wouldn’t use this and stay on 6.1

I had remained with 5.10 for a very long time, and I needed to upgrade to a newer kernel, but was unsure whether it was a good idea to try the plain or the rt ones, so I guess I just went for it; just to give it a try. Eventually I stayed to 6.3 and never uninstalled the older ones.

I am not exactly sure what problem I’d had with 5.15 - or even if it was 5.15 and not some other version after 5.10 - but I am pretty sure my hardware was not playing nice with that. That was the reason why I had stuck with 5.10 for so long, and the reason why I haven’t removed it from my system yet, after switching to 6.3. I wanted to be safe that if anything - whatever - goes wrong, I can always fall back to the safety of 5.10’s.

I am posting this, and then rebooting with 6.1 to give updating another try. Then I’ll skip 6.4 if there are so many network problems like you mentioned, and just try 6.5 directly instead.

I’ll also remove the rt ones lastly.

I have booted in 6.1 but I am unable to update. I am getting the same error for nvidia-utils.

Also, I have tried to remove the 510-rt with mhwd-kernel -r linux510-rt while booted with 6.1, but I am getting a

removing linux510-rt breaks dependency ‘linux510-rt’ required by linux-rt-lts-manjaro

error.

6.3-rt has been removed trouble-free.

sudo pacman -D --asexplicit linux510-rt
sudo pacman -R linux-rt-lts-manjaro

That has worked, thank you. I also ran mhwd-kernel -r linux510-rt

mhwd-kernel -li returns only linux510, linux61, and linux63 now.

In the grub menu I have two instances of each. I tried to boot with both of 6.1s and uname -r prints the exact same thing for both options. Perhaps that is a topic for the grub section? It does not seem right in my eyes. Is it?

Let us keep our focus on the issue at hand, though. I am now booted with 6.1 as instructed, and I am trying to update pacman once more, but I keep getting the same error on nvidia-utils. Shall I try ignoring the dependencies, to be able to update and then install 6.5 and try a proper update of everything left out with that afterwards?

To summarize you had inexistent kernel packages, and a custom package linux-rt-lts-manjaro that was blocking the normal update process. If you go custom or want to keep old and removed packages, you need to know what you are doing.

Try the update, give full command output here so we know what is blocking the update now.

PS: Linux 6.3 is not in repos anymore, so guess what you need to do again?

I’d be glad to help you help me. :blush: I am trying sudo pacman -Syyu and the output I am receiving is this:

:: Synchronizing package databases...
 core                                                                                               145,7 KiB   576 KiB/s 00:00 [#############################################################################] 100%
 extra                                                                                                8,6 MiB  3,53 MiB/s 00:02 [#############################################################################] 100%
 community                                                                                           29,0   B   432   B/s 00:00 [#############################################################################] 100%
 multilib                                                                                           146,8 KiB   667 KiB/s 00:00 [#############################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing nvidia-utils (535.98-1) breaks dependency 'nvidia-utils=535.86.05' required by linux63-nvidia

I have booted with 6.1.41-1-MANJARO

what happens with this

sudo pacman -Scc
sudo pacman -Syu

Remove the non existent kernel, Linux 6.3. I told you in previous message (actually gave a hint only, but I thought you would understand).

Kernel does not exist anymore in the repositories so with Nvidia it creates issues, because it can not find the current Nvidia driver for the non existent kernel.

Remove linux63.

sudo pacman -Scc:

Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove ALL files from cache? [y/N] y
removing all files from cache…

Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] y
removing unused sync repositories…

sudo pacman -Syu:

:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade…
resolving dependencies…
looking for conflicting packages…
error: failed to prepare transaction (could not satisfy dependencies)
:: installing nvidia-utils (535.98-1) breaks dependency ‘nvidia-utils=535.86.05’ required by linux63-nvidia

sudo pacman -Rsn linux63-nvidia

?