Update fail

garuda-update
pacman: error while loading shared libraries: libassuan.so.0: cannot open shared object file: No such file or directory
pacman: error while loading shared libraries: libassuan.so.0: cannot open shared object file: No such file or directory

--> Refreshing mirrorlists using rate-mirrors, please be patient..🍵

pacman: error while loading shared libraries: libassuan.so.0: cannot open shared object file: No such file or directory
pacman: error while loading shared libraries: libassuan.so.0: cannot open shared object file: No such file or directory

--> Applying keyring updates before starting full system update..
pacman: error while loading shared libraries: libassuan.so.0: cannot open shared object file: No such file or directory
spawn pacman -Su -yy
pacman: error while loading shared libraries: libassuan.so.0: cannot open shared object file: No such file or directory

garuda-inxi

garuda-inxi
System:
Kernel: 6.9.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=02427121-6c72-4cdb-8273-86b642fae392 rw rootflags=subvol=@
quiet loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.1.1 tk: Qt v: N/A info: frameworks v: 6.3.0
wm: kwin_wayland with: Docker vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: Dell product: XPS 15 9570 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 0D0T05 v: A00 serial: <superuser required> part-nu: 087C
uuid: <superuser required> UEFI: Dell v: 1.20.0 date: 06/07/2021
Battery:
ID-1: BAT0 charge: 50.6 Wh (100.0%) condition: 50.6/97.0 Wh (52.2%)
volts: 12.7 min: 11.4 model: SMP DELL GPM0365 type: Li-ion serial: <filter>
status: full
CPU:
Info: model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Coffee Lake
gen: core 8 level: v3 note: check built: 2018 process: Intel 14nm family: 6
model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF6
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
L3: 9 MiB desc: 1x9 MiB
Speed (MHz): avg: 866 high: 900 min/max: 800/4100 scaling:
driver: intel_pstate governor: powersave cores: 1: 900 2: 800 3: 900 4: 900
5: 800 6: 800 7: 800 8: 900 9: 900 10: 900 11: 900 12: 900 bogomips: 52799
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell
driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
ports: active: eDP-1 empty: DP-1,DP-2,DP-3 bus-ID: 00:02.0
chip-ID: 8086:3e9b class-ID: 0300
Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: Dell
driver: nvidia v: 555.58 alternate: nouveau,nvidia_drm non-free: 545.xx+
status: current (as of 2024-06; EOL~2026-12-xx) arch: Pascal code: GP10x
process: TSMC 16nm built: 2016-2021 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1c8c
class-ID: 0302
Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-12:4
chip-ID: 0c45:671d class-ID: 0e02
Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
compositor: kwin_wayland driver: X: loaded: modesetting,nvidia
unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris
gpu: i915,nvidia display-ID: 0
Monitor-1: eDP-1 res: 1536x864 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm: drv: nvidia
surfaceless: drv: nvidia wayland: drv: iris x11: drv: iris
inactive: device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.1.2-arch1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 630 (CFL
GT2) device-ID: 8086:3e9b memory: 15.13 GiB unified: yes display-ID: :1.0
API: Vulkan v: 1.3.279 layers: 10 device: 0 type: integrated-gpu
name: Intel UHD Graphics 630 (CFL GT2) driver: mesa intel v: 24.1.2-arch1.1
device-ID: 8086:3e9b surfaces: xcb,xlib,wayland device: 1
type: discrete-gpu name: NVIDIA GeForce GTX 1050 Ti with Max-Q Design
driver: nvidia v: 555.58 device-ID: 10de:1c8c surfaces: xcb,xlib,wayland
device: 2 type: cpu name: llvmpipe (LLVM 17.0.6 256 bits)
driver: mesa llvmpipe v: 24.1.2-arch1.1 (LLVM 17.0.6)
device-ID: 10005:0000 surfaces: xcb,xlib,wayland
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel
v: kernel alternate: snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_cnl
bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
API: ALSA v: k6.9.7-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.2.0 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: Rivet Networks Killer Wireless-n/a/ac 1535 driver: ath10k_pci
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 3b:00.0
chip-ID: 168c:003e class-ID: 0280 temp: 39.0 C
IF: wlp59s0 state: up mac: <filter>
IF-ID-1: docker0 state: down mac: <filter>
Info: services: NetworkManager, 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-4:2 chip-ID: 0cf3:e301
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2
lmp-v: 8 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
Local Storage: total: 476.94 GiB used: 162.19 GiB (34.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: PC401 NVMe 512GB
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 80007E00 temp: 40.9 C
scheme: GPT
Partition:
ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 162.19 GiB (34.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: 600 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 162.19 GiB (34.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 162.19 GiB (34.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 162.19 GiB (34.0%) 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: 30.99 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 70.0 C pch: 52.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 32 GiB note: est. available: 30.99 GiB used: 9.25 GiB (29.8%)
Processes: 340 Power: uptime: 40m states: freeze,mem,disk suspend: s2idle
avail: deep wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.35 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 0 tools: octopi,paru,yay Compilers:
clang: 17.0.6 gcc: 14.1.1 Shell: garuda-inxi default: fish v: 3.7.1
running-in: konsole inxi: 3.3.35
pacman: error while loading shared libraries: libassuan.so.0: cannot open shared object file: No such file or directory
Garuda ():
System install date:     2024-03-29
Last full system update: 2024-07-25
Is partially upgraded:   No
Relevant software:       snapper NetworkManager
Windows dual boot:       No/Undetected
Failed units:

What happened? You didn’t include any information about what caused the misconfiguration. Was an update interrupted? Did you delete some libraries you shouldn’t have?

What have you tried so far to resolve the issue?

If you just want an easy fix: boot to your last working snapshot, restore the snapshot, reboot, and bring your system fully up to date. Restoring snapshots to get the system back to working state | Garuda Linux wiki

7 Likes

this worked, thank you

this is not a very helpful forum post. The way you wrote it makes it hard to understand what happened and how to resolve the issue.
Imagine somebody comes across this and finds that the only fix is to restore a snapshot. That is not a fix, but merely a rollback. What if the problem is caused by an update? Simply rolling back will not resolve the issue in this case since an upgrade would trigger the problem again.

So please, do us all a favour and explain what caused this problem, or at least what you did that resulted in this outcome.

6 Likes

If updating fails with this kind of error, the easiest (and probably more safe) thing would be trying rolling back. There seems to be a way to do it if there isn’t a snapshot that would help the issue and if the error stops you updating and getting packages in the typical manner (which most likely rule out fixing it with garuda-update related commands too)… but the process is far from pretty and I am unsure how safe it would be for some users to attempt:
https://ostechnix.com/fix-pacman-error-loading-shared-libraries-error-arch-linux/
(talks about a different shared library, but the process should be similar)

3 Likes

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