1. The issue
When attempting to use the update script, I receive errors related to npm packages.
╰─λ sudo garuda-update
[sudo] password for crazynerd:
:: Synchronizing package databases...
garuda is up to date
core is up to date
extra 8.1 MiB 3.05 MiB/s 00:03 [------------------------------------] 100%
multilib is up to date
chaotic-aur 2.1 MiB 2.61 MiB/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...
spawn pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: qt6-multimedia-ffmpeg will be installed before its qt6-multimedia dependency
Packages (288) aalib-1.4rc5-18 alsa-card-profiles-1:1.0.5-1 ark-24.02.2-1
aspnet-targeting-pack-8.0.4.sdk104-1 assimp-5.4.0-1 attica-6.1.0-1 baloo-6.1.0-1
baloo-widgets-24.02.2-1 bluez-5.75-1 bluez-cups-5.75-1 bluez-hid2hci-5.75-1
bluez-libs-5.75-1 bluez-qt-6.1.0-1 bluez-utils-5.75-1 bomber-24.02.2-1 bovo-24.02.2-1
breeze-icons-6.1.0-1 candy-icons-git-r1140.700085e-1 cmake-3.29.2-1 coin-or-osi-0.108.10-1
cryptsetup-2.7.2-1 discord-0.0.50-1 dolphin-24.02.2-1 dolphin-plugins-24.02.2-1
dotnet-host-8.0.4.sdk104-1 dotnet-runtime-8.0.4.sdk104-1 dotnet-sdk-8.0.4.sdk104-1
dotnet-targeting-pack-8.0.4.sdk104-1 dxvk-mingw-git-2.3.1.r9.g571948cf-1 electron-1:30-1
electron30-30.0.0-1 elisa-24.02.2-1 eza-0.18.10-1 fastfetch-2.9.2-1 ffmpegthumbs-24.02.2-1
firedragon-1:11.12.0-1 firewalld-2.1.2-1 fish-3.7.1-2 frameworkintegration-6.1.0-1
fwupd-efi-1.6-1 garuda-dr460nized-4.3.0-4 gegl-0.4.48-2 granatier-24.02.2-1
gst-plugin-pipewire-1:1.0.5-1 gwenview-24.02.2-1 hyprlang-0.5.1-1 iana-etc-20240412-1
impression-3.2.0-1 inxi-3.3.34.1-1 kaccounts-integration-24.02.2-1
kaccounts-providers-24.02.2-1 kajongg-24.02.2-1 kamera-24.02.2-1 kapman-24.02.2-1
karchive-6.1.0-1 kate-24.02.2-1 katomic-24.02.2-1 kauth-6.1.0-1 kblackbox-24.02.2-1
kblocks-24.02.2-1 kbookmarks-6.1.0-1 kbounce-24.02.2-1 kbreakout-24.02.2-1 kcalc-24.02.2-1
kcalendarcore-6.1.0-1 kcmutils-6.1.0-1 kcodecs-6.1.0-1 kcolorchooser-24.02.2-1
kcolorscheme-6.1.0-1 kcompletion-6.1.0-1 kconfig-6.1.0-1 kconfigwidgets-6.1.0-1
kcontacts-1:6.1.0-1 kcoreaddons-6.1.0-1 kcrash-6.1.0-1 kdbusaddons-6.1.0-1
kdeclarative-6.1.0-1 kded-6.1.0-1 kdegraphics-mobipocket-24.02.2-1
kdegraphics-thumbnailers-24.02.2-1 kdesu-6.1.0-1 kdialog-24.02.2-1 kdiamond-24.02.2-1
kdnssd-6.1.0-1 kfilemetadata-6.1.0-1 kfourinline-24.02.2-1 kget-24.02.2-1
kglobalaccel-6.1.0-1 kgoldrunner-24.02.2-1 kguiaddons-6.1.0-1 kholidays-1:6.1.0-1
ki18n-6.1.0-1 kiconthemes-6.1.0-1 kidletime-6.1.0-1 kigo-24.02.2-1 killbots-24.02.2-1
kio-6.1.0-1 kio-extras-24.02.2-1 kio-gdrive-24.02.2-1 kirigami-6.1.0-1 kiriki-24.02.2-1
kitemmodels-6.1.0-1 kitemviews-6.1.0-1 kjobwidgets-6.1.0-1 kjumpingcube-24.02.2-1
klickety-24.02.2-1 klines-24.02.2-1 kmahjongg-24.02.2-1 kmines-24.02.2-1
knavalbattle-24.02.2-1 knetwalk-24.02.2-1 knewstuff-6.1.0-1 knights-24.02.2-1
knotifications-6.1.0-1 knotifyconfig-6.1.0-1 kolf-24.02.2-1 kollision-24.02.2-1
kompare-24.02.2-1 konquest-24.02.2-1 konsole-24.02.2-1 kpackage-6.1.0-1 kparts-6.1.0-1
kpat-24.02.2-1 kplotting-6.1.0-1 kpmcore-24.02.2-1 kpty-6.1.0-1 kquickcharts-6.1.0-1
kreversi-24.02.2-1 krunner-6.1.0-1 kservice-6.1.0-1 kshisen-24.02.2-1 ksirk-24.02.2-1
ksnakeduel-24.02.2-1 kspaceduel-24.02.2-1 ksquares-24.02.2-1 kstatusnotifieritem-6.1.0-1
ksudoku-24.02.2-1 ksvg-6.1.0-1 ktexteditor-6.1.0-1 ktextwidgets-6.1.0-1
ktuberling-24.02.2-1 kubrick-24.02.2-1 kunitconversion-6.1.0-1 kuserfeedback-6.1.0-1
kwallet-6.1.0-1 kwidgetsaddons-6.1.0-1 kwin-6.0.3.1-4 kwindowsystem-6.1.0-1
kxmlgui-6.1.0-1 layer-shell-qt-6.0.3-4 less-1:643-2 lib32-gst-plugins-base-libs-1.24.2-1
lib32-gstreamer-1.24.2-1 lib32-libpipewire-1:1.0.5-1 lib32-libva-mesa-driver-1:24.0.5-1
lib32-mesa-1:24.0.5-1 lib32-mesa-vdpau-1:24.0.5-1 lib32-pipewire-1:1.0.5-1
lib32-pipewire-jack-1:1.0.5-1 lib32-vulkan-intel-1:24.0.5-1
lib32-vulkan-mesa-layers-1:24.0.5-1 lib32-vulkan-radeon-1:24.0.5-1 libcap-ng-0.8.5-1
libkdcraw-24.02.2-1 libkdcraw5-24.02.2-1 libkdegames-24.02.2-1 libkexiv2-24.02.2-1
libkgapi-24.02.2-1 libkmahjongg-24.02.2-1 libkomparediff2-24.02.2-1 libpipewire-1:1.0.5-1
libplacebo-6.338.2-4 libsynctex-2024.2-1 libva-mesa-driver-1:24.0.5-1 libwacom-2.11.0-1
libwireplumber-0.5.1-2 libxcb-1.17.0-1 linux-6.8.5.arch1-1
linux-firmware-20240409.1addd7dc-1 linux-firmware-whence-20240409.1addd7dc-1
linux-headers-6.8.5.arch1-1 linux-lts-6.6.27-1 linux-lts-headers-6.6.27-1
linux-zen-6.8.5.zen1-1 linux-zen-headers-6.8.5.zen1-1 lskat-24.02.2-1 lynx-2.9.1-1
mesa-1:24.0.5-1 mesa-vdpau-1:24.0.5-1 mhwd-nvidia-550.67.1-1 modemmanager-qt-6.1.0-1
netstandard-targeting-pack-8.0.4.sdk104-1 networkmanager-qt-6.1.0-1 npm-10.5.2-1
okular-24.02.2-1 onetbb-2021.12.0-1 openimagedenoise-2.2.2-1 otf-monaspace-nerd-3.2.1-1
palapeli-24.02.2-1 pam-1.6.1-2 partitionmanager-24.02.2-1 passim-0.1.6-1 pcsclite-2.1.0-2
picmi-24.02.2-1 pipewire-1:1.0.5-1 pipewire-alsa-1:1.0.5-1 pipewire-audio-1:1.0.5-1
pipewire-jack-1:1.0.5-1 pipewire-pulse-1:1.0.5-1 pipewire-v4l2-1:1.0.5-1
pipewire-x11-bell-1:1.0.5-1 pipewire-zeroconf-1:1.0.5-1 plasma-nm-6.0.3-2
plasma5-themes-sweet-full-git-r363.460042a-1 plasma5-themes-sweet-kde-git-r31.bbf5287-1
prison-6.1.0-1 proton-ge-custom-2:GE.Proton9.4-1 purpose-6.1.0-1 pyside6-6.7.0-3
python-capng-0.8.5-1 python-ffmpeg-python-0.2.0-6 python-graphviz-0.20.3-1
python-pydantic-2.7.0-1 python-pydantic-core-1:2.18.1-1 qqc2-desktop-style-6.1.0-1
qt6-5compat-6.7.0-1 qt6-base-6.7.0-2 qt6-declarative-6.7.0-1 qt6-imageformats-6.7.0-1
qt6-multimedia-6.7.0-1 qt6-multimedia-ffmpeg-6.7.0-1 qt6-positioning-6.7.0-1
qt6-quick3d-6.7.0-1 qt6-quicktimeline-6.7.0-1 qt6-scxml-6.7.0-1 qt6-sensors-6.7.0-1
qt6-serialport-6.7.0-1 qt6-shadertools-6.7.0-1 qt6-speech-6.7.0-1 qt6-svg-6.7.0-1
qt6-tools-6.7.0-2 qt6-translations-6.7.0-1 qt6-virtualkeyboard-6.7.0-1 qt6-wayland-6.7.0-1
qt6-webchannel-6.7.0-1 qt6-webengine-6.7.0-1 qt6-websockets-6.7.0-1 qt6pas-6.2.7-2
reshade-shaders-git-r66.9367bed-1 retroarch-autoconfig-udev-git-r2298.525ae73-1
rnnoise-1:0.2-1 rust-1:1.77.2-1 shiboken6-6.7.0-3 signon-kwallet-extension-24.02.2-1
solid-6.1.0-1 sonnet-6.1.0-1 spectacle-24.02.2-1 sqlite-3.45.3-1 syndication-6.1.0-1
syntax-highlighting-6.1.0-1 texlive-basic-2024.2-1 texlive-bin-2024.2-1
texlive-binextra-2024.2-1 texlive-latex-2024.2-1 texlive-latexrecommended-2024.2-1
threadweaver-6.1.0-1 tor-0.4.8.11-1 ttf-fantasque-nerd-3.2.1-1 ttf-firacode-nerd-3.2.1-1
ttf-inconsolata-go-nerd-3.2.1-1 ttf-inconsolata-lgc-nerd-3.2.1-1
ttf-inconsolata-nerd-3.2.1-1 vulkan-intel-1:24.0.5-1 vulkan-mesa-layers-1:24.0.5-1
vulkan-radeon-1:24.0.5-1 vulkan-swrast-1:24.0.5-1 webkit2gtk-2.44.1-1
webkit2gtk-4.1-2.44.1-1 wireplumber-0.5.1-2 xcb-proto-1.17.0-1 xdg-desktop-portal-1.18.3-1
xf86-input-wacom-1.2.2-1 xmlsec-1.3.4-1 xorg-server-21.1.13-1 xorg-server-common-21.1.13-1
xorg-server-xvfb-21.1.13-1 yyjson-0.9.0-2 zoom-6.0.0-1
Total Download Size: 76.72 MiB
Total Installed Size: 7323.86 MiB
Net Upgrade Size: 297.32 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
aalib-1.4rc5-18-x86_64 134.2 KiB 217 KiB/s 00:01 [------------------------------------] 100%
iana-etc-20240412-1-any 398.9 KiB 474 KiB/s 00:01 [------------------------------------] 100%
python-ffmpeg-python-0.2.0-6-any 47.5 KiB 55.0 KiB/s 00:01 [------------------------------------] 100%
sqlite-3.45.3-1-x86_64 1668.8 KiB 1260 KiB/s 00:01 [------------------------------------] 100%
discord-0.0.50-1-x86_64 74.5 MiB 2042 KiB/s 00:37 [------------------------------------] 100%
Total (5/5) 76.7 MiB 2.05 MiB/s 00:37 [------------------------------------] 100%
(288/288) checking keys in keyring [------------------------------------] 100%
(288/288) checking package integrity [------------------------------------] 100%
(288/288) loading package files [------------------------------------] 100%
(288/288) checking for file conflicts [------------------------------------] 100%
error: failed to commit transaction (conflicting files)
npm: /usr/lib/node_modules/npm/node_modules/socks-proxy-agent/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/AUTHORS exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/index.js exists infilesystem
npm: /usr/lib/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/parse.js exists infilesystem
npm: /usr/lib/node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse/scan.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/AUTHORS exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/LICENSE exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/index.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/package.json exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/parse.js exists in filesystem
npm: /usr/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/scan.js exists in filesystem
Errors occurred, no packages were upgraded.
2. Attempts to fix
I tried editing the pacman config. Adding npm to IgnoreGroup and the problem path to the NoUpgrade
3. System information
garuda-inxi
System:
Kernel: 6.8.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=94df880c-e52d-4694-84ed-e01e7b04dbe0 rw rootflags=subvol=@
quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=eb69acb1-bdd7-4fc2-ba80-cb664a0fda1f loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.0.3 tk: Qt v: N/A info: frameworks v: 6.0.0
wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: Dell product: Inspiron 5379 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 0T8VVT v: A00 serial: <superuser required> part-nu: 0804
uuid: <superuser required> UEFI: Dell v: 1.13.0 date: 03/05/2020
Battery:
ID-1: BAT0 charge: 18.0 Wh (77.3%) condition: 23.3/42.0 Wh (55.6%)
volts: 12.9 min: 11.4 model: BYD DELL FW8KR83 type: Li-ion serial: <filter>
status: charging
CPU:
Info: model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Coffee Lake
gen: core 8 level: v3 note: check built: 2017 process: Intel 14nm family: 6
model-id: 0x8E (142) stepping: 0xA (10) microcode: 0xF4
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 575 high: 1800 min/max: 400/4000 scaling:
driver: intel_pstate governor: performance cores: 1: 400 2: 400 3: 1800
4: 400 5: 400 6: 400 7: 400 8: 400 bogomips: 31999
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel
arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1
empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300
Device-2: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:2 chip-ID: 0bda:58f3
class-ID: 0e02 serial: <filter>
Display: wayland server: X.org v: 1.21.1.12 with: Xwayland v: 23.2.6
compositor: kwin_wayland driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
Monitor-1: eDP-1 res: 1920x1080 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast surfaceless: drv: iris wayland: drv: iris x11:
drv: iris inactive: gbm
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.4-arch1.2
glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 620 (KBL
GT2) device-ID: 8086:5917 memory: 7.32 GiB unified: yes display-ID: :1.0
API: Vulkan v: 1.3.279 layers: 14 device: 0 type: integrated-gpu
name: Intel UHD Graphics 620 (KBL GT2) driver: mesa intel v: 24.0.4-arch1.2
device-ID: 8086:5917 surfaces: xcb,xlib,wayland device: 1 type: cpu
name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
v: 24.0.4-arch1.2 (LLVM 17.0.6) device-ID: 10005:0000
surfaces: xcb,xlib,wayland
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel
v: kernel alternate: snd_soc_skl,snd_soc_avs bus-ID: 00:1f.3
chip-ID: 8086:9d71 class-ID: 0403
API: ALSA v: k6.8.4-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.0.4 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: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
vendor: Dell driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 01:00.0 chip-ID: 168c:003e class-ID: 0280 temp: 33.0 C
IF: wlp1s0 state: up mac: <filter>
Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Qualcomm Atheros driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:3 chip-ID: 0cf3:e007
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 4.2
lmp-v: 8 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
Local Storage: total: 238.47 GiB used: 156.23 GiB (65.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: KSG60ZMV256G M.2 2280
256GB size: 238.47 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 4102 scheme: GPT
Partition:
ID-1: / raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 156.23 GiB (68.1%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 600 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 156.23 GiB (68.1%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 156.23 GiB (68.1%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 156.23 GiB (68.1%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 7.5 GiB used: 2.73 GiB (36.4%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
ID-2: swap-2 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda3 maj-min: 8:3
Sensors:
System Temperatures: cpu: 41.0 C pch: 34.5 C mobo: 34.0 C sodimm: SODIMM C
Fan Speeds (rpm): cpu: 0
Info:
Memory: total: 8 GiB available: 7.5 GiB used: 3.25 GiB (43.3%)
Processes: 352 Power: uptime: 19h 49m states: freeze,mem,disk
suspend: deep avail: s2idle wakeups: 2 hibernate: suspend avail: platform,
shutdown, reboot, test_resume image: 2.98 GiB
services: org_kde_powerdevil,upowerd Init: systemd v: 255
default: graphical tool: systemctl
Packages: pm: dpkg pkgs: 0 pm: pacman pkgs: 2321 libs: 601
tools: octopi,paru pm: flatpak pkgs: 0 Compilers: clang: 17.0.6 gcc: 13.2.1
Shell: garuda-inxi default: Bash v: 5.2.26 running-in: konsole
inxi: 3.3.33
Garuda (2.6.25-1):
System install date: 2023-12-03
Last full system update: 2024-04-10
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut
Windows dual boot: Probably (Run as root to verify)
Failed units: