Hi, there!
I am using Garuda GNOME for a long time (as can be seen in the inxi output below), and I was updating my machine today using garuda-update
as I do normally, but this time it failed with a message regarding the package timeshift-support
. It complained that /lib and two files inside /lib/systemd/system/ related to GRUB already existed.
Normally I would just rename/move the files and try to update just the package again when I face this kind of error, but this time as it complained about a directory (/lib) I tried to use:
sudo pacman -S --overwrite "*" timeshift-support
thinking that it would just replace /lib with the correct one, but it was a big mistake.
Although the installation fixed the problem, it actually replace /lib, which is actually symbolic link to /usr/lib, with a fresh new and empty folder, then put its new files inside. I did not realize the problem, and updated the rest of the packages. It then gave errors trying to rebuild kernel modules (DKMS stuff) because it could not find content from /lib…
This is when I realized that /lib was broken. I took a look at a snapshot and realized when happened, moved the GRUB files to the correct location, recreated the symbolic link and it was able to rebuild the kernel modules.
But, as /lib was empty when the system was updated, the RAM disks and GRUB were no rebuild correctly. This meant I could not boot anymore. After some research to know exactly what was going on, booting from the ArchLinux image and using arch-chroot
, I was able to rebuild the files and boot again.
In the mean time, I came here to search about the error related to timeshift-support
and did not find anything. So as it caused me some problem I thought it would be a good idea to report what happened here.
$ paru -Ss timeshift-support
garuda/timeshift-support 1-1 [0 B 1.15 KiB] [Installed]
Support package for enabling Timeshift with timeshift-autosnap and grub-btrfs
Regards
$ garuda-inxi
System:
Kernel: 6.1.76-x64v4-xanmod1 arch: x86_64 bits: 64 compiler: gcc v: 13.2.0
clocksource: tsc available: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-xanmod-lts-linux-bin-x64v4
root=UUID=9669c171-2745-4424-8de7-ceaed8e22c46 rw rootflags=subvol=@
systemd.unified_cgroup_hierarchy=1 psi=1 ibt=on
Desktop: GNOME v: 45.3 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
v: 45.0.1 Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Acer product: Aspire A515-55G v: V1.13
serial: <superuser required>
Mobo: IL model: Doc_IL v: V1.13 serial: <superuser required> UEFI: Insyde
v: 1.13 date: 10/15/2020
Battery:
ID-1: BAT1 charge: 39.0 Wh (100.0%) condition: 39.0/47.8 Wh (81.5%)
volts: 12.0 min: 11.2 model: LGC AP18C8K type: Li-ion serial: <filter>
status: full
CPU:
Info: model: Intel Core i5-1035G1 bits: 64 type: MT MCP arch: Ice Lake
gen: core 10 level: v4 note: check built: 2019-21 process: Intel 10nm
family: 6 model-id: 0x7E (126) stepping: 5 microcode: 0xC2
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 2 MiB desc: 4x512 KiB L3: 6 MiB
desc: 1x6 MiB
Speed (MHz): avg: 742 high: 1100 min/max: 400/3600 scaling:
driver: intel_pstate governor: powersave cores: 1: 400 2: 1077 3: 400 4: 400
5: 1100 6: 1064 7: 1100 8: 400 bogomips: 19046
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel Iris Plus Graphics G1 vendor: Acer Incorporated ALI
driver: i915 v: kernel arch: Gen-11 process: Intel 10nm built: 2019-21
ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:8a56
class-ID: 0300
Device-2: NVIDIA GP107M [GeForce MX350] vendor: Acer Incorporated ALI
driver: nvidia v: 545.29.06 alternate: nvidiafb,nouveau,nvidia_drm
non-free: 545.xx+ status: current (as of 2023-10; EOL~2026-12-xx)
arch: Pascal code: GP10x process: TSMC 16nm built: 2016-2021 pcie: gen: 1
speed: 2.5 GT/s lanes: 4 link-max: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 02:00.0 chip-ID: 10de:1c94 class-ID: 0302
Device-3: Quanta HD User Facing driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:2 chip-ID: 0408:a061
class-ID: 0e02
Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
compositor: gnome-shell driver: X: loaded: intel,nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: i965 gpu: i915
display-ID: 0
Monitor-1: eDP-1 model: ChiMei InnoLux 0x1509 built: 2018 res: 1920x1080
dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
ratio: 16:9 modes: 1920x1080
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: 23.3.5-arch1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics (ICL GT1)
device-ID: 8086:8a56 memory: 7.36 GiB unified: yes display-ID: :0.0
API: Vulkan v: 1.3.276 layers: 18 device: 0 type: integrated-gpu
name: Intel UHD Graphics (ICL GT1) driver: mesa intel v: 23.3.5-arch1.1
device-ID: 8086:8a56 surfaces: xcb,xlib,wayland device: 1
type: discrete-gpu name: NVIDIA GeForce MX350 driver: nvidia v: 545.29.06
device-ID: 10de:1c94 surfaces: xcb,xlib,wayland device: 2 type: cpu
name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
v: 23.3.5-arch1.1 (LLVM 16.0.6) device-ID: 10005:0000
surfaces: xcb,xlib,wayland
Audio:
Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_icl
bus-ID: 00:1f.3 chip-ID: 8086:34c8 class-ID: 0403
API: ALSA v: k6.1.76-x64v4-xanmod1 status: kernel-api with: 1: osspd
status: off 2: aoss type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 1.0.3 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: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Acer Incorporated ALI driver: r8169 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
vendor: Lite-On driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 04:00.0 chip-ID: 168c:003e class-ID: 0280 temp: 48.0 C
IF: wlp4s0 state: up mac: <filter>
Bluetooth:
Device-1: Lite-On driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 1-10:3 chip-ID: 04ca:3016 class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 4.2
lmp-v: 8 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
Local Storage: total: 733.06 GiB used: 478.53 GiB (65.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data model: IM2P33F8ABR2-256GB
size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: U0513A0L temp: 38.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Apple model: HDD HTS545050A7E362
size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
tech: HDD rpm: 5400 serial: <filter> fw-rev: B990 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Kingston model: DataTraveler 3.0
size: 28.82 GiB block-size: physical: 512 B logical: 512 B type: USB
rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 173.19 GiB size: 173.19 GiB (100.00%)
used: 133.83 GiB (77.3%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
used: 57.7 MiB (22.5%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 173.19 GiB size: 173.19 GiB (100.00%)
used: 133.83 GiB (77.3%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
ID-4: /var/log raw-size: 173.19 GiB size: 173.19 GiB (100.00%)
used: 133.83 GiB (77.3%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
ID-5: /var/tmp raw-size: 173.19 GiB size: 173.19 GiB (100.00%)
used: 133.83 GiB (77.3%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
Swap:
Kernel: swappiness: 100 (default 60) cache-pressure: 500 (default 100)
zswap: no
ID-1: swap-1 type: zram size: 7.5 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
ID-2: swap-2 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2
file: /swap/swapfile
Sensors:
System Temperatures: cpu: 67.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Processes: 309 Uptime: 9m wakeups: 0 Memory: total: 8 GiB
available: 7.54 GiB used: 2.9 GiB (38.5%) Init: systemd v: 255
default: graphical tool: systemctl Compilers: gcc: 13.2.1 alt: 12
clang: 16.0.6 Packages: 2223 pm: nix-default pkgs: 0 pm: nix-sys pkgs: 0
pm: nix-usr pkgs: 48 libs: 9 pm: pacman pkgs: 2175 libs: 562
tools: pamac,paru pm: flatpak pkgs: 0 Shell: Zsh v: 5.9 running-in: foot
inxi: 3.3.31
Garuda (2.6.23-1):
System install date: 2021-11-20
Last full system update: 2024-02-05
Is partially upgraded: No
Relevant software: timeshift NetworkManager mkinitcpio nvidia-dkms
Windows dual boot: Probably (Run as root to verify)
Failed units: