UPDATE_AUR specified but no supported AUR helper found

I have added SKIP_MIRRORLIST=1 & UPDATE_AUR=1 in /etc/garuda/garuda-update/config

But it seems that it cannot find any aur helper, although paru is already installed.

+ GARUDA_UPDATE_RANI=1
+ garuda-update --skip-mirrorlist --noconfirm
:: Synchronizing package databases...
 garuda downloading...
 core downloading...
 extra downloading...
 multilib downloading...
 chaotic-aur downloading...
spawn pacman -Su
e[?25le[1;34m::e[0;1m Starting full system upgrade...
e[0me[1;33mwarning: e[0msnapper-tools: local (1.3.1-1.6) is newer than chaotic-aur (1.3.1-1)
 there is nothing to do
e[?25h
e[1;33m--> UPDATE_AUR specified but no supported AUR helper found ❌e[0m

e[1;32mSystem updated! 🐧
e[0m
+ GARUDA_UPDATE_RANI=1
+ garuda-update --skip-mirrorlist --noconfirm
:: Synchronizing package databases...
 garuda downloading...
 core downloading...
 extra downloading...
 multilib downloading...
 chaotic-aur downloading...
spawn pacman -Su
e[?25le[1;34m::e[0;1m Starting full system upgrade...
e[0me[1;33mwarning: e[0msnapper-tools: local (1.3.1-1.6) is newer than chaotic-aur (1.3.1-1)
 there is nothing to do
e[?25h
e[1;33m--> UPDATE_AUR specified but no supported AUR helper found ❌e[0m

e[1;32mSystem updated! 🐧
e[0m

Here is garuda-inxi

System:
  Kernel: 6.14.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 15.1.1 clocksource: tsc
    avail: acpi_pm parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=9389373a-dc13-47c2-bdc7-925e010ee7f9 rw rootflags=subvol=@
    vt.default_red=30,243,166,249,137,245,148,186,88,243,166,249,137,245,148,166
    vt.default_grn=30,139,227,226,180,194,226,194,91,139,227,226,180,194,226,173
    vt.default_blu=46,168,161,175,250,231,213,222,112,168,161,175,250,231,213,200 quiet
    resume=UUID=e2a38b50-3e77-4636-8e12-8f5b07bf92fd loglevel=3 ibt=off
  Desktop: KDE Plasma v: 6.3.5 tk: Qt v: N/A info: frameworks v: 6.14.0 wm: kwin_wayland vt: 1
    dm: SDDM Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: Micro-Star product: Katana GF76 11UC v: REV:1.0 serial: <superuser required>
    Chassis: type: 10 serial: <superuser required>
  Mobo: Micro-Star model: MS-17L2 v: REV:1.0 serial: <superuser required> part-nu: 17L2.3
    uuid: <superuser required> UEFI: American Megatrends LLC. v: E17L2IMS.319 date: 07/27/2023
Battery:
  ID-1: BAT1 charge: 39.4 Wh (97.8%) condition: 40.3/52.0 Wh (77.4%) volts: 12.3 min: 11.4
    model: MSI BIF0_9 type: Li-ion serial: N/A status: not charging
CPU:
  Info: model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP arch: Tiger Lake gen: core 11
    level: v4 note: check built: 2020 process: Intel 10nm family: 6 model-id: 0x8D (141) stepping: 1
    microcode: 0x52
  Topology: cpus: 1x dies: 1 clusters: 8 cores: 8 threads: 16 tpc: 2 smt: enabled cache:
    L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 10 MiB desc: 8x1.2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 3001 min/max: 800/4600 scaling: driver: intel_pstate governor: performance
    cores: 1: 3001 2: 3001 3: 3001 4: 3001 5: 3001 6: 3001 7: 3001 8: 3001 9: 3001 10: 3001 11: 3001
    12: 3001 13: 3001 14: 3001 15: 3001 16: 3001 bogomips: 73728
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Micro-Star MSI driver: i915 v: kernel
    alternate: xe arch: Xe process: Intel 10nm built: 2020-21 ports: active: eDP-1 empty: HDMI-A-1
    bus-ID: 00:02.0 chip-ID: 8086:9a60 class-ID: 0300
  Device-2: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: Micro-Star MSI driver: nvidia
    v: 570.144 alternate: nouveau,nvidia_drm non-free: 550-570.xx+ status: current (as of 2025-04;
    EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 4
    speed: 16 GT/s lanes: 8 link-max: lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:25a2 class-ID: 0302
  Display: wayland server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6 compositor: kwin_wayland
    driver: X: loaded: modesetting,nvidia unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris
    gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: AU Optronics 0x978f built: 2020 res: mode: 1920x1080 hz: 144
    scale: 100% (1) dpi: 128 gamma: 1.2 size: 382x215mm (15.04x8.46") diag: 438mm (17.3") ratio: 16:9
    modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia nouveau drv: nvidia platforms: device: 0
    drv: nvidia device: 1 drv: iris device: 2 drv: nouveau device: 3 drv: swrast gbm: drv: iris
    surfaceless: drv: nvidia wayland: drv: iris x11: drv: iris
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 25.0.5-arch1.1 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel UHD Graphics (TGL GT1) device-ID: 8086:9a60
    memory: 7.48 GiB unified: yes display-ID: :1.0
  API: Vulkan v: 1.4.313 layers: 6 device: 0 type: integrated-gpu name: Intel UHD Graphics (TGL
    GT1) driver: mesa intel v: 25.0.5-arch1.1 device-ID: 8086:9a60 surfaces: N/A device: 1
    type: discrete-gpu name: NVIDIA GeForce RTX 3050 Laptop GPU driver: nvidia v: 570.144
    device-ID: 10de:25a2 surfaces: N/A device: 2 type: cpu name: llvmpipe (LLVM 19.1.7 256 bits)
    driver: mesa llvmpipe v: 25.0.5-arch1.1 (LLVM 19.1.7) device-ID: 10005:0000 surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console,kscreen-doctor
    gpu: nvidia-settings,nvidia-smi wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: Micro-Star MSI driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:43c8
    class-ID: 0401
  API: ALSA v: k6.14.6-zen1-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.4.2 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
Network:
  Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 00:14.3
    chip-ID: 8086:43f0 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 03:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1
    mode: 1.1 bus-ID: 3-14:3 chip-ID: 8087:0026 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11 status: discoverable: no
    pairing: no
Drives:
  Local Storage: total: 2.29 TiB used: 773.89 GiB (33.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: 2400 MTFDKBA512QFM size: 476.94 GiB
    block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: V3MA001 temp: 43.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: Expansion HDD size: 1.82 TiB block-size:
    physical: 4096 B logical: 512 B type: USB rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1
    tech: N/A serial: <filter> fw-rev: 1901 scheme: GPT
Partition:
  ID-1: / raw-size: 459.79 GiB size: 459.79 GiB (100.00%) used: 41.63 GiB (9.1%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 616 KiB (0.2%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 459.79 GiB size: 459.79 GiB (100.00%) used: 41.63 GiB (9.1%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 459.79 GiB size: 459.79 GiB (100.00%) used: 41.63 GiB (9.1%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 459.79 GiB size: 459.79 GiB (100.00%) used: 41.63 GiB (9.1%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 15.32 GiB used: 718.5 MiB (4.6%) priority: 100 comp: zstd
    avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 16 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16.85 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 70.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 15.32 GiB used: 6.62 GiB (43.2%)
  Processes: 426 Power: uptime: 1h 30m states: freeze,mem,disk suspend: deep avail: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume image: 6.05 GiB
    services: org_kde_powerdevil, power-profiles-daemon, upowerd Init: systemd v: 257
    default: graphical tool: systemctl
  Packages: 1542 pm: pacman pkgs: 1535 libs: 400 tools: octopi,paru pm: flatpak pkgs: 7
    Compilers: gcc: 15.1.1 Client: Unknown Client: garuda-rani inxi: 3.3.38
Garuda (2.7.2-1):
  System install date:     2025-05-08
  Last full system update: 2025-05-15 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       No/Undetected
  Failed units:

use upd in terminal.

or reboot and try again :slight_smile:

1 Like

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

Aaaah this is not what I originally thought. The error message is very misleading here.

https://gitlab.com/garuda-linux/pkgbuilds/-/blob/main/garuda-update/main-update#L212

if [[ -v UPDATE_AUR ]]; then
	# Check for AUR helper
	if [ -x /usr/bin/paru ] && [[ -n "$SUDO_UID" ]]; then
		echo -e "\n\033[1;33m-->\033[1;34m Updating AUR packages with paru..\033[0m"
		sudo -u "#$SUDO_UID" paru -Sua || { echo -e "\033[1;31m\nParu exited with error code $?\n\033[0m"; }
	elif [ -x /usr/bin/yay ] && [[ -n "$SUDO_UID" ]]; then
		echo -e "\n\033[1;33m-->\033[1;34m Updating AUR packages with yay..\033[0m"
		sudo -u "#$SUDO_UID" yay -Sua || { echo -e "\033[1;31m\nYay exited with error code $?\n\033[0m"; }
	else
		echo -e "\n\033[1;33m--> UPDATE_AUR specified but no supported AUR helper found ❌\033[0m"
	fi
	$INT
fi

We check for UPDATE_AUR, check for existence of an AUR helper, and then additionally for the user that ran the update via sudo. This however is not available because we escalate via pkexec…

The way I see it is that we already decided upon not supporting AUR updates with Rani in the past due to impractical handling (might, maybeeee in some far future update change once passing input back to the terminal has been implemented) of any needed input. For AUR updates, we must not rely on --noconfirm and instead have the user review PKGBUILD updates.
Therefore, we can’t really “fix” this currently as in making it run AUR updates from within Rani. What I’m going to do, however, is providing a more descriptive and fitting message for that use case.

7 Likes