[ALPM] error: cannot remove /usr/share/libalpm/hooks/01-snapshot-reject.hook

Hello.
After a pacman -Syu I found an error.
[ALPM] error: cannot remove /usr/share/libalpm/hooks/01-snapshot-reject.hook
(Dispositivo o risorsa occupata)*

*(Device or resource busy / occupied)

pacman -Syu, hower, did not fail and all works fine after upgrade.

Here my garurda-inxi

garuda-inxi  
System:
Kernel: 5.17.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=e1b87af6-67e0-4350-97cb-8bdfe430d209 rw [email protected]
quiet
cryptdevice=UUID=735c2a29-e901-4fc7-893a-52a88bf43878:luks-735c2a29-e901-4fc7-893a-52a88bf43878
root=/dev/mapper/luks-735c2a29-e901-4fc7-893a-52a88bf43878 splash
rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1
resume=/dev/mapper/luks-23c04b79-4698-461f-ade3-f485919f86ca loglevel=3
Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_wayland vt: 2 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: FUJITSU product: LIFEBOOK A544 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: FUJITSU model: FJNBB35 serial: <superuser required>
UEFI: FUJITSU // Phoenix v: Version 1.13 date: 11/18/2013
Battery:
ID-1: BAT0 charge: 0.9 Wh (100.0%) condition: 0.9/4.5 Wh (20.7%)
volts: 12.2 min: 10.8 model: PTL CP651527-01 type: Li-ion serial: <filter>
status: N/A cycles: 274
CPU:
Info: model: Intel Core i7-4702MQ bits: 64 type: MT MCP arch: Haswell
family: 6 model-id: 0x3C (60) stepping: 3 microcode: 0x28
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: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 2193 high: 2198 min/max: 800/3200 scaling:
driver: intel_cpufreq governor: performance cores: 1: 2195 2: 2196 3: 2195
4: 2198 5: 2197 6: 2194 7: 2178 8: 2197 bogomips: 35118
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
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: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Fujitsu
driver: i915 v: kernel ports: active: HDMI-A-1 off: eDP-1 empty: VGA-1
bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300
Device-2: Importek FJ Camera type: USB driver: uvcvideo bus-ID: 1-7:5
chip-ID: 10f1:1a58 class-ID: 0e02
Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1
compositor: kwin_wayland driver: X: loaded: modesetting
alternate: fbdev,intel,vesa gpu: i915 display-ID: 0
Monitor-1: HDMI-A-1 res: 1920x1080 size: N/A modes: N/A
OpenGL: renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
v: 4.6 Mesa 22.0.2 compat-v: 3.1 direct render: Yes
Audio:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
vendor: Fujitsu driver: snd_hda_intel v: kernel bus-ID: 00:03.0
chip-ID: 8086:0c0c class-ID: 0403
Device-2: Intel 8 Series/C220 Series High Definition Audio
vendor: Fujitsu driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:8c20 class-ID: 0403
Sound Server-1: ALSA v: k5.17.4-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.50 running: yes
Network:
Device-1: Intel Wireless 7260 driver: iwlwifi v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:08b1 class-ID: 0280
IF: wlp3s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Fujitsu driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: virbr0 state: down mac: <filter>
IF-ID-2: virbr1 state: down mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus-ID: 1-8:7 chip-ID: 8087:07dc class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 13 state: up address: <filter>
Drives:
Local Storage: total: 931.51 GiB used: 90.91 GiB (9.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 QVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 1B6Q scheme: GPT
Partition:
ID-1: / raw-size: 922.45 GiB size: 922.45 GiB (100.00%)
used: 90.91 GiB (9.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-735c2a29-e901-4fc7-893a-52a88bf43878
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.45%)
used: 682 KiB (0.3%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 922.45 GiB size: 922.45 GiB (100.00%)
used: 90.91 GiB (9.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-735c2a29-e901-4fc7-893a-52a88bf43878
ID-4: /var/log raw-size: 922.45 GiB size: 922.45 GiB (100.00%)
used: 90.91 GiB (9.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-735c2a29-e901-4fc7-893a-52a88bf43878
ID-5: /var/tmp raw-size: 922.45 GiB size: 922.45 GiB (100.00%)
used: 90.91 GiB (9.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-735c2a29-e901-4fc7-893a-52a88bf43878
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.67 GiB used: 1.37 GiB (17.9%)
priority: 100 dev: /dev/zram0
ID-2: swap-2 type: partition size: 8.8 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/dm-1 maj-min: 254:1
mapped: luks-23c04b79-4698-461f-ade3-f485919f86ca
Sensors:
System Temperatures: cpu: 69.0 C pch: 60.0 C mobo: 27.8 C
Fan Speeds (RPM): N/A
Info:
Processes: 313 Uptime: 2d 14h 53m wakeups: 39 Memory: 7.67 GiB
used: 4.27 GiB (55.6%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1677 lib: 386 Shell: fish
v: 3.4.1 running-in: konsole inxi: 3.3.15
Garuda (2.6.1-3):
System install date:     2021-03-13
Last full system update: 2022-04-25 ↻
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:

Here an extract from pacman.log

[2022-04-24T21:58:18+0200] [PACMAN] Running 'pacman -Syu'
[2022-04-24T21:58:18+0200] [PACMAN] synchronizing package lists
[2022-04-24T21:59:02+0200] [PACMAN] starting full system upgrade
[2022-04-24T22:07:03+0200] [ALPM] running '05-snap-pac-pre.hook'...
[2022-04-24T22:07:03+0200] [ALPM-SCRIPTLET] ==> root: 242
[2022-04-24T22:07:03+0200] [ALPM] transaction started
[2022-04-24T22:07:03+0200] [ALPM] upgraded zlib (1:1.2.12-1 -> 1:1.2.12-2)
[2022-04-24T22:07:04+0200] [ALPM] upgraded exiv2 (0.27.5-1 -> 0.27.5-3)
[2022-04-24T22:07:04+0200] [ALPM] upgraded ffcall (2.4-1 -> 2.4-2)
[2022-04-24T22:07:04+0200] [ALPM] error: cannot remove /usr/share/libalpm/hooks/01-snapshot-reject.hook (Dispo
sitivo o risorsa occupata)
[2022-04-24T22:07:04+0200] [ALPM] upgraded garuda-hooks (2.6.1-1 -> 2.6.2-1)
[2022-04-24T22:07:04+0200] [ALPM] upgraded garuda-icons (r33.aa927f9-1 -> r36.98d3d5a-1)
[2022-04-24T22:07:04+0200] [ALPM] upgraded gavl (1.4.0-5 -> 1.4.0-6)
[2022-04-24T22:07:04+0200] [ALPM] upgraded harfbuzz (4.2.0-3 -> 4.2.1-1)
[2022-04-24T22:07:04+0200] [ALPM] upgraded harfbuzz-icu (4.2.0-3 -> 4.2.1-1)
[2022-04-24T22:07:04+0200] [ALPM] upgraded jasper (2.0.33-1 -> 2.0.33-2)
[2022-04-24T22:07:04+0200] [ALPM] upgraded jsoncpp (1.9.5-1 -> 1.9.5-2)
[2022-04-24T22:07:04+0200] [ALPM] upgraded lib32-zlib (1.2.11-3 -> 1.2.12-1)
[2022-04-24T22:07:04+0200] [ALPM] upgraded libbsd (0.11.6-1 -> 0.11.6-2)
[2022-04-24T22:07:04+0200] [ALPM] upgraded minizip (1:1.2.12-1 -> 1:1.2.12-2)
[2022-04-24T22:07:04+0200] [ALPM] upgraded openal (1.21.1-3 -> 1.22.0-1)
[2022-04-24T22:07:04+0200] [ALPM] upgraded shaderc (2022.1-2 -> 2022.1-3)
[2022-04-24T22:07:04+0200] [ALPM] installed libshumate-git (1.0.0.alpha.1.r14.g6b3cb7d-1)
[2022-04-24T22:07:06+0200] [ALPM] upgraded shortwave (1:2.0.1-1 -> 1:3.0.0-1)
[2022-04-24T22:07:08+0200] [ALPM] transaction completed
[2022-04-24T22:07:08+0200] [ALPM] running '30-systemd-update.hook'...
[2022-04-24T22:07:08+0200] [ALPM] running 'foreign.hook'...
[2022-04-24T22:07:14+0200] [ALPM-SCRIPTLET] docker-machine-driver-kvm2 1.25.2-1
[2022-04-24T22:07:14+0200] [ALPM-SCRIPTLET] kipi-plugins 21.12.3-1
[2022-04-24T22:07:14+0200] [ALPM-SCRIPTLET] libkipi 21.12.3-1
[2022-04-24T22:07:14+0200] [ALPM-SCRIPTLET] paleofetch-garuda r3.6471340-1
[2022-04-24T22:07:14+0200] [ALPM] running 'garuda-hooks-runner.hook'...
[2022-04-24T22:07:15+0200] [ALPM] running 'glib-compile-schemas.hook'...
[2022-04-24T22:07:15+0200] [ALPM] running 'gtk-update-icon-cache.hook'...
[2022-04-24T22:07:15+0200] [ALPM] running 'orphans.hook'...
[2022-04-24T22:07:17+0200] [ALPM-SCRIPTLET] => No orphans found.
[2022-04-24T22:07:17+0200] [ALPM] running 'pacnew-check.hook'...
[2022-04-24T22:07:22+0200] [ALPM] running 'update-desktop-database.hook'...
[2022-04-24T22:07:22+0200] [ALPM] running 'zz-snap-pac-post.hook'...
[2022-04-24T22:07:26+0200] [ALPM-SCRIPTLET] ==> root: 243
[2022-04-24T22:07:26+0200] [ALPM] running 'zz_snap-pac-grub-post.hook'...
[2022-04-24T22:07:27+0200] [ALPM-SCRIPTLET] Generating grub configuration file ...
[2022-04-24T22:07:30+0200] [ALPM-SCRIPTLET] Found theme: /usr/share/grub/themes/garuda/theme.txt
[2022-04-24T22:07:32+0200] [ALPM-SCRIPTLET] Found linux image: /boot/vmlinuz-linux-zen
[2022-04-24T22:07:32+0200] [ALPM-SCRIPTLET] Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-ze
n.img
[2022-04-24T22:07:34+0200] [ALPM-SCRIPTLET] Found fallback initrd image(s) in /boot:  intel-ucode.img initramf
s-linux-zen-fallback.img
[2022-04-24T22:07:35+0200] [ALPM-SCRIPTLET] Found linux image: /boot/vmlinuz-linux-lts
[2022-04-24T22:07:35+0200] [ALPM-SCRIPTLET] Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-lt
s.img
[2022-04-24T22:07:35+0200] [ALPM-SCRIPTLET] Found fallback initrd image(s) in /boot:  intel-ucode.img initramf
s-linux-lts-fallback.img
[2022-04-24T22:07:35+0200] [ALPM-SCRIPTLET] Warning: os-prober will not be executed to detect other bootable p
artitions.
[2022-04-24T22:07:35+0200] [ALPM-SCRIPTLET] Systems on them will not be added to the GRUB boot configuration.
[2022-04-24T22:07:35+0200] [ALPM-SCRIPTLET] Check GRUB_DISABLE_OS_PROBER documentation entry.
[2022-04-24T22:07:35+0200] [ALPM-SCRIPTLET] Adding boot menu entry for UEFI Firmware Settings ...
[2022-04-24T22:07:35+0200] [ALPM-SCRIPTLET] Detecting snapshots ...
[2022-04-24T22:07:38+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-24 22:07:25 | @/.snapshots/243/snapshot |
post   | exiv2 ffcall garuda-hooks garuda-icons gavl harfbuzz harfbuzz-icu jasper |
[2022-04-24T22:07:38+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-24 22:07:03 | @/.snapshots/242/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:38+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-24 22:01:01 | @/.snapshots/241/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:38+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-24 21:01:01 | @/.snapshots/240/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:38+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-24 20:01:02 | @/.snapshots/239/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:38+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-24 12:01:01 | @/.snapshots/238/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:38+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-24 08:01:01 | @/.snapshots/237/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:38+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-24 07:29:14 | @/.snapshots/236/snapshot |
post   | gtk-update-icon-cache gtk4 kvantum-theme-sweet-git perl-file-listing sta |
[2022-04-24T22:07:38+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-24 07:29:09 | @/.snapshots/235/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:38+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-24 07:01:01 | @/.snapshots/234/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:38+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 20:01:01 | @/.snapshots/233/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:38+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 19:23:18 | @/.snapshots/232/snapshot |
post   | imagemagick wcslib                                                       |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 19:23:16 | @/.snapshots/231/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 19:01:01 | @/.snapshots/230/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 17:01:01 | @/.snapshots/229/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 16:50:38 | @/.snapshots/228/snapshot |
post   | hblock kdeconnect                                                        |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 16:50:35 | @/.snapshots/227/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 15:38:04 | @/.snapshots/226/snapshot |
post   | lzip                                                                     |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 15:38:03 | @/.snapshots/225/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 15:01:01 | @/.snapshots/224/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 14:40:59 | @/.snapshots/223/snapshot |
post   | gftp libpgm librsvg                                                      |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 14:40:56 | @/.snapshots/222/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 14:01:01 | @/.snapshots/221/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 13:01:01 | @/.snapshots/220/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 12:01:01 | @/.snapshots/219/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 11:01:01 | @/.snapshots/218/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 10:01:01 | @/.snapshots/217/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:39+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 09:30:44 | @/.snapshots/216/snapshot |
post   | archlinux-keyring garuda-boot-options-git gvfs intel-compute-runtime int |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-23 09:30:37 | @/.snapshots/215/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-22 21:04:22 | @/.snapshots/214/snapshot |
post   | akonadi-contacts ark at-spi2-core baloo-widgets bomber bovo dolphin dolp |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-22 21:04:13 | @/.snapshots/213/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-22 21:01:01 | @/.snapshots/212/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-21 21:53:39 | @/.snapshots/211/snapshot |
post   | starship-git                                                             |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-21 21:53:38 | @/.snapshots/210/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-21 21:09:18 | @/.snapshots/209/snapshot |
post   | glslang intel-ucode kubectl xorgproto                                    |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-21 21:09:15 | @/.snapshots/208/snapshot |
pre    | pacman -Su                                                               |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-21 14:37:52 | @/.snapshots/204/snapshot |
post   | beautyline libaio libcap libcap-ng linux-lts linux-lts-headers linux-zen |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-21 14:36:04 | @/.snapshots/203/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-21 09:01:01 | @/.snapshots/198/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-21 08:56:31 | @/.snapshots/197/snapshot |
post   | beautyline garuda-dr460nized garuda-wallpapers telegram-desktop          |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-21 08:56:25 | @/.snapshots/196/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-20 23:21:52 | @/.snapshots/195/snapshot |
post   | beautyline plasma-framework starship-git                                 |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-20 23:21:48 | @/.snapshots/194/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-20 18:28:08 | @/.snapshots/191/snapshot |
post   | zoom                                                                     |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-20 18:28:03 | @/.snapshots/190/snapshot |
pre    | pacman -S zoom                                                           |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-20 14:42:28 | @/.snapshots/189/snapshot |
post   | libinput xorg-xauth                                                      |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-20 14:42:26 | @/.snapshots/188/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-20 09:01:01 | @/.snapshots/185/snapshot |
single | timeline                                                                 |
[2022-04-24T22:07:40+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-20 08:57:28 | @/.snapshots/184/snapshot |
post   | garuda-welcome-git glib2 jre-openjdk jre-openjdk-headless jre11-openjdk  |
[2022-04-24T22:07:41+0200] [ALPM-SCRIPTLET] Found snapshot: 2022-04-20 08:57:24 | @/.snapshots/183/snapshot |
pre    | pacman -Syu                                                              |
[2022-04-24T22:07:41+0200] [ALPM-SCRIPTLET] Found 50 snapshot(s)
[2022-04-24T22:07:41+0200] [ALPM-SCRIPTLET] Unmount /tmp/grub-btrfs.o6FOzxWF4s .. Success
[2022-04-24T22:07:41+0200] [ALPM-SCRIPTLET] Found memtest86+ image: /boot/memtest86+/memtest.bin
[2022-04-24T22:07:41+0200] [ALPM-SCRIPTLET] done
[2022-04-24T22:07:41+0200] [ALPM] running 'zzz_post.hook'...

I confirm this on one of my VMs, haven't tried elsewhere since but I also can confirm on Saturday it has not happened on another machine (real one).

However, the file is empty bat /usr/share/libalpm/hooks/01-snapshot-reject.hook will return empty file with 0 byte.
Could not remove it manually with rm -f either, but not that much concerned as I'm sure booting from a snapshot and then mounting main subvolume I could delete it. Or booting from Live ISO, certainly works too!

ls -l  /usr/share/libalpm/hooks/
totale 252
crw-rw-rw- 1 root root 1, 3 22 apr 21.15 01-snapshot-reject.hook
-rw-r--r-- 1 root root 1107  3 giu  2021 05-snap-pac-pre.hook
-rw-r--r-- 1 root root  434 21 ago  2021 10-linux-modules-post.hook
-rw-r--r-- 1 root root  367 21 ago  2021 10-linux-modules-pre.hook
-rw-r--r-- 1 root root 1057  3 giu  2021 10-snap-pac-removal.hook
-rw-r--r-- 1 root root  237 24 apr 09.42 20-os-prober.hook
...
...

01-snapshot-reject.hook is char device. Why?
It is the only .hook file char device.

[[email protected] ~]# hexdump /usr/share/libalpm/hooks/01-snapshot-reject.hook
[[email protected] ~]#

The file is empty.

[[email protected] ~]# file /usr/share/libalpm/hooks/01-snapshot-reject.hook
/usr/share/libalpm/hooks/01-snapshot-reject.hook: character special (1/3)

i.e. It is a char device.

2 Likes

"Issue" is fixed in garuda-common-settings 2.6.2
We now no longer use mounts for that. Please confirm and mark as solution, thanks!

5 Likes

Man it's true, TNE is a busy bee for real! :smiley:

4 Likes

System updated! :penguin:

[[email protected] ~]# file /usr/share/libalpm/hooks/01-snapshot-reject.hook
/usr/share/libalpm/hooks/01-snapshot-reject.hook: ASCII text

Thanks,
Lorenzo

1 Like

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