Update crash cause of libcurl

error: failed to commit transaction (conflicting files)
libcurl-compat: /usr/lib/libcurl.so.4.7.0 exists in filesystem (owned by curl)
Errors occurred, no packages were upgraded.

System:
  Kernel: 5.19.13-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=e46fe81f-7dfd-4f6a-a9fb-9cf9d645f98a
    rw [email protected] quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=e912bbf4-d5e0-42e1-9d5e-5f0b144b76b4 loglevel=3
  Desktop: KDE Plasma v: 5.25.5 tk: Qt v: 5.15.6 wm: kwin_wayland vt: 2 dm: SDDM
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: OMEN by HP Laptop 16-c0xxx v: N/A serial: <superuser required>
    Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 8902 v: 89.61 serial: <superuser required> UEFI: AMI v: F.17 date: 08/23/2022
Battery:
  ID-1: BAT0 charge: 69.5 Wh (99.6%) condition: 69.8/69.8 Wh (100.0%) volts: 17.2 min: 15.4
    model: HP Primary type: Li-ion serial: <filter> status: not charging cycles: 8
CPU:
  Info: model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP arch: Zen 3 gen: 4
    level: v3 built: 2021-22 process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80)
    stepping: 0 microcode: 0xA50000D
  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: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 3343 high: 4361 min/max: 1200/4462 boost: enabled scaling:
    driver: acpi-cpufreq governor: performance cores: 1: 3200 2: 3499 3: 3200 4: 3200 5: 3200
    6: 3200 7: 3480 8: 3200 9: 3200 10: 3481 11: 3200 12: 3200 13: 3480 14: 3200 15: 3200 16: 4361
    bogomips: 102212
  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: retbleed 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, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] vendor: Hewlett-Packard driver: amdgpu
    v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: none off: DP-1 empty: HDMI-A-1 bus-ID: 03:00.0
    chip-ID: 1002:73ff class-ID: 0380
  Device-2: AMD Cezanne vendor: Hewlett-Packard driver: amdgpu v: kernel arch: GCN-5.1
    code: Vega-2 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-2 bus-ID: 09:00.0
    chip-ID: 1002:1638 class-ID: 0300
  Device-3: Luxvisions Innotech HP Wide Vision HD Camera type: USB driver: uvcvideo
    bus-ID: 1-3:2 chip-ID: 30c9:000e class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3 compositor: kwin_wayland
    driver: X: loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa gpu: amdgpu,amdgpu
    display-ID: 0
  Monitor-1: eDP-1 res: 2560x1440 size: N/A modes: N/A
  OpenGL: renderer: AMD RENOIR (LLVM 14.0.6 DRM 3.47 5.19.13-zen1-1-zen) v: 4.6 Mesa 22.1.7
    direct render: Yes
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    bus-ID: 3-1.3:5 pcie: chip-ID: 0763:410b gen: 4 class-ID: fe01 speed: 16 GT/s lanes: 16
    bus-ID: 03:00.1 chip-ID: 1002:ab28 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
  Device-5: M-Audio AIR 192 4 type: USB driver: snd-usb-audio
  Sound Server-1: ALSA v: k5.19.13-zen1-1-zen 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.58 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: up speed: 1000 Mbps duplex: full 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: down 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: 3 state: up address: <filter>
Drives:
  Local Storage: total: 1.84 TiB used: 219.42 GiB (11.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 2B2QEXM7 temp: 37.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:4 vendor: Samsung model: MZVLB1T0HBLR-000H1 size: 953.87 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: HPS0NEXF temp: 28.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 914.67 GiB size: 914.67 GiB (100.00%) used: 219.4 GiB (24.0%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 19.4 MiB (6.5%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 914.67 GiB size: 914.67 GiB (100.00%) used: 219.4 GiB (24.0%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 914.67 GiB size: 914.67 GiB (100.00%) used: 219.4 GiB (24.0%)
    fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 914.67 GiB size: 914.67 GiB (100.00%) used: 219.4 GiB (24.0%)
    fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 14.98 GiB used: 516 KiB (0.0%) priority: 100 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16.55 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 58.8 C mobo: N/A
  Fan Speeds (RPM): fan-1: 2566 fan-2: 2436
  GPU: device: amdgpu temp: 43.0 C mem: 44.0 C fan: 0 watts: 4.00 device: amdgpu temp: 42.0 C
Info:
  Processes: 388 Uptime: 18h 0m wakeups: 3 Memory: 14.98 GiB used: 5.66 GiB (37.8%) Init: systemd
  v: 251 default: graphical tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages:
  pm: pacman pkgs: 2478 libs: 584 tools: octopi,pamac,paru Client: shell wrapper v: 5.1.16-release
  inxi: 3.3.21
Garuda (2.6.8.r0.g636fe36-1):
  System install date:     2022-04-07
  Last full system update: 2022-10-07
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:            shadow.service 
2 Likes

It would be very helpful to see the complete terminal output in this case as we likely need to identify the conflicting package :slight_smile:

3 Likes

Sorry, you're right, I went too fast... :blush:

2 Likes

That's all terminal output that was generated.

I see now that the problematic package is

It has in package contents usr/lib/libcurl.so.4.7.0
while curl has usr/lib/libcurl.so.4.8.0

1 Like

Curl is Version 7.85.2, this lib is Version 4.7.0. May a Version Conflict?

In my opinion you could try one of the following:

  • sudo pacman -S libcurl-compat --overwrite /usr/lib/* then garuda-update
  • sudo pacman -S libcurl-compat --overwrite '*' then garuda-update
  • sudo pacman -Syu --overwrite '*'
1 Like

Seems garuda-update working after I do what you writing. Follwing the output of garuda-update:

pacman: /usr/lib/libcurl.so.4: no version information available (required by /usr/lib/libalpm.so.13)
Warnung: archlinux-keyring-20220927-1 ist aktuell -- √úberspringe
Warnung: chaotic-keyring-20220803-1 ist aktuell -- √úberspringe
Warnung: garuda-hotfixes-1.1.2-1 ist aktuell -- √úberspringe
Es gibt nichts zu tun
pacman: /usr/lib/libcurl.so.4: no version information available (required by /usr/lib/libalpm.so.13)
spawn pacman -Su
pacman: /usr/lib/libcurl.so.4: no version information available (required by /usr/lib/libalpm.so.13)
:: Starting full system upgrade...
warning: curl: ignoring package upgrade (7.82.0-2 => 7.85.0-2)
warning: opencl-amd: local (22.10.1.50101-1) is newer than chaotic-aur (21.50.50000.1376259-3)
there is nothing to do

Checking for plugin updates
Nothing to install / update

Maybe we found the root cause of the issue.
Could you please check if Ignorepkg list in /etc/pacman.conf includes curl?
If so, the system is holding curl to an old version (7.82.0-2) which probably had that old libcurl.so.4.7.0

1 Like

Yes is as you write

IgnorePkg = curl

Is there a specific reason for that?
I mean, this must have been done manually.
If there was a specific reason for that, you should check if this is still necessary, since, you see, this is having side effects.
Possibly you should remove that and garuda-update again...

1 Like

No, i don't had change this file. Personally, I don't use curl

I don't see a reason to ignore that package.
I'd comment that line and update.
But it's your system of course, so you have to decide.

2 Likes

THX for help

2 Likes

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