File conflicts during update

Hi, I’m stuck !

In addition, I see nvidia update + realize I have a lot of nvidia packages, but… This PC is Radeon.

:: Synchronisation des bases de données de paquets…
 core est à jour
 extra est à jour
 community est à jour
 multilib est à jour
:: Début de la mise à jour complète du système…
résolution des dépendances…
recherche des conflits entre paquets…

Paquets (62) ca-certificates-mozilla-3.80-1  cockpit-272-1  cockpit-podman-50-1  criu-3.17.1-1  curl-7.84.0-1  duktape-2.7.0-2  easyeffects-6.2.6-1  geoip-database-20220621-1  git-2.37.0-1  harfbuzz-4.4.0-1
             harfbuzz-icu-4.4.0-1  lib32-curl-7.84.0-1  lib32-harfbuzz-4.4.0-1  lib32-nss-3.80-1  lib32-openal-1.22.2-1  libblockdev-2.27-1  libidn-1.41-1  libmediainfo-22.06-1  libmm-glib-1.18.10-1
             libnghttp2-1.48.0-1  libopenraw-0.3.2-1  libproxy-0.4.18-1  libqmi-1.30.8-1  liburing-2.2-1  libxnvctrl-515.57-1  linux515-5.15.50-1  linux515-headers-5.15.50-1
             linux515-virtualbox-host-modules-6.1.34-19  linux518-5.18.7-1  linux518-headers-5.18.7-1  linux518-virtualbox-host-modules-6.1.34-10  lsp-plugins-1.2.2-1  luajit-2.1.0.beta3.r422.g4c2441c1-1
             manjaro-release-21.3.2-1  mediainfo-gui-22.06-1  mhwd-nvidia-515.57-1  modemmanager-1.18.10-1  npm-8.6.0-1  nss-3.80-1  nvidia-utils-515.57-1  openal-1.22.2-1  opencl-nvidia-515.57-1
             parallel-20220622-1  perl-lwp-protocol-https-6.10-4  perl-mozilla-ca-20211001-1  podman-4.1.1-2  pycharm-community-edition-2022.1.3-1  python-certifi-2022.06.15-1  python-css-parser-1.0.7-1
             python-lxml-4.9.0-1  python-pikepdf-5.1.5.post1-1  python-psutil-5.9.1-1  python-tabulate-0.8.10-1  python-trove-classifiers-2022.6.23-1  python-zstandard-0.18.0-1  ruby-power_assert-2.0.1-1
             signal-desktop-5.47.0-1  squashfuse-0.1.105-1  sudo-1.9.11.p3-1  tbb-2021.5.0-2  tlpui-1.5.0.1-1  webapp-manager-1.2.1-1

Taille totale installée :      2394,18 MiB
Taille de mise à jour nette :     6,83 MiB

:: Procéder à l’installation ? [O/n] 
(62/62) vérification des clés dans le trousseau                                                                                [-----------------------------------------------------------------------------] 100%
(62/62) vérification de l’intégrité des paquets                                                                                [-----------------------------------------------------------------------------] 100%
(62/62) chargement des fichiers des paquets                                                                                    [-----------------------------------------------------------------------------] 100%
(62/62) analyse des conflits entre fichiers                                                                                    [-----------------------------------------------------------------------------] 100%
erreur : la validation de la transaction a échoué (conflit de fichiers )
npm : /usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/common/owner-sync.js est déjà présent dans le système de fichiers
npm : /usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/with-owner-sync.js est déjà présent dans le système de fichiers
npm : /usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/with-owner.js est déjà présent dans le système de fichiers
npm : /usr/lib/node_modules/npm/node_modules/builtins/index.js est déjà présent dans le système de fichiers
npm : /usr/lib/node_modules/npm/node_modules/just-diff-apply/index.d.ts est déjà présent dans le système de fichiers
npm : /usr/lib/node_modules/npm/node_modules/just-diff-apply/index.tests.ts est déjà présent dans le système de fichiers
npm : /usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/dns.js est déjà présent dans le système de fichiers
npm : /usr/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/clean-url.js est déjà présent dans le système de fichiers
npm : /usr/lib/node_modules/npm/node_modules/validate-npm-package-name/lib/index.js est déjà présent dans le système de fichiers
Des erreurs se sont produites, aucun paquet n’a été mis à jour.
 -> erreur à l'installation des dépôts des paquets

~]$ inxi -Fazy
System:
  Kernel: 5.18.6-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.18-x86_64
    root=UUID=78fe8df9-a5da-4f7c-9ec3-52993d393e57 rw quiet
    udev.log_priority=3
  Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel, plank
    wm: xfwm v: 4.16.1 vt: 7 dm: LightDM v: 1.30.0 Distro: Manjaro Linux
    base: Arch Linux
Machine:
  Type: Laptop System: HP product: Victus by HP Laptop 16-e0xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 8934 v: 80.72 serial: <superuser required> UEFI: AMI
    v: F.13 date: 02/14/2022
Battery:
  ID-1: BAT0 charge: 67.0 Wh (99.7%) condition: 67.2/67.2 Wh (100.0%)
    volts: 17.0 min: 15.4 model: HP Primary type: Li-ion serial: <filter>
    status: N/A cycles: 36
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 built: 2021-22 process: TSMC n7 (7nm) family: 0x19 (25)
    model-id: 0x50 (80) stepping: 0 microcode: 0xA50000C
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1373 high: 2209 min/max: 1200/4280 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1291 2: 1210
    3: 1607 4: 1197 5: 1397 6: 1394 7: 1197 8: 1196 9: 1198 10: 1196 11: 2209
    12: 1384 bogomips: 79080
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  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: 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, IBRS_FW,
    STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
    vendor: Hewlett-Packard driver: amdgpu v: kernel arch: RDNA 1
    process: TSMC n7 (7nm) built: 2019-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: none empty: HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:7340
    class-ID: 0380
  Device-2: AMD Cezanne vendor: Hewlett-Packard driver: amdgpu v: kernel
    arch: GCN 5.1 process: TSMC n7 (7nm) built: 2018-21 pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
    active: eDP-1 empty: DP-1 bus-ID: 09:00.0 chip-ID: 1002:1638
    class-ID: 0300
  Device-3: Quanta HP Wide Vision HD Camera type: USB driver: uvcvideo
    bus-ID: 1-3:2 chip-ID: 0408:5425 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
    compositor: xfwm v: 4.16.1 driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa gpu: amdgpu
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP model: ChiMei InnoLux 0x1606 built: 2019
    res: 1920x1080 hz: 60 dpi: 137 gamma: 1.2 size: 355x199mm (13.98x7.83")
    diag: 407mm (16") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  OpenGL: renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.46 5.18.6-1-MANJARO)
    v: 4.6 Mesa 22.1.2 direct render: Yes
Audio:
  Device-1: AMD Navi 10 HDMI Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 03:00.1 chip-ID: 1002:ab38 class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 09:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
    driver: snd_rn_pci_acp3x v: kernel
    alternate: snd_pci_acp3x,snd_pci_acp5x,snd_pci_acp6x,snd_acp_pci,snd_sof_amd_renoir
    pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 09:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 09:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Sound Server-1: ALSA v: k5.18.6-1-MANJARO running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: PulseAudio v: 16.1 running: no
  Sound Server-4: PipeWire v: 0.3.52 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw89_8852ae v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0 chip-ID: 10ec:8852
    class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IF-ID-1: docker0 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
  IF-ID-2: vethe17f45b state: up speed: 10000 Mbps duplex: full
    mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-4:3 chip-ID: 0bda:2852 class-ID: e001 serial: <filter>
  Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
  Local Storage: total: 1.38 TiB used: 722.99 GiB (51.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: PC SN730 SDBPNTY-512G-1006 size: 476.94 GiB block-size:
    physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: HPS2 temp: 33.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:6 vendor: Crucial model: CT1000P5SSD8
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: P4CR311 temp: 33.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 376.3 GiB size: 369.32 GiB (98.15%) used: 86.9 GiB (23.5%)
    fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 86.9 MiB (33.9%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 931.51 GiB size: 915.82 GiB (98.32%)
    used: 636.01 GiB (69.4%) fs: ext4 dev: /dev/nvme1n1p1 maj-min: 259:7
Swap:
  Kernel: swappiness: 5 (default 60) cache-pressure: 50 (default 100)
  ID-1: swap-1 type: file size: 16 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: N/A mobo: N/A
  Fan Speeds (RPM): cpu: 0 fan-2: 0
  GPU: device: amdgpu temp: 54.0 C device: amdgpu temp: 52.0 C mem: 0.0 C
    fan: 65535 watts: 4.00
Info:
  Processes: 373 Uptime: 17m wakeups: 3 Memory: 14.97 GiB
  used: 6.63 GiB (44.3%) Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.1.0 alt: 11 clang: 13.0.1 Packages: 2397
  pacman: 2332 lib: 461 flatpak: 65 Shell: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.19

No idea why you have nvidia-utils or opencl-nvidia installed, you can remove those.

Please post terminal output prefixed with LC_ALL=C to create output in English. Otherwise you can post in Français if you’d rather speak in French.

NEVER use sudo with npm. It will cause problems like these.

Normally the --overwrite option should not need to be used, but in this case you’ll need to in order to update:

sudo pacman -Syu --overwrite /usr/lib/node_modules/npm/node_modules/\*
1 Like

Is there a way to reinstate correct priviledges if npm was messed with ?